feat: implemented ide read write operations
This commit is contained in:
@@ -152,10 +152,13 @@ void kmain(multiboot_info_t *multiboot_info) {
|
||||
// init done, enable interrupts
|
||||
__asm__ __volatile__("sti");
|
||||
// init timer for future task switching
|
||||
init_timer(50);
|
||||
init_timer(1000);
|
||||
// setup PS/2 keyboard
|
||||
init_keyboard();
|
||||
|
||||
u8* tmp = malloc(4096);
|
||||
ide_read_access(0, 0, 0, 16, tmp);
|
||||
|
||||
// enter main loop
|
||||
while (true) {
|
||||
main_loop();
|
||||
|
||||
Reference in New Issue
Block a user