fix: thread switch gets back into the isr routine but iret does not return to the correct frame
This commit is contained in:
@ -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;
|
||||
|
||||
Reference in New Issue
Block a user