Nigel
dea8ab7d71
Added new entries to .gitignore Moved away from source directory as central spot for all source code
20 lines
225 B
ArmAsm
20 lines
225 B
ArmAsm
.global LoadGlobalDescriptorTable
|
|
|
|
LoadGlobalDescriptorTable:
|
|
lgdt gdtDescriptor
|
|
|
|
movw $16, %ax
|
|
movw %ax, %ds
|
|
movw %ax, %es
|
|
movw %ax, %fs
|
|
movw %ax, %gs
|
|
movw %ax, %ss
|
|
|
|
jmp $8,$flush
|
|
|
|
flush:
|
|
ret
|
|
|
|
|
|
|