All of lore.kernel.org
 help / color / mirror / Atom feed
* [KJ] Re: accessing user mode register
@ 2005-01-15 12:18 Domen Puncer
  0 siblings, 0 replies; only message in thread
From: Domen Puncer @ 2005-01-15 12:18 UTC (permalink / raw)
  To: kernel-janitors

[-- Attachment #1: Type: text/plain, Size: 380 bytes --]

On 15/01/05 11:07 -0000, surendra singh  bisht wrote:
>   
> 
>   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

[-- Attachment #2: Type: text/plain, Size: 167 bytes --]

_______________________________________________
Kernel-janitors mailing list
Kernel-janitors@lists.osdl.org
http://lists.osdl.org/mailman/listinfo/kernel-janitors

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-01-15 12:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-15 12:18 [KJ] Re: accessing user mode register Domen Puncer

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.