[Zion] Add a way to unwind the stack and recover from user-space faults.

This commit is contained in:
Drew Galbraith 2023-11-22 18:25:08 -08:00
parent 8ceab2ad23
commit 941d7c8d59
6 changed files with 63 additions and 0 deletions

View file

@ -0,0 +1,7 @@
#pragma once
#include <stdint.h>
const uint64_t kStackBaseSentinel = 0xABBACDCD'12345678;
void StackUnwind(uint64_t rbp);