Refactor kernel calltrace.h header.

This commit is contained in:
Jonas 'Sortie' Termansen 2013-05-13 14:52:15 +02:00
parent 1bc470624f
commit dbe8dafaac
4 changed files with 8 additions and 7 deletions

View File

@ -23,7 +23,7 @@
*******************************************************************************/
#include <sortix/kernel/platform.h>
#include "calltrace.h"
#include <sortix/kernel/calltrace.h>
namespace Sortix {
namespace Calltrace {

View File

@ -17,13 +17,13 @@
You should have received a copy of the GNU General Public License along with
Sortix. If not, see <http://www.gnu.org/licenses/>.
calltrace.h
sortix/kernel/calltrace.h
Traverses the stack and prints the callstack, which aids debugging.
*******************************************************************************/
#ifndef SORTIX_CALLTRACE_H
#define SORTIX_CALLTRACE_H
#ifndef INCLUDE_SORTIX_KERNEL_CALLTRACE_H
#define INCLUDE_SORTIX_KERNEL_CALLTRACE_H
namespace Sortix {
namespace Calltrace {

View File

@ -28,13 +28,13 @@
#include <sortix/kernel/scheduler.h>
#include <sortix/kernel/signal.h>
#include <sortix/kernel/process.h>
#include <sortix/kernel/calltrace.h>
#include <assert.h>
#include <errno.h>
#include <string.h>
#include "x86-family/idt.h"
#include "calltrace.h"
#include "sound.h" // Hack for SIGSEGV

View File

@ -22,12 +22,13 @@
*******************************************************************************/
#include <string.h>
#include <sortix/kernel/platform.h>
#include <sortix/kernel/interrupt.h>
#include <string.h>
#include <sortix/kernel/log.h>
#include "calltrace.h"
#include <sortix/kernel/panic.h>
#include <sortix/kernel/calltrace.h>
namespace Sortix
{