Home
last modified time | relevance | path

Searched refs:rax (Results 1 – 10 of 10) sorted by relevance

/DragonOS-0.1.5/kernel/src/exception/
Dentry.S48 popq %rax // 不允许直接pop到ds
49 movq %rax, %ds
51 popq %rax
52 movq %rax, %es
54 popq %rax
78 pushq %rax
79 movq %es, %rax
80 pushq %rax
81 movq %ds, %rax
82 pushq %rax
[all …]
Dtrap.c223 kerror("regs->rax = %#018lx\n", regs->rax); in do_page_fault()
/DragonOS-0.1.5/kernel/src/process/
Dproc.S25 popq %rax
26 movq %rax, %ds
27 popq %rax
28 movq %rax, %es
29 popq %rax
35 movq %rax, %rdi
Dptrace.h23 unsigned long rax; member
Dfork.c350 child_regs->rax = 0; in process_copy_thread()
Dprocess.c507 regs->rax = 1; in do_execve()
/DragonOS-0.1.5/kernel/src/
Dhead.S217 movq switch_to_start64(%rip), %rax
219 pushq %rax
257 bt $8, %rax
279 movq $__PML4E, %rax //设置页目录基地址
281 movq %rax, %cr3
283 movq switch_seg(%rip), %rax
287 pushq %rax
298 movq $0x10, %rax
299 movq %rax, %ds
300 movq %rax, %es
[all …]
/DragonOS-0.1.5/kernel/src/syscall/
Dsyscall.c81 kerror("System call [ ID #%d ] not exists.", regs->rax); in system_call_not_exists()
100 return system_call_table[regs->rax](regs); in system_call_function()
406 ul ret = system_call_table[regs->rax](regs); in do_syscall_int()
407 regs->rax = ret; // 返回码 in do_syscall_int()
/DragonOS-0.1.5/docs/community/ChangeLog/V0.1.x/
DV0.1.3.md319 bugfix:修复切换进程的宏的汇编代码的损坏部分,未声明rax寄存器,从而导致的编译器未定义行为问题。
/DragonOS-0.1.5/kernel/src/ipc/
Dsignal.rs1022 return regs.rax; in sys_rt_sigreturn()