diff options
author | Ian Moffett <ian@osmora.org> | 2025-06-10 01:09:22 -0400 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2025-06-10 01:09:22 -0400 |
commit | 806556468f0dfba40be1782f86e13f6231fc5ecd (patch) | |
tree | ef8c96754a931a3f809ce19b95ce603a7c10b0ba /sys/include | |
parent | 237b7ac74c5c5533830197c8d588a3458a1774ad (diff) |
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 <ian@osmora.org>
Diffstat (limited to 'sys/include')
-rw-r--r-- | sys/include/arch/amd64/bus.h | 8 |
1 files changed, 1 insertions, 7 deletions
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 |