Fix previous mode detection by reading CS from the trap frame and sanitize segment restoration

This commit is contained in:
2026-03-31 20:38:21 +02:00
parent 494b615dc2
commit 620fc24cd2
2 changed files with 2 additions and 6 deletions

View File

@@ -56,6 +56,7 @@
#define TrapSegEs 330
#define TrapSegFs 332
#define TrapSegGs 334
#define TrapSegCs 480
#define TrapRsp 496
#define TrapSegSs 504