aboutsummaryrefslogtreecommitdiff
path: root/src/core/scheduler.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/scheduler.hpp')
-rw-r--r--src/core/scheduler.hpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/core/scheduler.hpp b/src/core/scheduler.hpp
index 17b7f96..30fcf42 100644
--- a/src/core/scheduler.hpp
+++ b/src/core/scheduler.hpp
@@ -11,14 +11,14 @@
// DO NOT CHANGE THE FOLLOWING STRUCTURE WITHOUT CONCIDERING UPDATING
// THE SWITCH FUNCTION INTO scheduler_asm.S
typedef struct {
- u64 rax, rbx, rcx, rdx;
- u64 cs, rip;
- u64 ss, rsp, rbp;
- u64 rsi, rdi;
- u64 ds, es, fs, gs;
- u64 eflags;
- u64 rsp0;
- u64 r8,r9,r10,r11,r12,r13,r14,r15;
+ u64 rax, rbx, rcx, rdx; // 8 16 24 32
+ u64 cs, rip; // 40 48
+ u64 ss, rsp, rbp; // 56 64 72
+ u64 rsi, rdi; // 80 88
+ u64 ds, es, fs, gs; // 96 104 112 120
+ u64 eflags; // 128
+ u64 rsp0; // 136
+ u64 r8,r9,r10,r11,r12,r13,r14,r15; // 144 152 160 168 176 184 192 200
} __attribute__((packed)) REGS;
// DO NOT CHANGE THE FOLLOWING STRUCTURE WITHOUT CONCIDERING UPDATING