summaryrefslogtreecommitdiff
path: root/boot/sigvec.S
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1994-04-21 19:57:46 +0000
committerMichael I. Bushnell <mib@gnu.org>1994-04-21 19:57:46 +0000
commitab7525a628aff7d5afbce9b17398ba8e0bb9333d (patch)
treed592eb472f9d5f09351043efce85306f0391efba /boot/sigvec.S
parent2a14f161a85379ac4403f2a0d9b0d31ecad93e9f (diff)
entered into RCS
Diffstat (limited to 'boot/sigvec.S')
-rw-r--r--boot/sigvec.S19
1 files changed, 19 insertions, 0 deletions
diff --git a/boot/sigvec.S b/boot/sigvec.S
new file mode 100644
index 00000000..497cefe5
--- /dev/null
+++ b/boot/sigvec.S
@@ -0,0 +1,19 @@
+.globl _sigreturn
+_sigreturn:
+ movl $0x67,%eax
+ lcall $0x7,$0x0
+ ret
+
+.globl __sigreturn
+__sigreturn:
+ addl $0xc,%esp
+ call _sigreturn
+ ret
+
+.globl _sigvec
+_sigvec:
+ movl $0x6c,%eax
+ movl $__sigreturn,%edx
+ orl $0x80000000,%edx
+ lcall $0x7,$0x0
+ ret