summaryrefslogtreecommitdiff
path: root/src/kernel/core/sys.h
diff options
context:
space:
mode:
authorAlexis211 <alexis211@gmail.com>2010-08-13 20:34:04 +0200
committerAlexis211 <alexis211@gmail.com>2010-08-13 20:34:04 +0200
commitbea638adc3da8a10f77358542a9a6889d833fb33 (patch)
treea88241280f4175ecbcca7446b6a0156f48ae66b6 /src/kernel/core/sys.h
parenta75acb568a301903f00d3230467de2a097cce0db (diff)
downloadTCE-bea638adc3da8a10f77358542a9a6889d833fb33.tar.gz
TCE-bea638adc3da8a10f77358542a9a6889d833fb33.zip
Some changes to stack tracing.
Diffstat (limited to 'src/kernel/core/sys.h')
-rw-r--r--src/kernel/core/sys.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/kernel/core/sys.h b/src/kernel/core/sys.h
index f147922..f429b44 100644
--- a/src/kernel/core/sys.h
+++ b/src/kernel/core/sys.h
@@ -8,6 +8,8 @@ void outw(uint16_t port, uint16_t value);
uint8_t inb(uint16_t port);
uint16_t inw(uint16_t port);
+void stack_trace(size_t bp);
+
#define PANIC(s) panic(s, __FILE__, __LINE__);
#define ASSERT(s) { if (!(s)) panic_assert(#s, __FILE__, __LINE__); }
void panic(char* message, char* file, int line);