Home
last modified time | relevance | path

Searched refs:gs (Results 1 – 7 of 7) sorted by relevance

/DragonOS-0.1.8/kernel/src/process/
Dprocess.c68 .gs = KERNEL_DS,
121 : "=a"(prev->thread->gs)); in __switch_to()
124 __asm__ __volatile__("movq %0, %%gs \n\t" ::"a"(next->thread->gs)); in __switch_to()
134 void process_switch_fsgs(uint64_t fs, uint64_t gs) in process_switch_fsgs() argument
137 asm volatile("movq %0, %%gs \n\t" ::"a"(gs)); in process_switch_fsgs()
209 current_pcb->thread->gs = USER_DS | 0x3; in initial_kernel_thread()
210 process_switch_fsgs(current_pcb->thread->fs, current_pcb->thread->gs); in initial_kernel_thread()
Dproc-types.h53 ul fs, gs; member
Dfork.c282 thd->gs = current_pcb->thread->gs; in process_copy_thread()
/DragonOS-0.1.8/kernel/src/smp/
Dapu_boot.S19 mov %ax, %gs
65 mov %ax, %gs
Dsmp.c189 current_pcb->thread->gs = KERNEL_DS; in smp_ap_start()
/DragonOS-0.1.8/docs/community/ChangeLog/V0.1.x/
DV0.1.3.md39 - process: bugfix: 修复init进程忘记设定fs gs寄存器的问题。 (#132)
278 修复init进程忘记设定fs gs寄存器的问题。 (#132)
/DragonOS-0.1.8/kernel/src/
Dhead.S340 movq %rax, %gs