Syscalls working as expected

This commit is contained in:
Alex
2022-11-15 15:09:52 +02:00
parent 5dd496a73f
commit c2628019b7
10 changed files with 61 additions and 53 deletions

View File

@ -312,11 +312,6 @@ namespace CPU
typedef struct TrapFrame
{
// uint32_t gs; // General-purpose Segment
// uint32_t fs; // General-purpose Segment
// uint32_t es; // Extra Segment (used for string operations)
uint32_t ds; // Data Segment
uint32_t ebp; // Base Pointer (meant for stack frames)
uint32_t edi; // Destination index for string operations
uint32_t esi; // Source index for string operations
@ -1396,11 +1391,6 @@ namespace CPU
typedef struct TrapFrame
{
// uint64_t gs; // General-purpose Segment
// uint64_t fs; // General-purpose Segment
// uint64_t es; // Extra Segment (used for string operations)
uint64_t ds; // Data Segment
uint64_t r15; // General purpose
uint64_t r14; // General purpose
uint64_t r13; // General purpose