Re: the first instruction in entry_sys_fast_ipc_c
Adam Lackorzynski <[email protected]>
| Newsgroups | gmane.comp.micro-kernel.l4.devel |
|---|---|
| Message-ID | <[email protected]> |
On Tue Apr 28, 2015 at 11:27:31 +0800, watermirror wrote: > hi, after entered the entry_sys_fast_ipc_c through sysenter, > why the first instruction is 'pop %esp'? With sysenter, kernel is always entered on the same stack memory (see MSR_SYSENTER_ESP), so the current stack is stored there and loaded via the pop. Adam -- Adam [email protected] Lackorzynski http://os.inf.tu-dresden.de/~adam/