Rev 1507 | Rev 1551 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1507 | Rev 1508 | ||
---|---|---|---|
Line 26... | Line 26... | ||
26 | ; 2) direct HT-detection (no ACPI or BIOS service used) |
26 | ; 2) direct HT-detection (no ACPI or BIOS service used) |
27 | ; 3) Only AMD/HT processors currently supported |
27 | ; 3) Only AMD/HT processors currently supported |
28 | ; |
28 | ; |
29 | ;*************************************************************************** |
29 | ;*************************************************************************** |
Line 30... | Line 30... | ||
30 | 30 | ||
31 | mmio_pcie_cfg_addr dd 0x0 ; intel pcie space may be defined here |
31 | mmio_pcie_cfg_addr dd 0x00000000 ; pcie space may be defined here |
Line 32... | Line 32... | ||
32 | mmio_pcie_cfg_lim dd 0x0 ; upper pcie space address |
32 | mmio_pcie_cfg_lim dd 0x000FFFFF ; upper pcie space address |
Line 33... | Line 33... | ||
33 | 33 | ||
34 | - | ||
35 | align 4 |
34 | |
36 | 35 | align 4 |
|
37 | pci_ext_config: |
36 | |
38 | 37 | pci_ext_config: |
|
39 | mov ebx, [mmio_pcie_cfg_addr] |
38 | mov ebx, [mmio_pcie_cfg_addr] |
Line 97... | Line 96... | ||
97 | jmp @b |
96 | jmp @b |
Line 98... | Line 97... | ||
98 | 97 | ||
Line 99... | Line 98... | ||
99 | .pcie_cfg_mapped: |
98 | .pcie_cfg_mapped: |
100 | 99 | ||
101 | ; -- glad to have the extended PCIe config field found |
100 | ; -- glad to have the extended PCIe config field found |
102 | ; mov esi, boot_pcie_ok |
101 | mov esi, boot_pcie_ok |
Line 103... | Line 102... | ||
103 | ; call boot_log |
102 | call boot_log |
Line 104... | Line 103... | ||
104 | ret ; <<<<<<<<<<< OK >>>>>>>>>>> |
103 | ret ; <<<<<<<<<<< OK >>>>>>>>>>> |
Line 110... | Line 109... | ||
110 | mov [mmio_pcie_cfg_lim], eax |
109 | mov [mmio_pcie_cfg_lim], eax |
111 | add bl, 12 |
110 | add bl, 12 |
112 | cmp bl, 0xC0 ; MMIO regs lay below this offset |
111 | cmp bl, 0xC0 ; MMIO regs lay below this offset |
113 | jb .check_HT_mmio |
112 | jb .check_HT_mmio |
114 | .pcie_failed: |
113 | .pcie_failed: |
115 | ; mov esi, boot_pcie_fail |
114 | mov esi, boot_pcie_fail |
116 | ; call boot_log |
115 | call boot_log |
117 | ret ; <<<<<<<<< FAILURE >>>>>>>>>><><<><<<><<<<><<<<<><<<<<<><<<<<<<><<<<<<<<>><><<><<<><<<<><<<<<><<<<<<><<<<<<<><<<<<<<<><<<<<<<<<><<<<<<<<<<> |
116 | ret ; <<<<<<<<< FAILURE >>>>>>>>>><><<><<<><<<<><<<<<><<<<<<><<<<<<<><<<<<<<<>><><<><<<><<<<><<<<<><<<<<<><<<<<<<><<<<<<<<><<<<<<<<<><<<<<<<<<<> |