Changeset 85 for trunk/hal/x86_64
- Timestamp:
- Jun 28, 2017, 2:58:49 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/hal/x86_64/core/hal_cpu.S
r82 r85 22 22 #define x86_ASM 23 23 #include <hal_boot.h> 24 #include <hal_segmentation.h> 24 25 25 26 ASM_ENTRY(lgdt) 26 27 lgdt (%rdi) 28 /* Reload the prefetch queue */ 29 jmp 1f 30 nop 31 1: /* Reload stale selectors */ 32 movl $GDT_FIXED_SEL(GDT_KDATA_SEL, SEL_KPL),%eax 33 movl %eax,%ds 34 movl %eax,%es 35 movl %eax,%ss 27 36 ret 28 37
Note: See TracChangeset
for help on using the changeset viewer.