diff options
author | Liav A <liavalb@gmail.com> | 2022-09-17 05:59:29 +0300 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2022-09-20 19:05:13 +0100 |
commit | b28202e35612e62b9b7a328273770477e25a0f52 (patch) | |
tree | 50f959c982f184b98f22b21a2dcd482478c9b344 /Kernel/Graphics/Bochs/Definitions.h | |
parent | 02a980ee54487cd3b09a3c4bc870d0b1b3bb7b51 (diff) | |
download | serenity-b28202e35612e62b9b7a328273770477e25a0f52.zip |
Kernel/PCI: Consider ACPI MCFG existence in IO probe test
We should aim to reliably determine if PCI hardware exists or not, and
we should consider the ACPI MCFG table in that test. Although it is
unusual to see an hardware setup where the PCI host bridge does not
respond to x86 IO instructions, it is expected to happen at least on the
QEMU microvm machine type as the host bridge only responds to memory
mapped IO requests. Therefore, we first test if ACPI is enabled, and we
try to use it to fetch the MCFG table. Later on we could also add FDT
parsing as part of the PCI IO test which would be useful for the QEMU
microvm machine type.
Diffstat (limited to 'Kernel/Graphics/Bochs/Definitions.h')
0 files changed, 0 insertions, 0 deletions