2020 release
This commit is contained in:
commit
61348e8b07
86 changed files with 5127 additions and 0 deletions
17
am/include/arch/x86-qemu.h
Normal file
17
am/include/arch/x86-qemu.h
Normal file
|
@ -0,0 +1,17 @@
|
|||
#ifndef ARCH_H__
|
||||
#define ARCH_H__
|
||||
|
||||
struct Context {
|
||||
void *cr3;
|
||||
uint32_t ds, eax, ebx, ecx, edx,
|
||||
esp0, esi, edi, ebp,
|
||||
eip, cs, eflags, esp, ss3;
|
||||
};
|
||||
|
||||
#define GPR1 eax
|
||||
#define GPR2 ebx
|
||||
#define GPR3 ecx
|
||||
#define GPR4 edx
|
||||
#define GPRx eax
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue