Fix previous mode detection by reading CS from the trap frame and sanitize segment restoration
This commit is contained in:
@@ -56,6 +56,7 @@
|
||||
#define TrapSegEs 330
|
||||
#define TrapSegFs 332
|
||||
#define TrapSegGs 334
|
||||
#define TrapSegCs 480
|
||||
#define TrapRsp 496
|
||||
#define TrapSegSs 504
|
||||
|
||||
|
||||
Reference in New Issue
Block a user