mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-19 13:47:56 +00:00
f825775e40
Issue #2451
54 lines
1.9 KiB
Diff
54 lines
1.9 KiB
Diff
--- src/kernel/sel4/Makefile
|
|
+++ src/kernel/sel4/Makefile
|
|
@@ -287,8 +287,8 @@
|
|
# Only set CFLAGS if we're building standalone.
|
|
# common/Makefile.Flags sets NK_CFLAGS in Kbuild environments.
|
|
ifndef NK_CFLAGS
|
|
-STATICHEADERS += ${SOURCE_ROOT}/configs/$(PLAT)/autoconf.h
|
|
-INCLUDES += "-I${SOURCE_ROOT}/configs/$(PLAT)"
|
|
+STATICHEADERS += ${SOURCE_ROOT}/configs/$(PLAT)/$(BOARD)/autoconf.h
|
|
+INCLUDES += "-I${SOURCE_ROOT}/configs/$(PLAT)/$(BOARD)"
|
|
DEFINES += -DHAVE_AUTOCONF
|
|
ifdef DEBUG
|
|
DEFINES += -DCONFIG_DEBUG_BUILD
|
|
--- src/kernel/sel4/src/plat/pc99/linker.lds
|
|
+++ src/kernel/sel4/src/plat/pc99/linker.lds
|
|
@@ -16,13 +16,13 @@
|
|
#if defined(CONFIG_ARCH_IA32)
|
|
#undef i386
|
|
PADDR_BASE = 0x00000000;
|
|
-PADDR_LOAD = 0x00100000;
|
|
+PADDR_LOAD = 0x00200000;
|
|
KERNEL_BASE = 0xe0000000;
|
|
OUTPUT_ARCH(i386)
|
|
OUTPUT_FORMAT(elf32-i386)
|
|
#elif defined(CONFIG_ARCH_X86_64)
|
|
PADDR_BASE = 0x00000000;
|
|
-PADDR_LOAD = 0x00100000;
|
|
+PADDR_LOAD = 0x00200000;
|
|
KERNEL_BASE = 0xffffffff80000000;
|
|
OUTPUT_FORMAT(elf64-x86-64)
|
|
#endif
|
|
--- src/kernel/sel4/include/plat/pc99/plat/64/plat_mode/machine/hardware.h
|
|
+++ src/kernel/sel4/include/plat/pc99/plat/64/plat_mode/machine/hardware.h
|
|
@@ -23,7 +23,7 @@
|
|
* because they need to defined like this in linker.lds
|
|
*/
|
|
#define PADDR_BASE 0x00000000ul
|
|
-#define PADDR_LOAD 0x00100000ul
|
|
+#define PADDR_LOAD 0x00200000ul
|
|
/* our kernel window is 2^39 bits (2^9 * 1gb) and the virtual address
|
|
* range is 48 bits. Therefore our base is 2^48 - 2^39
|
|
*/
|
|
--- src/kernel/sel4/include/plat/pc99/plat/32/plat_mode/machine/hardware.h
|
|
+++ src/kernel/sel4/include/plat/pc99/plat/32/plat_mode/machine/hardware.h
|
|
@@ -15,7 +15,7 @@
|
|
|
|
/* WARNING: some of these constants are also defined in linker.lds */
|
|
#define PADDR_BASE 0x00000000
|
|
-#define PADDR_LOAD 0x00100000
|
|
+#define PADDR_LOAD 0x00200000
|
|
#define PPTR_BASE 0xe0000000
|
|
|
|
#define PPTR_USER_TOP (PPTR_BASE & (~MASK(seL4_LargePageBits)))
|