the first instruction in entry_sys_fast_ipc_c
28 Apr
2015
28 Apr
'15
5:27 a.m.
hi, after entered the entry_sys_fast_ipc_c through sysenter, why the first instruction is 'pop %esp'?
28 Apr
28 Apr
10:43 p.m.
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 adam@os.inf.tu-dresden.de Lackorzynski http://os.inf.tu-dresden.de/~adam/
3962
Age (days ago)
3962
Last active (days ago)
1 comments
2 participants
participants (2)
-
Adam Lackorzynski -
watermirror