Updated files

This commit is contained in:
Alex 2022-09-29 02:07:10 +03:00
parent 96412135fd
commit 6d5f7e9372
Signed by untrusted user who does not match committer: enderice2
GPG Key ID: EACC3AD603BAB4DD
10 changed files with 2715 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
*.o

2659
Doxyfile Normal file

File diff suppressed because it is too large Load Diff

6
Kernel.cpp Normal file
View File

@ -0,0 +1,6 @@
extern "C" void kernel_entry(void *Data)
{
while (1)
;
}

5
Makefile Normal file
View File

@ -0,0 +1,5 @@
prepare:
build:
clean:

0
arch/aarch64/.gitkeep Normal file
View File

43
arch/amd64/linker.ld Normal file
View 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
View File

0
include/.gitkeep Normal file
View File

1
kernel.fsys Normal file
View File

@ -0,0 +1 @@
stub

0
lib/.gitkeep Normal file
View File