big kernel additions: paging, elf loading, separate kernel and user page allocation it now properly loads and runs sd0:bin/init.elf still need to determine which disk was booted from, and start the init on that disk
21 lines
No EOL
256 B
Text
21 lines
No EOL
256 B
Text
OUTPUT_FORMAT(elf32-i386)
|
|
OUTPUT_ARCH(i386)
|
|
|
|
SECTIONS {
|
|
. = 0x00030000;
|
|
.text : {
|
|
*/main.o(.text)
|
|
*(.text)
|
|
}
|
|
.rodata : {
|
|
*(.rodata)
|
|
}
|
|
.data : {
|
|
*(.data)
|
|
}
|
|
. = 0x04000000;
|
|
.bss : {
|
|
*(.bss)
|
|
_kernel_bss_end = .;
|
|
}
|
|
} |