summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--boot/syscall.S9
1 files changed, 5 insertions, 4 deletions
diff --git a/boot/syscall.S b/boot/syscall.S
index 1145c8c8..ab392c9e 100644
--- a/boot/syscall.S
+++ b/boot/syscall.S
@@ -19,13 +19,14 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
/* Written by Michael I. Bushnell. */
-#include <sysdep.h>
-
/* This does not handle errors */
-ENTRY(syscall)
+.text
+ .globl _syscall
+ .align 4
+_syscall:
pop %ecx
pop %eax
push %ecx
- .byte 0x9a, 0, 0, 0, 0, 7 0;
+ .byte 0x9a, 0, 0, 0, 0, 7, 0
ret