diff options
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/features/load.c | 1 | ||||
-rw-r--r-- | kernel/main.c | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/kernel/features/load.c b/kernel/features/load.c index 9024c82..8a4aae3 100644 --- a/kernel/features/load.c +++ b/kernel/features/load.c @@ -17,7 +17,6 @@ void proc_load(struct proc *proc, void *data) int bin_load(const char *path, struct proc *proc) { - // TODO: Remove hardcoded filesize struct stat s = { 0 }; vfs_stat(path, &s); char *data = malloc(s.size); diff --git a/kernel/main.c b/kernel/main.c index 2112541..6be31bd 100644 --- a/kernel/main.c +++ b/kernel/main.c @@ -26,7 +26,7 @@ void kernel_main(struct vid_info *vid_info) serial_print("\nKernel was compiled at " __TIME__ " on " __DATE__ "\n"); serial_print("Serial connected.\n"); - heap_init(0x00f00000 + rand()); + heap_init(0x00f00000); boot_passed = vid_info; |