diff options
| author | Valery Ushakov <uwe@stderr.spb.ru> | 2020-11-10 01:01:06 +0300 |
|---|---|---|
| committer | Valery Ushakov <uwe@stderr.spb.ru> | 2020-11-10 01:01:06 +0300 |
| commit | a93f6c888f6d530420fbb54e2f7fa4572cdc5208 (patch) | |
| tree | cb1afd76dc6298465dc32e7cacf244c2c02c9700 /utils/libmach/setmach.c | |
| parent | 7828d5d2aa2aeba1588dba190fd80dcab95d982b (diff) | |
| parent | ff5ab8e7bad9f4c04b5d06dbc4290fe0f43c4467 (diff) | |
Merged inferno-os/inferno-os into master
Diffstat (limited to 'utils/libmach/setmach.c')
| -rw-r--r-- | utils/libmach/setmach.c | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/utils/libmach/setmach.c b/utils/libmach/setmach.c index 7247881c..8bfd3c18 100644 --- a/utils/libmach/setmach.c +++ b/utils/libmach/setmach.c @@ -16,9 +16,9 @@ struct machtab }; extern Mach mmips, msparc, mi386, mamd64, - marm, mmips2be, mmips2le, mpower, mpower64; + marm, mmips2be, mmips2le, mpower, mpower64, mriscv, mriscv64; extern Machdata mipsmach, sparcmach, i386mach, - armmach, mipsmach2le, powermach; + armmach, mipsmach2le, powermach, riscvmach, riscv64mach; /* * machine selection table. machines with native disassemblers should @@ -99,6 +99,18 @@ Machtab machines[] = APOWER64, &mpower64, &powermach, }, + { "riscv", + FRISCV, + FRISCVB, + ARISCV, + &mriscv, + &riscvmach, }, + { "riscv64", + FRISCV64, + FRISCV64B, + ARISCV64, + &mriscv64, + &riscv64mach, }, { 0 }, /*the terminator*/ }; |
