Browse Source

No system-calls from libem

ceriel 32 years ago
parent
commit
4175c4a20b

+ 1 - 1
mach/m68020/libem/dia.s

@@ -112,7 +112,7 @@ putchar:
 	move.l	#1, -(sp)
 	pea	(11,sp)
 	move.l	#1, -(sp)
-	jsr	(__write)
+	jsr	(WRITE)
 	lea	(12, sp), sp
 	rts
 .align 2

+ 1 - 1
mach/m68020/libem/fat.s

@@ -7,5 +7,5 @@
 	.sect .text
 .fatal:
 	jsr	(.trp)
-	jmp	(__exit)
+	jmp	(EXIT)
 .align 2

+ 1 - 1
mach/m68020/libem/mon.s

@@ -10,7 +10,7 @@
 	pea	(fmt)
 	jsr	(.diagnos)
 	add.l	#8, sp
-	jmp	(__exit)
+	jmp	(EXIT)
 
 .sect .data
 fmt:	.asciz "system call %d not implemented\n"

+ 1 - 1
mach/m68020/libem/shp.s

@@ -16,7 +16,7 @@ EHEAP=17
 	move.l	a0,-(sp)
 	move.l	d1, -(sp)
 	move.l	d1,(.limhp)
-	jsr	(__brk)		! allocate 1K bytes of extra storage
+	jsr	(BRK)		! allocate 1K bytes of extra storage
 	add.l	#4,sp
 	move.l	(sp)+,a0
 	tst.l	d0

+ 1 - 1
mach/m68020/libem/trp.s

@@ -46,5 +46,5 @@ fmt:	.asciz "%s\n"
 	jsr	(.diagnos)
 	lea	(4, sp), sp
 	illegal
-	jsr	(__exit)
+	jmp	(EXIT)
 .align 2