summaryrefslogtreecommitdiff
path: root/boot
diff options
context:
space:
mode:
authorMichal Idziorek <m.i@gmx.at>2014-09-03 00:15:51 +0200
committerMichal Idziorek <m.i@gmx.at>2014-09-03 00:15:51 +0200
commitaad04a2208fbde8db2c1a81d6057c1ac4edb390e (patch)
tree87f3b47c5f85d6c7c5921e799571b42906d0eb0a /boot
parent1a3a3a20773a5664c653a8aebcd10d288962285b (diff)
ACPI support !
Diffstat (limited to 'boot')
-rw-r--r--boot/disk_load_16.asm2
-rw-r--r--boot/mbr.asm2
-rw-r--r--boot/mp.asm2
3 files changed, 3 insertions, 3 deletions
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
;