mirror of
https://github.com/Tom-on64/kern.git
synced 2026-11-03 18:22:22 +00:00
Minor changes
This commit is contained in:
+2
-2
@@ -3,9 +3,9 @@
|
||||
|
||||
__attribute__ ((section ("entry")))
|
||||
void main() {
|
||||
uint32_t wait = 0xffffffff;
|
||||
uint32_t wait = 0x1fffffff;
|
||||
|
||||
putc('a');
|
||||
print("kern.\n\n");
|
||||
|
||||
while (wait--);
|
||||
|
||||
|
||||
@@ -19,7 +19,6 @@ uint32_t memmapAddr = 0x30000;
|
||||
void printFiletable(char* ft);
|
||||
void printPhysicalMemmap();
|
||||
|
||||
__attribute__ ((section ("entry"))) // Make sure that main() is at the start of kernel.bin
|
||||
void main() {
|
||||
// Interrupts
|
||||
setupIdt();
|
||||
@@ -50,7 +49,6 @@ void main() {
|
||||
// Screen setup
|
||||
// TODO: Find font in filetable
|
||||
diskRead(36, 4, (char*)0x6000); // Read font from disk
|
||||
// loadFont((char*)0x6000);
|
||||
|
||||
clear();
|
||||
print("kern.\n\n");
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
SECTIONS {
|
||||
.text 0x1000 : {
|
||||
*(entry);
|
||||
*(.text*);
|
||||
}
|
||||
.data : {
|
||||
|
||||
Reference in New Issue
Block a user