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