1 package org.xwt.mips; 2 public interface Syscalls { 3 public static final int SYS_null = 0; 4 public static final int SYS_exit = 1; 5 public static final int SYS_pause = 2; 6 public static final int SYS_open = 3; 7 public static final int SYS_close = 4; 8 public static final int SYS_read = 5; 9 public static final int SYS_write = 6; 10 public static final int SYS_sbrk = 7; 11 public static final int SYS_fstat = 8; 12 public static final int SYS_isatty = 9; 13 public static final int SYS_seek = 10; 14 public static final int SYS_kill = 11; 15 public static final int SYS_getpid = 12; 16 } 17