mirror of
https://github.com/Tom-on64/kern.git
synced 2026-11-03 18:22:22 +00:00
Nothing much
This commit is contained in:
@@ -1,9 +0,0 @@
|
||||
#ifndef _KMALLOC_H
|
||||
#define _KMALLOC_H
|
||||
|
||||
void* kmalloc(size_t size);
|
||||
void* kzalloc(size_t size);
|
||||
void* kcalloc(size_t count, size_t size);
|
||||
void kfree(void* ptr);
|
||||
|
||||
#endif
|
||||
+6
-4
@@ -29,10 +29,12 @@ void kmain(void* ptr, uint32_t magic) {
|
||||
if (tty_init() != 0) panic("Failed to initalize TTY driver.");
|
||||
tty_puts("kern.\n\n");
|
||||
|
||||
debugf("[kernel] Basic initialization complete!\n");
|
||||
|
||||
// TODO: Init VFS
|
||||
// TODO:
|
||||
// TODO: Timer
|
||||
// TODO: Scheduler
|
||||
// TODO: Syscalls
|
||||
// TODO: Interprocess communication
|
||||
// TODO: Tasking
|
||||
// TODO: Load & run /sbin/init
|
||||
|
||||
panic("kmain() reached end.");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user