A process has both user space stack and kernel space stack. When a system
call happens, all parameters are either copied to stack or in registers and
using exception it switches to kernel. As from asmlinkage, I understand
parameters are passed onto stack. So once in kernel space, all parameters
from ULK:
Hardware Handling of Interrupts and Exceptions
We now describe how the CPU control unit handles interrupts and exceptions.
We assume that the kernel has been initialized, and thus the CPU is
operating in Protected Mode.
After executing an instruction, the cs and eip pair of registers
On Wed, Aug 20, 2008 at 3:43 PM, Mayuresh [EMAIL PROTECTED] wrote:
A process has both user space stack and kernel space stack. When a system
call happens, all parameters are either copied to stack or in registers and
using exception it switches to kernel. As from asmlinkage, I understand
On 20-08-08 10:43, Mayuresh wrote:
A process has both user space stack and kernel space stack. When a
system call happens, all parameters are either copied to stack or in
registers and using exception it switches to kernel. As from
asmlinkage, I understand parameters are passed onto stack. So