Re: About the system call named "sys_mount".

2009-10-20 Thread Quentin Carbonneaux
It seems that for x86 it's the same, a simple mov do the thing, I think it is because (on x86), this function MUST be called in user context, thus cr3 is pointing to the table of the process and thus the kernel can access user pages by a simple mov. http://lxr.linux.no/linux+v2.6.31/arch/x86/includ

Re: Simple USB mouse driver.

2009-07-20 Thread Quentin Carbonneaux
Hi, I'm currently working on a the driver appletouch.c (can be found in drivers/input/mouse/) it's quite clear and uses USB interrupts. Irecommand you to read this. Moreover the chapter about USB devices in LDD can give you informations on USB interrupts messages (how to submit URBs etc ).