[zion] Use a separate stack for PF and GP faults in the kernel.

This commit is contained in:
Drew Galbraith 2023-08-01 23:11:12 -07:00
parent 259c64ef2a
commit e3a425e274
6 changed files with 28 additions and 2 deletions

View file

@ -93,4 +93,8 @@ void InitGdt() {
: "rax");
}
void SetIst1(uint64_t* ist1) {
gTaskStateSegment.ist1 = reinterpret_cast<uint64_t>(ist1);
}
void SetRsp0(uint64_t rsp0) { gTaskStateSegment.rsp0 = rsp0; }