swissChili | 9b3584b | 2021-02-18 13:57:27 -0800 | [diff] [blame] | 1 | #pragma once |
2 | |||||
3 | #include "kint.h" | ||||
4 | |||||
swissChili | e5adca5 | 2021-06-16 21:00:31 -0700 | [diff] [blame] | 5 | /** |
6 | * Represents the full execution state before an interrupt. | ||||
7 | */ | ||||
swissChili | 9b3584b | 2021-02-18 13:57:27 -0800 | [diff] [blame] | 8 | struct registers |
9 | { | ||||
10 | uint ds; | ||||
11 | uint edi, esi, ebp, esp, ebx, edx, ecx, eax; | ||||
12 | uint interrupt_number, error_code; | ||||
13 | uint eip, cs, eflags, useresp, ss; | ||||
14 | }; |