From 42987a7b2f33aac7de697dae1c6eddc87c7c5e26 Mon Sep 17 00:00:00 2001 From: Adrian-Ken Rueegsegger Date: Wed, 18 Mar 2015 00:01:06 +0100 Subject: [PATCH] hw_x86_64: Add mapping for I/O APIC MMIO to initial pt Make the I/O APIC accessible via its MMIO region by adding a 2 MB large page mapping at 0xfec00000 with memory type UC. --- repos/base-hw/src/core/spec/x86_64/kernel/crt0.s | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/repos/base-hw/src/core/spec/x86_64/kernel/crt0.s b/repos/base-hw/src/core/spec/x86_64/kernel/crt0.s index c5348a378..517ba0058 100644 --- a/repos/base-hw/src/core/spec/x86_64/kernel/crt0.s +++ b/repos/base-hw/src/core/spec/x86_64/kernel/crt0.s @@ -141,6 +141,7 @@ .p2align MIN_PAGE_SIZE_LOG2 _kernel_pd_503: - .fill 503, 8, 0x0 + .fill 502, 8, 0x0 + .quad 0xfec0019f .quad 0xfee0019f .fill 8, 8, 0x0