From 806556468f0dfba40be1782f86e13f6231fc5ecd Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Tue, 10 Jun 2025 01:09:22 -0400 Subject: kernel/amd64: bus: Make MMIO_OFFSET same as HDDM Drivers may be invoked even while other processes are start up and therefore their MMIO mappings must be shared. Signed-off-by: Ian Moffett --- sys/include/arch/amd64/bus.h | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'sys') diff --git a/sys/include/arch/amd64/bus.h b/sys/include/arch/amd64/bus.h index 00cb3ba..25088b4 100644 --- a/sys/include/arch/amd64/bus.h +++ b/sys/include/arch/amd64/bus.h @@ -36,13 +36,7 @@ struct bus_resource; -/* - * Hyra assumes that the bootloader uses PDE[256] for some - * higher half mappings. To avoid conflicts with those mappings, - * this offset is used to start device memory at PDE[257]. This - * will give us more than enough space. - */ -#define MMIO_OFFSET (VM_HIGHER_HALF + 0x8000000000) +#define MMIO_OFFSET VM_HIGHER_HALF /* Resource signature size max */ #define RSIG_MAX 16 -- cgit v1.2.3