cmd: add initial commands ls and help

This commit is contained in:
Michael Shaw 2023-10-20 23:56:01 -04:00
commit 0029621ada
6 changed files with 133 additions and 6 deletions

View file

@ -50,8 +50,8 @@ static inline void _pic_init()
cli();
pic_mask(4, 0);
pic_init();
sti();
console_resize();
sti();
while (!console_ready())
;
@ -129,7 +129,6 @@ void kmain(void)
kprintf(LOG_DEBUG "Root partition: disk=%X-%X part=%X-%X\n", kroot_disk.a, kroot_disk.b, kroot_part.a, kroot_part.b);
#endif /* KDEBUG */
console_init();
acpi_init();
pci_init();
@ -151,6 +150,7 @@ void kmain_post_stack_init()
_pic_init();
console_init();
kprintf("\n\n# ");
yield();
}