accessing user mode register
Quoted 5 lines · surendra singh bisht
how do i access user mode register from kernel space
i m trying to write a system call where i need to access the register pushed in stack during system call
(Wrong list, you might want to try at kernel-newbies.)
struct pt_regs is passed to syscall, so just use it (see sys_clone for example).
Domen
_______________________________________________
Kernel-janitors mailing list
[email protected]
http://lists.osdl.org/mailman/listinfo/kernel-janitors