mirror of
https://github.com/EnderIce2/Fennix.git
synced 2025-05-28 15:34:31 +00:00
Updated files
This commit is contained in:
parent
96412135fd
commit
6d5f7e9372
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
*.o
|
6
Kernel.cpp
Normal file
6
Kernel.cpp
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
|
||||||
|
extern "C" void kernel_entry(void *Data)
|
||||||
|
{
|
||||||
|
while (1)
|
||||||
|
;
|
||||||
|
}
|
0
arch/aarch64/.gitkeep
Normal file
0
arch/aarch64/.gitkeep
Normal file
43
arch/amd64/linker.ld
Normal file
43
arch/amd64/linker.ld
Normal file
@ -0,0 +1,43 @@
|
|||||||
|
OUTPUT_FORMAT(elf64-x86-64)
|
||||||
|
OUTPUT_ARCH(i386:x86-64)
|
||||||
|
|
||||||
|
ENTRY(kernel_entry)
|
||||||
|
|
||||||
|
SECTIONS
|
||||||
|
{
|
||||||
|
. = 0xffffffff80000000;
|
||||||
|
|
||||||
|
_kernel_start = .;
|
||||||
|
.text :
|
||||||
|
{
|
||||||
|
*(.text .text.*)
|
||||||
|
}
|
||||||
|
_kernel_text_end = ALIGN(CONSTANT(MAXPAGESIZE));
|
||||||
|
. += CONSTANT(MAXPAGESIZE);
|
||||||
|
|
||||||
|
.rodata :
|
||||||
|
{
|
||||||
|
*(.rodata .rodata.*)
|
||||||
|
}
|
||||||
|
_kernel_rodata_end = ALIGN(CONSTANT(MAXPAGESIZE));
|
||||||
|
. += CONSTANT(MAXPAGESIZE);
|
||||||
|
|
||||||
|
.data :
|
||||||
|
{
|
||||||
|
*(.data .data.*)
|
||||||
|
}
|
||||||
|
|
||||||
|
.bss :
|
||||||
|
{
|
||||||
|
*(COMMON)
|
||||||
|
*(.bss .bss.*)
|
||||||
|
}
|
||||||
|
. += CONSTANT(MAXPAGESIZE);
|
||||||
|
_kernel_end = ALIGN(CONSTANT(MAXPAGESIZE));
|
||||||
|
|
||||||
|
/DISCARD/ :
|
||||||
|
{
|
||||||
|
*(.eh_frame)
|
||||||
|
*(.note .note.*)
|
||||||
|
}
|
||||||
|
}
|
0
arch/i686/.gitkeep
Normal file
0
arch/i686/.gitkeep
Normal file
0
include/.gitkeep
Normal file
0
include/.gitkeep
Normal file
1
kernel.fsys
Normal file
1
kernel.fsys
Normal file
@ -0,0 +1 @@
|
|||||||
|
stub
|
0
lib/.gitkeep
Normal file
0
lib/.gitkeep
Normal file
Loading…
x
Reference in New Issue
Block a user