Patchwork [3/3] Clarify address space layout.

login
register
mail settings
Submitter Eduard - Gabriel Munteanu
Date Feb. 3, 2011, 11:24 p.m.
Message ID <f346e389ee9347168dfceff5fab4b66786528bff.1296774883.git.eduard.munteanu@linux360.ro>
Download mbox | patch
Permalink /patch/81744/
State New
Headers show

Comments

Eduard - Gabriel Munteanu - Feb. 3, 2011, 11:24 p.m.
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(-)

Patch

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