diff --git a/drivers/ata.c b/drivers/ata.c index 13e9889..f3d9ac8 100644 --- a/drivers/ata.c +++ b/drivers/ata.c @@ -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)); diff --git a/mbr.S b/mbr.S index 42e5d60..20b5fe3 100644 --- a/mbr.S +++ b/mbr.S @@ -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: