diff options
author | Alexis211 <alexis211@gmail.com> | 2010-08-13 20:34:04 +0200 |
---|---|---|
committer | Alexis211 <alexis211@gmail.com> | 2010-08-13 20:34:04 +0200 |
commit | bea638adc3da8a10f77358542a9a6889d833fb33 (patch) | |
tree | a88241280f4175ecbcca7446b6a0156f48ae66b6 /src/kernel/core/sys.h | |
parent | a75acb568a301903f00d3230467de2a097cce0db (diff) | |
download | TCE-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.h | 2 |
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); |