mirror of
https://github.com/ringtailsoftware/uvm32.git
synced 2026-06-05 22:43:39 +00:00
Test parsing of syscall args, and responses to invalid behaviour
This commit is contained in:
parent
46b6d1efba
commit
9d9e7542fc
5 changed files with 301 additions and 0 deletions
16
test/syscall_args/shared.h
Normal file
16
test/syscall_args/shared.h
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
#define SYSCALL_BASE 0x200
|
||||
|
||||
|
||||
#define SYSCALL_A_DATA0 "Hello\033" // non-printing char
|
||||
#define SYSCALL_A_DATA1 "" // empty string
|
||||
|
||||
#define SYSCALL_PICKTEST SYSCALL_BASE+0
|
||||
#define SYSCALL_A SYSCALL_BASE+1
|
||||
#define SYSCALL_B SYSCALL_BASE+2
|
||||
#define SYSCALL_C SYSCALL_BASE+3
|
||||
#define SYSCALL_D SYSCALL_BASE+4
|
||||
#define SYSCALL_E SYSCALL_BASE+5
|
||||
#define SYSCALL_F SYSCALL_BASE+6
|
||||
#define SYSCALL_G SYSCALL_BASE+7
|
||||
#define SYSCALL_H SYSCALL_BASE+8
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue