fix: thread switch gets back into the isr routine but iret does not return to the correct frame

This commit is contained in:
0x35c
2025-11-07 16:23:30 +01:00
parent d1364f5c1f
commit a3a226ad95
4 changed files with 18 additions and 22 deletions

View File

@ -14,8 +14,8 @@ typedef enum {
} state_t;
struct tcb {
uint8_t *esp;
uint8_t *esp0;
uint32_t *esp;
uint32_t *esp0;
uint16_t tid;
state_t state;
struct pcb *process;