aboutsummaryrefslogtreecommitdiff
path: root/src/core/scheduler.hpp
diff options
context:
space:
mode:
authorLoic Guegan <manzerbredes@mailbox.org>2021-05-02 18:54:11 +0200
committerLoic Guegan <manzerbredes@mailbox.org>2021-05-02 18:54:11 +0200
commit5c3e2d90b3efb6daecd5655c49d3c61b1f75fecc (patch)
treef13afddb50b2536b4ddc1ff7f061f040412f2889 /src/core/scheduler.hpp
parente59104ffb55abe522c82d658f1f285149cca2cb1 (diff)
Debug scheduler
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