SYSENTER: Difference between revisions
Jump to navigation
Jump to search
[unchecked revision] | [unchecked revision] |
Content added Content deleted
(Created page about SYSCALL/SYSRET and SYSENTER/SYSEXIT) |
m (category) |
||
Line 8: | Line 8: | ||
NOTE: these instructions assume a flat segmented memory model (paging allowed). They require that "the code-segment base, limit, and attributes (except for CPL) are |
NOTE: these instructions assume a flat segmented memory model (paging allowed). They require that "the code-segment base, limit, and attributes (except for CPL) are |
||
consistent for all application and system processes." --AMD System programming |
consistent for all application and system processes." --AMD System programming |
||
[[ |
[[Category:X86 CPU]] |
Revision as of 08:58, 4 February 2013
This page is a stub.
You can help the wiki by accurately adding more contents to it.
Introduction
The SYSENTER/SYSEXIT instructions (and equvialent SYSCALL/SYSRET on AMD) enable fast entry to the kernel, avoiding interrupt overhead. This is the method used by Windows NT (XP/Vista/7/8) for it's API. SYSCALL/SYSRET are covered here as well, but operate slightly differently.
INTEL: SYSENTER/SYSEXIT
Operation
AMD: SYSCALL/SYSRET
Operation
NOTE: these instructions assume a flat segmented memory model (paging allowed). They require that "the code-segment base, limit, and attributes (except for CPL) are consistent for all application and system processes." --AMD System programming