summaryrefslogtreecommitdiffstats
path: root/src/emu/syscall.h
blob: afd3e9d52004ad038109b054ea9ada587decab47 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
#ifndef _SYSCALL_H
#define _SYSCALL_H

/* calling convention:
 * - syscall number and params are passed on stack
 */

#define SYS_exit  0x00
#define SYS_print 0x01

void do_syscall(void);

#endif