-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
18 changed files
with
2,239 additions
and
222 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"C_Cpp.errorSquiggles": "disabled" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,23 @@ | ||
GRAPHICS=yes | ||
TIMEOUT=5 | ||
DEFAULT_ENTRY=0 | ||
INTERFACE_BRANDING=By Aren Elchinyan | ||
|
||
BACKGROUND_STYLE=stretched | ||
BACKGROUND_PATH=boot:///boot.png | ||
#TERM_FONT=boot:///CYRILL2.F16 | ||
#TERM_FONT_SIZE=8x16 | ||
|
||
:MSEOS (KASLR on) | ||
:BMOSP (KASLR on) | ||
#RESOLUTION=1280x720 | ||
PROTOCOL=limine | ||
KASLR=no | ||
KERNEL_PATH=boot:///kernel.elf | ||
|
||
MODULE_PATH=boot:///kernel.elf | ||
MODULE_CMDLINE=boot:///kernel.elf | ||
|
||
MODULE_PATH=boot:///mod/helloworld.elf | ||
MODULE_CMDLINE=helloworld | ||
|
||
MODULE_PATH=boot:///mod/com.elf | ||
MODULE_CMDLINE=com | ||
MODULE_CMDLINE=com | ||
|
||
MODULE_PATH=boot:///boot.png | ||
MODULE_CMDLINE=bootimage |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
#!/bin/sh | ||
sudo dd if=mseos.hdd of=/dev/sdc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#define VERSION_MAJOR 0 | ||
#define VERSION_MINOR 1 | ||
#define VERSION_BUILD 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,23 @@ | ||
#include <limine.h> | ||
|
||
namespace arch { | ||
static volatile struct limine_kernel_address_request kernel_address_request = { | ||
.id = LIMINE_KERNEL_ADDRESS_REQUEST, | ||
.revision = 0, | ||
.response = (struct limine_kernel_address_response *)0 | ||
}; | ||
|
||
struct limine_kernel_address_response *kernel_address_response; | ||
|
||
void init( ) { | ||
kernel_address_response = kernel_address_request.response; | ||
} | ||
#include <limine.h> | ||
|
||
extern "C" { | ||
void gdt_init( ); | ||
|
||
void idt_init( ); | ||
} | ||
|
||
namespace arch { | ||
static volatile struct limine_kernel_address_request kernel_address_request = { | ||
.id = LIMINE_KERNEL_ADDRESS_REQUEST, | ||
.revision = 0, | ||
.response = (struct limine_kernel_address_response *)0 | ||
}; | ||
|
||
struct limine_kernel_address_response *kernel_address_response; | ||
|
||
void init( ) { | ||
kernel_address_response = kernel_address_request.response; | ||
gdt_init( ); | ||
idt_init( ); | ||
} | ||
} // namespace arch |
Oops, something went wrong.