Searched refs:gs (Results 1 – 7 of 7) sorted by relevance
19 mov %ax, %gs65 mov %ax, %gs
178 current_pcb->thread->gs = KERNEL_DS; in smp_ap_start()
67 .gs = KERNEL_DS,120 : "=a"(prev->thread->gs)); in __switch_to()123 __asm__ __volatile__("movq %0, %%gs \n\t" ::"a"(next->thread->gs)); in __switch_to()133 void process_switch_fsgs(uint64_t fs, uint64_t gs) in process_switch_fsgs() argument136 asm volatile("movq %0, %%gs \n\t" ::"a"(gs)); in process_switch_fsgs()608 current_pcb->thread->gs = USER_DS | 0x3; in initial_kernel_thread()609 process_switch_fsgs(current_pcb->thread->fs, current_pcb->thread->gs); in initial_kernel_thread()
53 ul fs, gs; member
360 thd->gs = current_pcb->thread->gs; in process_copy_thread()
39 - process: bugfix: 修复init进程忘记设定fs gs寄存器的问题。 (#132)278 修复init进程忘记设定fs gs寄存器的问题。 (#132)
301 movq %rax, %gs