minor changes

This commit is contained in:
Gitea 2021-01-10 14:42:29 -06:00
parent 8d7ce5c411
commit 2f33f55512

View file

@ -7,11 +7,13 @@ gdtr:
set_gdt: set_gdt:
.func set_gdt .func set_gdt
cli
xor %eax, %eax
mov 4(%esp), %eax mov 4(%esp), %eax
mov %eax, gdtr+2 mov %eax, gdtr+2
mov 8(%esp), %ax mov 8(%esp), %ax
mov %ax, gdtr mov %ax, gdtr
lgdt gdtr lgdt (gdtr)
ret ret
.endfunc .endfunc