]> git.lizzy.rs Git - plan9front.git/blobdiff - sys/src/9/pc/apmjump.s
kernel: cleanup the software mouse cursor mess
[plan9front.git] / sys / src / 9 / pc / apmjump.s
old mode 100755 (executable)
new mode 100644 (file)
index 6dbd19d..e696bcf
@@ -9,19 +9,9 @@
 
 #define SSOVERRIDE     BYTE $0x36
 #define CSOVERRIDE     BYTE $0x2E
-#define RETF           BYTE $0xCB
 
 GLOBL  apmjumpstruct+0(SB), $8
 
-TEXT fortytwo(SB), $0
-       MOVL    $42, AX
-       RETF
-
-TEXT getcs(SB), $0
-       PUSHL   CS
-       POPL    AX
-       RET
-
 TEXT apmfarcall(SB), $0
        /*
         * We call push and pop ourselves.
@@ -52,6 +42,7 @@ TEXT apmfarcall(SB), $0
         * paranoia: zero the segments, since it's the
         * BIOS's responsibility to initialize them.
         * (trick picked up from Linux driver).
+        */
        PUSHL   DX
        XORL    DX, DX
        PUSHL   DX
@@ -63,10 +54,6 @@ TEXT apmfarcall(SB), $0
        PUSHL   DX
        POPL    GS
        POPL    DX
-        */
-
-       PUSHL   $APMDSEG
-       POPL    DS
 
        /*
         * The actual call.