]> Joshua Wise's Git repositories - netwatch.git/blobdiff - aseg-paging/entry.asm
Remove dead code from net.c.
[netwatch.git] / aseg-paging / entry.asm
index 03dd7c476a88ce934f2accd0e2c90ad9a72eda4e..151382ea81f1b3a783df99562b13c79a225aafed 100644 (file)
@@ -22,6 +22,13 @@ continue:
        mov gs, ax
        mov ss, ax
        mov esp, [dataptr]              ; Load stack pointer.
+
+       ; Before we do anything, turn off alignment checking.
+       pushf
+       pop eax
+       and eax, ~(1 << 18)
+       push eax
+       popf
        
        mov eax, [dataptr+4]            ; Load target jump address
        call eax                        ; then jump into C.
This page took 0.027156 seconds and 4 git commands to generate.