Skip to content
Snippets Groups Projects
Commit 7a93479e authored by Simon Shields's avatar Simon Shields
Browse files

ARM: add KDEV_BASE for aarch32 and aarch64

KDEV_BASE is the first address that can be used for mapping devices.
This will be used by hardware_gen to auto-generate the kernel_devices
table.
parent eb857ec7
No related branches found
No related tags found
No related merge requests found
......@@ -31,6 +31,7 @@
#else
#define PPTR_TOP 0xfff00000
#endif /* CONFIG_BENCHMARK_USE_KERNEL_LOG_BUFFER */
#define KDEV_BASE 0xfff00000
#define PADDR_TOP (PPTR_TOP - BASE_OFFSET)
#include <plat/machine/hardware.h>
......
......@@ -71,8 +71,10 @@
#ifdef CONFIG_ARM_HYPERVISOR_SUPPORT
#define PPTR_TOP 0xffffc0000000lu
#define KDEV_BASE 0xffffffff0000lu
#else
#define PPTR_TOP 0xffffffffc0000000
#define KDEV_BASE 0xffffffffffff0000lu
#endif
#define PADDR_TOP (PPTR_TOP - BASE_OFFSET)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment