2020 release
This commit is contained in:
commit
61348e8b07
86 changed files with 5127 additions and 0 deletions
15
am/include/arch/mips32-nemu.h
Normal file
15
am/include/arch/mips32-nemu.h
Normal file
|
@ -0,0 +1,15 @@
|
|||
#ifndef __ARCH_H__
|
||||
#define __ARCH_H__
|
||||
|
||||
struct Context {
|
||||
uintptr_t hi, gpr[32], epc, cause, lo, status;
|
||||
void *pdir;
|
||||
};
|
||||
|
||||
#define GPR1 gpr[2] // v0
|
||||
#define GPR2 gpr[0]
|
||||
#define GPR3 gpr[0]
|
||||
#define GPR4 gpr[0]
|
||||
#define GPRx gpr[0]
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue