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