Changeset 309 for trunk/hal/x86_64/core
- Timestamp:
- Aug 1, 2017, 10:37:06 AM (7 years ago)
- Location:
- trunk/hal/x86_64/core
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/hal/x86_64/core/hal_cpu.S
r236 r309 157 157 ret 158 158 159 ASM_ENTRY(clts) 160 clts 161 ret 162 163 ASM_ENTRY(stts) 164 movq %cr0,%rax 165 orq $CR0_TS,%rax 166 movq %rax,%cr0 167 ret 168 159 169 ASM_ENTRY(x86_stop) /* debug only */ 160 170 int $0x0b -
trunk/hal/x86_64/core/hal_internal.h
r290 r309 56 56 void tlbflushg(); 57 57 void tlbflush(); 58 void clts(); 59 void stts(); 58 60 void pause(); 59 61 void wbinvd(); -
trunk/hal/x86_64/core/hal_special.c
r280 r309 88 88 { 89 89 x86_panic((char *)__func__); 90 clts(); 90 91 } 91 92 … … 93 94 { 94 95 x86_panic((char *)__func__); 96 stts(); 95 97 } 96 98
Note: See TracChangeset
for help on using the changeset viewer.