From aad04a2208fbde8db2c1a81d6057c1ac4edb390e Mon Sep 17 00:00:00 2001 From: Michal Idziorek Date: Wed, 3 Sep 2014 00:15:51 +0200 Subject: ACPI support ! --- boot/disk_load_16.asm | 2 +- boot/mbr.asm | 2 +- boot/mp.asm | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'boot') diff --git a/boot/disk_load_16.asm b/boot/disk_load_16.asm index e45b89a..fd05889 100644 --- a/boot/disk_load_16.asm +++ b/boot/disk_load_16.asm @@ -59,7 +59,7 @@ lba_adr: dw 0x10 ; size of packet ( 16 byte) - dw 52 ; number of sectors to read + dw 53 ; number of sectors to read dw 0x1000 ; target addr. dw 0 ; diff --git a/boot/mbr.asm b/boot/mbr.asm index ca851c3..8483705 100644 --- a/boot/mbr.asm +++ b/boot/mbr.asm @@ -109,7 +109,7 @@ boot_16: ; ; ;Load the KERNEL (52 sectors starting at sector 2) mov bx,KERNEL_OFFSET - mov dh, 52 ; for lba mode this is hardcoded anyway + mov dh, 53 ; for lba mode this is hardcoded anyway mov dl, [BOOT_DRIVE] call disk_load_16 diff --git a/boot/mp.asm b/boot/mp.asm index 6c794bc..497a0a8 100644 --- a/boot/mp.asm +++ b/boot/mp.asm @@ -34,7 +34,7 @@ init_pm: call boot_32_pm ;continue booting in 32-bit protected mode -boot_32_pm +boot_32_pm: mov eax,1 ; -- cgit v1.2.3