Files
OwOS/kernel/segment.asm
2019-04-28 00:10:47 +01:00

14 lines
197 B
NASM

.global SEGMENTS_RELOAD
SEGMENTS_RELOAD:
movw $0x10, %ax
movw %ax, %ds
movw %ax, %es
movw %ax, %fs
movw %ax, %gs
movw %ax, %ss
ljmp $0x08, $flush2
flush2:
ret