ack/mach/vax4/libbsd4_1a/getpid.s
1986-12-12 12:49:50 +00:00

16 lines
157 B
ArmAsm

.globl _getpid, _getppid
.set getpid,20
.align 1
_getpid:
.word 0x0000
chmk $getpid
ret
.align 1
_getppid:
.word 0x0000
chmk $getpid
movl r1,r0
ret