Fix Linux build.

This commit is contained in:
Alexander Myltsev 2022-12-13 15:33:10 +00:00
parent caf78f3c9f
commit 507d47f0b7
2 changed files with 3 additions and 3 deletions

View File

@ -19,7 +19,7 @@
static void ATA_wait_BSY();
static void ATA_wait_RDY();
void read_sectors_ATA_PIO(uint32_t target_address, uint32_t LBA, uint8_t sector_count)
void read_sectors_ATA_PIO(void* target_address, uint32_t LBA, uint8_t sector_count)
{
ATA_wait_BSY();
port_byte_out(0x1F6, 0xE0 | ((LBA >> 24) & 0xF));

4
mbr.S
View File

@ -150,9 +150,9 @@ done:
boot_drive:
.byte 0
banner:
.asciz "YABLOKO bootloader started\r\n"
.asciz "YABLOKO bootloader started\n\r"
read_error:
.asciz "Read error\r\n"
.asciz "Read error\n\r"
.balign 2
entry: