Call Gate - Modern Use

Modern Use

Modern X86 operating systems are transitioning away from CALL FAR callgates. With the introduction of SYSENTER/SYSEXIT and SYSCALL/SYSRET, a new faster mechanism was introduced for control transfers for x86 programs. And as most other architectures do not support call gates, their use was rare even before these new instructions as software interrupts/traps were preferred for portability.

Call gates are more flexible than the SYSENTER/SYSEXIT and SYSCALL/SYSRET instructions since unlike the latter two, call gates allow for changing from an arbitrary privilege level to an arbitrary (albeit higher or equal) privilege level. The fast SYS* instruction only allow control transfers from ring 3->0 and vice versa. Upon comparing call gates to interrupts, call gates are significantly faster.

Read more about this topic:  Call Gate

Famous quotes containing the word modern:

    Chaucer is fresh and modern still, and no dust settles on his true passages. It lightens along the line, and we are reminded that flowers have bloomed, and birds sung, and hearts beaten in England. Before the earnest gaze of the reader, the rust and moss of time gradually drop off, and the original green life is revealed. He was a homely and domestic man, and did breathe quite as modern men do.
    Henry David Thoreau (1817–1862)

    Not so many years ago there there was no simpler or more intelligible notion than that of going on a journey. Travel—movement through space—provided the universal metaphor for change.... One of the subtle confusions—perhaps one of the secret terrors—of modern life is that we have lost this refuge. No longer do we move through space as we once did.
    Daniel J. Boorstin (b. 1914)