forked from PoliEcho-holding-org/kern
Include file restructure!
- include/ now has subdirs - standard C headers will be in 'include/c'. Any program can include these - all other header shall only be used by the kernel
This commit is contained in:
+2
-7
@@ -1,13 +1,8 @@
|
||||
#include "stdint.h"
|
||||
#include "screen.h"
|
||||
#include <time.h>
|
||||
|
||||
__attribute__ ((section ("entry")))
|
||||
void main() {
|
||||
uint32_t wait = 0x1fffffff;
|
||||
|
||||
print("kern.\n\n");
|
||||
|
||||
while (wait--);
|
||||
sleep(4500); // Wait 4.5 seconds
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
+13
-13
@@ -1,16 +1,16 @@
|
||||
#include <physicalMemManager.h> // TODO: Name this better
|
||||
#include <disk.h>
|
||||
#include <screen.h>
|
||||
#include <idt.h>
|
||||
#include <exceptions.h>
|
||||
#include <syscall.h>
|
||||
#include <pic.h>
|
||||
#include <system.h>
|
||||
#include <string.h>
|
||||
#include <graphics.h>
|
||||
#include <keyboard.h>
|
||||
#include <pit.h>
|
||||
#include <time.h>
|
||||
#include <memory/physical.h>
|
||||
#include <disk/disk.h>
|
||||
#include <screen/text.h>
|
||||
#include <interrupt/idt.h>
|
||||
#include <interrupt/exceptions.h>
|
||||
#include <interrupt/syscall.h>
|
||||
#include <interrupt/pic.h>
|
||||
#include <ports/io.h>
|
||||
#include <c/string.h>
|
||||
#include <screen/graphics.h>
|
||||
#include <keyboard/keyboard.h>
|
||||
#include <interrupt/pit.h>
|
||||
#include <c/time.h>
|
||||
|
||||
#define PROMPT "#> "
|
||||
|
||||
|
||||
Reference in New Issue
Block a user