소스 검색

No system-calls from libem

ceriel 32 년 전
부모
커밋
a9a491db4b
5개의 변경된 파일7개의 추가작업 그리고 8개의 파일을 삭제
  1. 0 1
      mach/i386/libem/LIST
  2. 2 2
      mach/i386/libem/fat.s
  3. 2 2
      mach/i386/libem/mon.s
  4. 1 1
      mach/i386/libem/strhp.s
  5. 2 2
      mach/i386/libem/trp.s

+ 0 - 1
mach/i386/libem/LIST

@@ -39,7 +39,6 @@ set.s
 sli.s
 sri.s
 sti.s
-stop.s
 strhp.s
 trp.s
 unknown.s

+ 2 - 2
mach/i386/libem/fat.s

@@ -4,7 +4,7 @@
 
 .fat:
 .extern .trp
-.extern .stop
+.extern EXIT
 	call    .trp
-	call    .stop
+	jmp     EXIT
 	! no return

+ 2 - 2
mach/i386/libem/mon.s

@@ -3,5 +3,5 @@
 .define .mon
 
 .mon:
-.extern .stop
-	call    .stop
+.extern EXIT
+	jmp    EXIT

+ 1 - 1
mach/i386/libem/strhp.s

@@ -13,7 +13,7 @@
 	and	eax,~0777
 	push	ebx
 	push	eax
-	call	__brk
+	call	BRK
 	pop	ecx
 	pop	ebx
 	cmp	eax,-1

+ 2 - 2
mach/i386/libem/trp.s

@@ -1,7 +1,7 @@
 .sect .text; .sect .rom; .sect .data; .sect .bss
 .sect .text
 .define .trp
-.extern .trppc, .stop
+.extern .trppc, EXIT
 
 		! eax is trap number
 .trp:
@@ -15,4 +15,4 @@
 	ret
 2:
 	push	eax
-	call    .stop
+	jmp	EXIT