Split up into pim-os, pim-vm and pim-isa crate

This commit is contained in:
2023-11-28 20:41:09 +01:00
parent 8f1c43defd
commit 54bf6bda11
22 changed files with 1078 additions and 109 deletions

21
pim-os/aarch64-gem5.ld Normal file
View File

@@ -0,0 +1,21 @@
MEMORY
{
bootmem : ORIGIN = 0x0, LENGTH = 0x10000
dram : ORIGIN = 0x80000000, LENGTH = 0x100000000
}
ENTRY(_start)
SECTIONS
{
.init : { *(.init) } > bootmem
.pim_config : { KEEP(*(.pim_config)) } > dram
# . = . + 0x4000;
.text : { KEEP(*(.text)) } > dram
.data : { *(.data) } > dram
.rodata : { *(.rodata) } > dram
.bss : { *(.bss) } > dram
. = ALIGN(8);
. = . + 0x8000;
LD_STACK_PTR = .;
}