[Zion] Add a way to unwind the stack and recover from user-space faults.
This commit is contained in:
parent
8ceab2ad23
commit
941d7c8d59
6 changed files with 63 additions and 0 deletions
7
zion/common/stack_unwind.h
Normal file
7
zion/common/stack_unwind.h
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
#pragma once
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
const uint64_t kStackBaseSentinel = 0xABBACDCD'12345678;
|
||||
|
||||
void StackUnwind(uint64_t rbp);
|
||||
Loading…
Add table
Add a link
Reference in a new issue