Skip to content

Commit

Permalink
-TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
phaubertin committed Jan 25, 2025
1 parent 5322f40 commit ac57bd8
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion kernel/infrastructure/i686/firmware/acpi.c
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@ static const acpi_rsdp_t *find_rsdp(void) {
}
}

/* TODO define some PC address map somewhere, use in VGA driver as well */
const char *top = (const char *)(0xa0000 - KB);
const char *ebda = (const char *)get_bios_ebda_addr();

Expand Down
1 change: 0 additions & 1 deletion kernel/infrastructure/i686/firmware/bios.c
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@
uint32_t get_bios_ebda_addr(void) {
uintptr_t ebda = 16 * (*(uint16_t *)BIOS_BDA_EBDA_SEGMENT);

/* TODO define some PC address map somewhere, use in VGA driver as well */
if(ebda < 0x80000 || ebda >= 0xa0000) {
return NULL;
}
Expand Down
1 change: 0 additions & 1 deletion kernel/infrastructure/i686/firmware/mp.c
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,6 @@ static uint32_t scan_for_pointer_structure(void) {
}
}

/* TODO define some PC address map somewhere, use in VGA driver as well */
return scan_address_range(0xf0000, 0x100000);
}

Expand Down

0 comments on commit ac57bd8

Please sign in to comment.