[FREELDR] Several changes regarding chainloading and Linux boot.
[reactos.git] / boot / freeldr / freeldr / arch / realmode / i386.S
index aaa261f..f76a38a 100644 (file)
@@ -8,7 +8,7 @@
 
 .code16
 
-/* fat helper code */
+/* FAT helper code */
 #include "fathelp.inc"
 
 .org 512
@@ -143,11 +143,10 @@ pm_entrypoint:
 CallbackTable:
     .word Int386
     .word Reboot
-    .word ChainLoadBiosBootSectorCode
+    .word Relocator16Boot
     .word PxeCallApi
     .word PnpBiosGetDeviceNodeCount
     .word PnpBiosGetDeviceNode
-    .word BootLinuxKernel
 
 
     /* 16-bit stack pointer */
@@ -194,16 +193,16 @@ gdtptr:
 
 /* Real-mode IDT pointer */
 rmode_idtptr:
-    .word HEX(3ff)      /* Limit */
+    .word HEX(3FF)      /* Limit */
     .long 0             /* Base Address */
 
 #include "int386.inc"
 #include "helpers.inc"
 #include "pxe.inc"
 #include "pnp.inc"
-#include "linux.inc"
 
 .org (FREELDR_PE_BASE - FREELDR_BASE - 1)
 .byte 0
 .endcode16
+
 END