Home
last modified time | relevance | path

Searched refs:r9 (Results 1 – 8 of 8) sorted by relevance

/DragonOS-0.1.5/kernel/src/filesystem/vfs/
Dsyscall.rs35 let flags = regs.r9; in sys_open()
69 let buf_vaddr = regs.r9 as usize; in sys_read()
98 let buf_vaddr = regs.r9 as usize; in sys_write()
127 let offset = regs.r9 as i64; in sys_lseek()
228 let dirent = match unsafe { (regs.r9 as usize as *mut Dirent).as_mut() } { in sys_getdents()
273 let mode = regs.r9; in sys_mkdir()
305 let ptr = regs.r9 as usize as *const c_char; in sys_unlink_at()
/DragonOS-0.1.5/kernel/src/process/
Dptrace.h13 unsigned long r9; member
Dprocess.c145 tmp.r9 = O_RDONLY; in process_open_exec_file()
173 tmp_use_fs.r9 = 0; in process_load_elf_file()
179 tmp_use_fs.r9 = (uint64_t)buf; in process_load_elf_file()
184 tmp_use_fs.r9 = 0; in process_load_elf_file()
235 tmp_use_fs.r9 = pos; in process_load_elf_file()
241 tmp_use_fs.r9 = (uint64_t)buf; in process_load_elf_file()
246 tmp_use_fs.r9 = 0; in process_load_elf_file()
328 tmp_use_fs.r9 = pos; in process_load_elf_file()
342 tmp_use_fs.r9 = (uint64_t)buf3; in process_load_elf_file()
349 tmp_use_fs.r9 = 0; in process_load_elf_file()
Dproc.S17 popq %r9
/DragonOS-0.1.5/kernel/src/syscall/
Dsyscall.c163 printk_color(regs->r9, regs->r10, (char *)regs->r8); in sys_put_string()
303 char **argv = (char **)regs->r9; in sys_execve()
344 int *status = (int *)regs->r9; in sys_wait4()
391 struct timespec *rmtp = (struct timespec *)regs->r9; in sys_nanosleep()
/DragonOS-0.1.5/kernel/src/
Dhead.S308 leaq GDT_END(%rip), %r9
310 subq %r8, %r9
311 movq %r9, %r13 // GDT size
314 leaq IDT_END(%rip), %r9
316 subq %r8, %r9
317 movq %r9, %r12 // IDT size
/DragonOS-0.1.5/kernel/src/exception/
Dentry.S39 popq %r9
92 pushq %r9
/DragonOS-0.1.5/kernel/src/ipc/
Dsignal.rs66 let sig: SignalNumber = SignalNumber::from(regs.r9 as i32); in sys_kill()
808 let act = regs.r9 as usize as *mut user_sigaction; in sys_sigaction()