This clarifies the address space layout by commenting on where APIC, IOAPIC and AMD IOMMU building regions end.
Signed-off-by: Eduard - Gabriel Munteanu eduard.munteanu@linux360.ro --- src/config.h | 9 +++++---- 1 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/src/config.h b/src/config.h index 0ba5723..6ab2071 100644 --- a/src/config.h +++ b/src/config.h @@ -169,11 +169,12 @@ #define BUILD_PCIPREFMEM_END 0xfec00000 /* IOAPIC is mapped at */ #endif
-#define BUILD_APIC_ADDR 0xfee00000 -#define BUILD_IOAPIC_ADDR 0xfec00000 +#define BUILD_IOAPIC_ADDR 0xfec00000 /* Ends at +0x100000. */
-#define BUILD_AMD_IOMMU_START 0xfed00000 -#define BUILD_AMD_IOMMU_END 0xfee00000 /* BUILD_APIC_ADDR */ +#define BUILD_AMD_IOMMU_START 0xfed00000 /* Can be safely relocated. */ +#define BUILD_AMD_IOMMU_END 0xfee00000 + +#define BUILD_APIC_ADDR 0xfee00000 /* Ends at +0x100000. */
#define BUILD_SMM_INIT_ADDR 0x38000 #define BUILD_SMM_ADDR 0xa8000