modify assembly slightly to compile under nasm 2.16
This commit is contained in:
parent
0330ab168e
commit
3dfccc5ca6
2 changed files with 2 additions and 2 deletions
|
|
@ -29,7 +29,7 @@ section .text
|
|||
;referenced in paging.c
|
||||
extern invlpg
|
||||
invlpg:
|
||||
invlpg byte [rdi]
|
||||
invlpg [rdi]
|
||||
ret
|
||||
|
||||
extern switch_to_kernel_page_tables
|
||||
|
|
|
|||
|
|
@ -52,7 +52,7 @@ global write_serial_string_n
|
|||
write_serial_string_n:
|
||||
test esi, esi
|
||||
jz .ret
|
||||
movzx rcx, esi
|
||||
mov ecx, esi
|
||||
|
||||
.wait_ready:
|
||||
mov dx, 0x03fd
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue