diff options
Diffstat (limited to 'arch/x86_64/cpu.h')
-rw-r--r-- | arch/x86_64/cpu.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/x86_64/cpu.h b/arch/x86_64/cpu.h new file mode 100644 index 0000000..942c8d9 --- /dev/null +++ b/arch/x86_64/cpu.h @@ -0,0 +1,13 @@ +#ifndef ARCH_x86_64_CPU_H +#define ARCH_x86_64_CPU_H 1 + +#include <stdint.h> + +struct Registers +{ + uint64_t r15, r14, r13, r12, r11, r10, r9, r8; + uint64_t bp, di, si, dx, cx, bx, ax; + uint64_t ip, cs, flags, sp, ss; +}; + +#endif |