Rework trap handling assembly code
All checks were successful
Builds / ExectOS (i686) (push) Successful in 32s
Builds / ExectOS (amd64) (push) Successful in 32s

This commit is contained in:
2024-04-23 15:07:08 +02:00
parent a36c02fde8
commit 22693a48d3
6 changed files with 246 additions and 70 deletions

View File

@@ -382,14 +382,15 @@ typedef struct _KSWITCH_FRAME
/* Trap frame definition */
typedef struct _KTRAP_FRAME
{
ULONG PreviousMode;
ULONG Cr2;
ULONG Cr3;
ULONG Dr0;
ULONG Dr1;
ULONG Dr2;
ULONG Dr3;
ULONG Dr6;
ULONG Dr7;
ULONG Cr2;
ULONG Cr3;
USHORT SegDs;
USHORT SegEs;
USHORT SegFs;
@@ -404,7 +405,7 @@ typedef struct _KTRAP_FRAME
ULONG Vector;
ULONG ErrorCode;
ULONG Eip;
ULONG Cs;
ULONG SegCs;
ULONG Flags;
ULONG Esp;
ULONG SegSs;