OpenBSD64 bootcheck

This commit is contained in:
Vladimir 'phcoder' Serbinenko 2010-08-28 15:05:26 +02:00
parent 4fc95be2e7
commit 8e4ac346e8
2 changed files with 19 additions and 2 deletions

View file

@ -20,7 +20,13 @@
#define FLAGS_NONE 0
#define SYSCALL_OPEN 5
#define SYSCALL_WRITE 4
#ifdef TARGET_NETBSD
#define SYSCALL_RESET 208
#elif defined (TARGET_OPENBSD)
#define SYSCALL_RESET 55
#else
#error unknown target
#endif
#define SYSCALL_EXIT 1
#define SYSCALL_ARCH 165
#define SYSCALL_INT 0x80