3 ms·
The fun thing is that I found out that these 64-bit call gates are rarely used. Because it does not disable interrupts for example. Back when AMD was developing
by yuhong 9y ago
The fun thing is that I found out that these 64-bit call gates are rarely used. Because it does not disable interrupts for example.
Back when AMD was developing x86-64, they were probably focusing on Linux which did not use call gates.
- dfox 9y agoThe fact that call gates does not disable interrupts is usually the desired behavior. Linux (and NT for 32 bit code) does not use call gates because they are not that useful for OSes that target the Unix/C flat memory model. You can probably use call gates to implement particularly fast IPC mechanism with semantics similar to QNX's message passing. But probably only real users of call gates are DOS extenders and 32 bit windows for 32/16b thunking (which is to large extent the same use case of mixing 32/16b code in single process).