From 1d515a0c77b374d4cb4e26852e2114dabaf97e21 Mon Sep 17 00:00:00 2001 From: "Iliya Mihailov (Ghost)" Date: Mon, 23 Oct 2006 14:25:33 +0000 Subject: [PATCH] APM GDT limit fix 2 git-svn-id: svn://kolibrios.org@191 a494cfbc-eb01-0410-851d-a64ba20cac60 --- kernel/trunk/boot/bootcode.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/kernel/trunk/boot/bootcode.inc b/kernel/trunk/boot/bootcode.inc index b59ed3a454..b30f7d09af 100644 --- a/kernel/trunk/boot/bootcode.inc +++ b/kernel/trunk/boot/bootcode.inc @@ -59,17 +59,17 @@ os_data_l: ; --------------- APM --------------------- apm_code_32: - dw 0x0f ; limit 64kb + dw 0x10 ; limit 64kb db 0, 0, 0 dw 11010000b *256 +10011010b db 0x00 apm_code_16: - dw 0x0f + dw 0x10 db 0, 0, 0 dw 10010000b *256 +10011010b db 0x00 apm_data_16: - dw 0x0f + dw 0x10 db 0, 0, 0 dw 10010000b *256 +10010010b db 0x00