[zion] Use a separate stack for PF and GP faults in the kernel.
This commit is contained in:
parent
259c64ef2a
commit
e3a425e274
6 changed files with 28 additions and 2 deletions
|
|
@ -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; }
|
||||
|
|
|
|||
|
|
@ -4,4 +4,6 @@
|
|||
|
||||
void InitGdt();
|
||||
|
||||
void SetIst1(uint64_t* ist1);
|
||||
|
||||
void SetRsp0(uint64_t rsp0);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue