From 64c3c758d54bff84217ca939d69428b033e97acc Mon Sep 17 00:00:00 2001 From: CleverMouse Date: Wed, 8 Jun 2011 10:50:00 +0000 Subject: [PATCH] fix of r1941 git-svn-id: svn://kolibrios.org@1949 a494cfbc-eb01-0410-851d-a64ba20cac60 --- kernel/trunk/bus/pci/pci32.inc | 6 +++--- kernel/trunk/kernel.asm | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/kernel/trunk/bus/pci/pci32.inc b/kernel/trunk/bus/pci/pci32.inc index d639c89c4b..e67afcea92 100644 --- a/kernel/trunk/bus/pci/pci32.inc +++ b/kernel/trunk/bus/pci/pci32.inc @@ -569,9 +569,9 @@ sys_pcibios: cmp ebp, 1 ; PCI_FUNCTION_ID jnz .not_PCI_BIOS_PRESENT mov edx, 'PCI ' - mov al, [OS_BASE+0x2F0000 + 0x9020] - mov bx, [OS_BASE+0x2F0000 + 0x9022] - mov cl, [OS_BASE+0x2F0000 + 0x9021] + mov al, [BOOT_VAR + 0x9020] + mov bx, [BOOT_VAR + 0x9022] + mov cl, [BOOT_VAR + 0x9021] xor ah, ah jmp .return_abcd diff --git a/kernel/trunk/kernel.asm b/kernel/trunk/kernel.asm index 12992e94d2..aaf29e3e8d 100644 --- a/kernel/trunk/kernel.asm +++ b/kernel/trunk/kernel.asm @@ -5121,7 +5121,7 @@ yes_shutdown_param: mov ecx,1000 rep movsb - mov esi,OS_BASE+0x2F0000 ; restore 0x0 - 0xffff + mov esi, BOOT_VAR ; restore 0x0 - 0xffff mov edi, OS_BASE mov ecx,0x10000/4 cld