9b37d1bfaa
Add cons_puts for cleaner output.
22 lines
291 B
ArmAsm
22 lines
291 B
ArmAsm
#include "syscall.h"
|
|
#include "traps.h"
|
|
|
|
#define STUB(name) \
|
|
.globl name; \
|
|
name: \
|
|
movl $SYS_ ## name, %eax; \
|
|
int $T_SYSCALL; \
|
|
ret
|
|
|
|
STUB(fork)
|
|
STUB(exit)
|
|
STUB(wait)
|
|
STUB(cons_putc)
|
|
STUB(pipe)
|
|
STUB(read)
|
|
STUB(write)
|
|
STUB(close)
|
|
STUB(block)
|
|
STUB(kill)
|
|
STUB(panic)
|
|
STUB(cons_puts)
|