Fix LLVM build.
This commit is contained in:
parent
1f6f002a7b
commit
5c3656adac
15
mbr.S
15
mbr.S
@ -3,7 +3,6 @@
|
|||||||
.code16
|
.code16
|
||||||
.global _start
|
.global _start
|
||||||
_start:
|
_start:
|
||||||
mov %dl, boot_drive
|
|
||||||
mov $banner, %si
|
mov $banner, %si
|
||||||
call print_string
|
call print_string
|
||||||
|
|
||||||
@ -55,20 +54,8 @@ repeat:
|
|||||||
done:
|
done:
|
||||||
ret
|
ret
|
||||||
|
|
||||||
boot_drive:
|
|
||||||
.byte 0
|
|
||||||
banner:
|
banner:
|
||||||
.asciz "YABLOKO bootloader started\n\r"
|
.asciz "Loader \n"
|
||||||
read_error:
|
|
||||||
.asciz "Read error\n\r"
|
|
||||||
|
|
||||||
.balign 2
|
|
||||||
entry:
|
|
||||||
.word 0
|
|
||||||
disk_heads:
|
|
||||||
.byte 0
|
|
||||||
sectors_per_track:
|
|
||||||
.byte 0
|
|
||||||
|
|
||||||
.balign 4
|
.balign 4
|
||||||
gdt_start:
|
gdt_start:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user