Chroma/linker.ld
Curle 97576bab02
Attempts at fixing paging.
Have somehow fixed the drawing routines along the way.

I also tried to implement a better keyboard handler, but that's quite a ways away right now.
2020-04-11 22:59:39 +01:00

33 lines
420 B
Plaintext

mmio = 0xfffffffff8000000;
fb = 0xfffffffffc000000;
PHDRS
{
boot PT_LOAD;
}
SECTIONS
{
. = 0xFFFFFFFFFFE00000;
LoadAddr = .;
bootldr = .; . += 4096;
environment = .; . += 4096;
.text : {
KEEP(*(.text.boot)) *(.text .text.*)
*(.rodata .rodata.*)
*(.data .data.*)
} :boot
.bss (NOLOAD) : {
. = ALIGN(16);
*(.bss .bss.*)
*(COMMON)
} :boot
/DISCARD/ : { *(.eh_frame) *(.comment) }
end = .;
}