- Rename driver.intf.serial -> driver.io.serial (intf/ -> io/) - Move net protocols to driver.net.proto.* (net/ -> net/proto/) - arp, dhcp, eth2, icmp, ipv4, tcp, udp - Move netdev to driver.net.dev.* (netdev/ -> net/dev/) - e1000 - Move driver.net.pas into driver/net/ - Move driver.video.pas into driver/video/ - Rename arch.x86.faults -> arch.x86.fault, move to fault/ dir - Move driver.storage.ctl.ahci.pas into ctl/ahci/ - Move driver.storage.ctl.ide.pas into ctl/ide/ - Move linker.script and version to toolchain/ - Update all unit references and namespace doc 35 files changed, 237 insertions(+), 234 deletions(-)
This commit is contained in:
1 parent
6fa008ed79
commit
021aa0d82e
35 files changed
+237
-234
No files matched your search
@@ -19,4 +19,4 @@ echo " "
|
||||
LIBGCC=$(gcc -m32 -print-libgcc-file-name)
|
||||
echo "libgcc: ${LIBGCC}"
|
||||
|
||||
ld -m elf_i386 -s --gc-sections -Tlinker.script -o bin/kernel.bin $objstring --start-group lib/liblvgl.a ${LIBGCC} --end-group
|
||||
ld -m elf_i386 -s --gc-sections -Ttoolchain/linker.script -o bin/kernel.bin $objstring --start-group lib/liblvgl.a ${LIBGCC} --end-group
|
||||
@@ -9,7 +9,7 @@ echo " "
|
||||
chmod +x "${TOOLCHAIN_DIR}/compile_checksum.sh"
|
||||
"${TOOLCHAIN_DIR}/compile_checksum.sh"
|
||||
outfile="src/core/core.version.pas"
|
||||
file="version"
|
||||
file="toolchain/version"
|
||||
{
|
||||
# this script requires semver tool
|
||||
wget -q https://raw.githubusercontent.com/fsaintjacques/semver-tool/master/src/semver -O bin/semver && chmod +x bin/semver
|
||||
|
||||
@@ -0,0 +1,47 @@
|
||||
ENTRY(loader)
|
||||
SECTIONS
|
||||
{
|
||||
. = 0xC0100000;
|
||||
kernel_start = .;
|
||||
.text : AT(ADDR(.text) - 0xC0000000)
|
||||
{
|
||||
text = .; _text = .; __text = .;
|
||||
*(.text)
|
||||
*(.rodata*)
|
||||
. = ALIGN(4096);
|
||||
}
|
||||
.data : AT(ADDR(.data) - 0xC0000000)
|
||||
{
|
||||
data = .; _data = .; __data = .;
|
||||
*(.data)
|
||||
kimage_text = .;
|
||||
LONG(text);
|
||||
kimage_data = .;
|
||||
LONG(data);
|
||||
kimage_bss = .;
|
||||
LONG(bss);
|
||||
kimage_end = .;
|
||||
LONG(end);
|
||||
. = ALIGN(4096);
|
||||
}
|
||||
.bss : AT(ADDR(.bss) - 0xC0000000)
|
||||
{
|
||||
bss = .; _bss = .; __bss = .; _sbss = .;
|
||||
*(COMMON)
|
||||
*(.bss)
|
||||
_ebbbss = .;
|
||||
. = ALIGN(4096);
|
||||
}
|
||||
end = .; _end = .; __end = .;
|
||||
kernel_end = .;
|
||||
|
||||
/DISCARD/ : {
|
||||
*(.init_array*)
|
||||
*(.fini_array*)
|
||||
*(.ctors)
|
||||
*(.dtors)
|
||||
*(.eh_frame*)
|
||||
*(.gcc_except_table*)
|
||||
*(.note.GNU-stack)
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
2 0 0 a
|
||||
Reference in new issue
Block a user