feat(atapi): add discover_drive in init_k
This commit is contained in:
parent
bb67c07642
commit
9f41ddd242
7
k/k.c
7
k/k.c
@ -30,6 +30,7 @@
|
||||
#include "pic/pit.h"
|
||||
#include "serial.h"
|
||||
#include "stdio.h"
|
||||
#include "iso.h"
|
||||
|
||||
static void k_init(void)
|
||||
{
|
||||
@ -38,6 +39,7 @@ static void k_init(void)
|
||||
init_idt();
|
||||
remap_pic();
|
||||
init_pit();
|
||||
discover_atapi_drive();
|
||||
}
|
||||
|
||||
void k_main(unsigned long magic, multiboot_info_t *info)
|
||||
@ -50,7 +52,10 @@ void k_main(unsigned long magic, multiboot_info_t *info)
|
||||
|
||||
k_init();
|
||||
|
||||
printf("bonjour\r\n");
|
||||
//printf("bonjour\r\n");
|
||||
|
||||
poggers();
|
||||
|
||||
for (unsigned i = 0; ; ) {
|
||||
*fb = star[i++ % 4];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user