Added entry points for ANSI C
This commit is contained in:
10
mach/pmds/libsys/_getpid.s
Normal file
10
mach/pmds/libsys/_getpid.s
Normal file
@@ -0,0 +1,10 @@
|
||||
.define __getpid
|
||||
.sect .text
|
||||
.sect .rom
|
||||
.sect .data
|
||||
.sect .bss
|
||||
.sect .text
|
||||
.extern __getpid
|
||||
__getpid: trap #0
|
||||
.data2 0x14
|
||||
rts
|
||||
Reference in New Issue
Block a user