openbsd-ports/sysutils/libretto-config/patches/patch-ae
millert 49d231255e Port of the Linux libapm. Allows modification of the libretto-specific
BIOS options like the toshiba windows app.  From the FreeBSD port (modified
to use i386_[gs]et_ioperm(2)).  CMOS mode also works.
2000-07-02 16:57:47 +00:00

28 lines
386 B
Plaintext

--- ../libapm.DIST/smi.S Thu May 7 10:12:51 1998
+++ smi.S Sat Jul 1 10:35:35 2000
@@ -1,6 +1,6 @@
- .text
- .globl smi
-smi:
+#include <machine/asm.h>
+
+ENTRY(smi)
pushl %ebp
movl %esp,%ebp
pushl %ebx
@@ -17,8 +17,7 @@
popl %ebp
ret
- .globl smi2
-smi2:
+ENTRY(smi2)
pushl %ebp
movl %esp,%ebp
pushl %ebx
@@ -35,4 +34,3 @@
movl %ebp,%esp
popl %ebp
ret
- .end