Made Kernel 'Higher-Half' and enabled paging.

git-svn-id: https://spexeah.com:8443/svn/Asuro@85 6dbc8c32-bb84-406f-8558-d1cf31a0ab0c
This commit is contained in:
kieron
2017-05-17 23:24:05 +00:00
parent 7a8034196b
commit 019f6ccabf
43 changed files with 153 additions and 18 deletions

View File

@ -1,13 +1,16 @@
ENTRY(kstart)
ENTRY(loader)
SECTIONS
{
.text 0x100000 :
. = 0xC0100000;
.text : AT(ADDR(.text) - 0xC0000000)
{
text = .; _text = .; __text = .;
*(.text)
*(.rodata*)
. = ALIGN(4096);
}
.data :
.data : AT(ADDR(.data) - 0xC0000000)
{
data = .; _data = .; __data = .;
*(.data)
@ -21,11 +24,13 @@ SECTIONS
LONG(end);
. = ALIGN(4096);
}
.bss :
.bss : AT(ADDR(.bss) - 0xC0000000)
{
bss = .; _bss = .; __bss = .;
bss = .; _bss = .; __bss = .; _sbss = .;
*(COMMON)
*(.bss)
_ebbbss = .;
. = ALIGN(4096);
}
end = .; _end = .; __end = .;
}
}