Skip to content

Commit 5b03588

Browse files
drakenclimberpcmoore
authored andcommitted
arch: Add riscv64 support to arch-syscall-dump
This patch adds support for riscv64 to arch-syscall-dump.c Signed-off-by: Tom Hromatka <[email protected]> Signed-off-by: Paul Moore <[email protected]>
1 parent aa9589c commit 5b03588

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/arch-syscall-dump.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141
#include "arch-parisc.h"
4242
#include "arch-ppc.h"
4343
#include "arch-ppc64.h"
44+
#include "arch-riscv64.h"
4445
#include "arch-s390.h"
4546
#include "arch-s390x.h"
4647

@@ -127,6 +128,9 @@ int main(int argc, char *argv[])
127128
case SCMP_ARCH_PPC64LE:
128129
sys = ppc64_syscall_iterate(iter);
129130
break;
131+
case SCMP_ARCH_RISCV64:
132+
sys = riscv64_syscall_iterate(iter);
133+
break;
130134
case SCMP_ARCH_S390:
131135
sys = s390_syscall_iterate(iter);
132136
break;

0 commit comments

Comments
 (0)