Re: Question on asmlinkage

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 16-01-08 13:56, srinivas bakki wrote:

    No they aren't. The stack _is_ switched though.
And how do the arguments reach the kernel stack from the user space if they were supposed to be fetched from the stack ?

The flow of things is that the arguments survive the actual context switch
in registers and are then pushed onto the kernel stack by the common syscall
entry code in entry.S -- specifically, by the SAVE_ALL macro.

Rene.



--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux