acpi: Implement MCFG for AArch64

Added the final PCI bus number in MCFG table. This field is mandatory on
AArch64. On X86 it is optional.

Signed-off-by: Michael Zhao <michael.zhao@arm.com>
This commit is contained in:
Michael Zhao 2021-02-04 21:02:44 +08:00 committed by Sebastien Boeuf
parent e1ef141112
commit 7bfb51489b

View File

@ -169,7 +169,7 @@ fn create_mcfg_table() -> Sdt {
base_address: arch::layout::PCI_MMCONFIG_START.0,
segment: 0,
start: 0,
end: 0,
end: ((arch::layout::PCI_MMCONFIG_SIZE - 1) >> 20) as u8,
..Default::default()
});
mcfg