1
0
Fork 0
mirror of https://gitlab.com/bztsrc/bootboot.git synced 2023-02-13 20:54:32 -05:00

More address checks

This commit is contained in:
bzt 2021-04-08 18:02:09 +02:00
parent d8f3aa0084
commit 98fbe4c589
16 changed files with 114 additions and 65 deletions

View file

@ -32,8 +32,10 @@
ENTRY(go.kernel.go.kernel..init0)
/* you can't access these labels from Go, so make sure the constants match */
mmio = 0xfffffffff8000000; /* these are configurable for level 2 loaders */
fb = 0xfffffffffc000000;
mmio = 0xfffffffff8000000; /* these are configurable for level 2 loaders */
fb = 0xfffffffffc000000;
bootboot = 0xffffffffffe00000;
environment = 0xffffffffffe01000;
/* initstack = 1024; */
PHDRS
{
@ -41,9 +43,7 @@ PHDRS
}
SECTIONS
{
. = 0xffffffffffe00000;
bootboot = .; . += 4096;
environment = .; . += 4096;
. = 0xffffffffffe02000;
.text : {
KEEP(*(.text.boot)) *(.text .text.*) /* code */
*(.rodata .rodata.*) /* data */