Searched refs:gs (Results 1 – 7 of 7) sorted by relevance
68 .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() argument137 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()
53 ul fs, gs; member
282 thd->gs = current_pcb->thread->gs; in process_copy_thread()
19 mov %ax, %gs65 mov %ax, %gs
189 current_pcb->thread->gs = KERNEL_DS; in smp_ap_start()
39 - process: bugfix: 修复init进程忘记设定fs gs寄存器的问题。 (#132)278 修复init进程忘记设定fs gs寄存器的问题。 (#132)
340 movq %rax, %gs