Justin C. Miller
972a35bdef
[kernel] Add get_grandcaller debug function
...
This should probably be replaced with a function taking the number of
steps back, but this is quick and useful.
2021-07-15 23:34:35 -07:00
d63a30728c
[kernel] Add get_caller function
...
Added a function to get the callsite of the current function invocation.
2020-08-22 16:34:58 -07:00
Justin C. Miller
bf8286d15f
Improve debugging functions
...
- More sensible stack tracer, in C++ (no symbols yet)
- Was forgetting to add null frame to new kernel stacks
- __kernel_assert was using an old vector
- A GP fault will only print its associated table entry
2019-03-15 00:47:46 -07:00
Justin C. Miller
97e8f2c69a
Add get_gsbase()
2019-03-13 22:49:20 -07:00
Justin C. Miller
0c8bcb2400
Add get_rip/get_rsp helpers
2018-05-21 09:07:53 -07:00
Justin C. Miller
34156c55ae
Add simple stack trace to exception handler
2018-05-05 17:12:02 -07:00
Justin C. Miller
2050b89334
Move src/modules/main -> src/kernel
2018-04-17 09:45:05 -07:00