From a245ac6e35642d2a77dade8d09d729cbc1b96137 Mon Sep 17 00:00:00 2001 From: Ivan Baravy Date: Mon, 2 Mar 2020 04:25:00 +0000 Subject: [PATCH] uefi4kos: Increase the number of searched PCI buses. git-svn-id: svn://kolibrios.org@7731 a494cfbc-eb01-0410-851d-a64ba20cac60 --- kernel/trunk/boot/uefi4kos.asm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/kernel/trunk/boot/uefi4kos.asm b/kernel/trunk/boot/uefi4kos.asm index f55dcb95ed..3a843821e6 100644 --- a/kernel/trunk/boot/uefi4kos.asm +++ b/kernel/trunk/boot/uefi4kos.asm @@ -164,9 +164,9 @@ main: shl eax, 2 mov word [rdx + BOOT_LO.pitch], ax - mov byte [rdx + BOOT_LO.pci_data + 0], 1 - mov byte [rdx + BOOT_LO.pci_data + 1], 0 - mov byte [rdx + BOOT_LO.pci_data + 2], 0x10 + mov byte [rdx + BOOT_LO.pci_data + 0], 1 ; PCI access mechanism + mov byte [rdx + BOOT_LO.pci_data + 1], 8 ; last bus, don't know how to count them + mov byte [rdx + BOOT_LO.pci_data + 2], 0x10 ; PCI version mov byte [rdx + BOOT_LO.pci_data + 3], 0x02 mov dword [rdx + BOOT_LO.pci_data + 4], 0xe3