2004-01-31 20:35:52 -05:00
|
|
|
$OpenBSD: patch-smi_S,v 1.1 2004/02/01 01:35:52 millert Exp $
|
|
|
|
--- smi.S.orig Thu May 7 10:12:51 1998
|
|
|
|
+++ smi.S Sat Jan 31 18:11:24 2004
|
2000-07-02 12:57:47 -04:00
|
|
|
@@ -1,6 +1,6 @@
|
|
|
|
- .text
|
|
|
|
- .globl smi
|
|
|
|
-smi:
|
|
|
|
+#include <machine/asm.h>
|
|
|
|
+
|
|
|
|
+ENTRY(smi)
|
|
|
|
pushl %ebp
|
|
|
|
movl %esp,%ebp
|
|
|
|
pushl %ebx
|
2004-01-31 20:35:52 -05:00
|
|
|
@@ -17,8 +17,7 @@ smi:
|
2000-07-02 12:57:47 -04:00
|
|
|
popl %ebp
|
|
|
|
ret
|
|
|
|
|
|
|
|
- .globl smi2
|
|
|
|
-smi2:
|
|
|
|
+ENTRY(smi2)
|
|
|
|
pushl %ebp
|
|
|
|
movl %esp,%ebp
|
|
|
|
pushl %ebx
|
2004-01-31 20:35:52 -05:00
|
|
|
@@ -35,4 +34,3 @@ smi2:
|
2000-07-02 12:57:47 -04:00
|
|
|
movl %ebp,%esp
|
|
|
|
popl %ebp
|
|
|
|
ret
|
|
|
|
- .end
|