diff options
| author | Richard Miller <millerresearch@gmail.com> | 2020-11-09 18:11:51 +0000 |
|---|---|---|
| committer | Charles Forsyth <charles.forsyth@gmail.com> | 2020-11-09 18:11:51 +0000 |
| commit | ec7a4b742467a19160dfa5322e3e0880e4abed48 (patch) | |
| tree | 523d2f81946b1e0abe4afddf1d2fce7e1525b7d7 /utils/libmach/uregj.h | |
| parent | ed97654bd7a11d480b44505c8300d06b42e5fefe (diff) | |
| parent | 6e84dc968bc4eaf047fbefcba2f670940718dda8 (diff) | |
Merged in millerresearch/inferno-riscv/utils-riscv (pull request #8)
Add toolchain and libmach support for riscv and riscv64
Approved-by: Charles Forsyth <charles.forsyth@gmail.com>
Diffstat (limited to 'utils/libmach/uregj.h')
| -rw-r--r-- | utils/libmach/uregj.h | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/utils/libmach/uregj.h b/utils/libmach/uregj.h new file mode 100644 index 00000000..593da792 --- /dev/null +++ b/utils/libmach/uregj.h @@ -0,0 +1,39 @@ +struct Ureg +{ + u64int pc; + u64int r1; + union{ + u64int r2; + u64int sp; + u64int usp; + }; + u64int r3; + u64int r4; + u64int r5; + u64int r6; + u64int r7; + u64int r8; + u64int r9; + u64int r10; + u64int r11; + u64int r12; + u64int r13; + u64int r14; + u64int r15; + u64int r16; + u64int r17; + u64int r18; + u64int r19; + u64int r20; + u64int r21; + u64int r22; + u64int r23; + u64int r24; + u64int r25; + u64int r26; + u64int r27; + u64int r28; + u64int r29; + u64int r30; + u64int r31; +}; |
