Page 1 of 1
Call gates
Posted: Mon May 03, 2004 4:51 am
by ManOfSteel
hello,
I need some information about call gates: how to set them up (are they written in the GDT or in the IDT) and how to use them.
Thanks in advance for any help.
Re:Call gates
Posted: Mon May 03, 2004 6:17 am
by Pype.Clicker
i suggest you get a look at these threads:
http://www.mega-tokyo.com/forum/index.p ... 38;start=0
http://www.mega-tokyo.com/forum/index.p ... 27;start=0
http://www.mega-tokyo.com/forum/index.p ... 36;start=0
(very) basically, a 'gate' is a 'jump/call redirector'. You place a gate #i in a process LDT and when the program will CALL i:0, it will actually be calling SOME_OTHER_CODE_SEGMENT:SOME_FUNCTION.
Gates may also offer priviledge raising and transparent stack-based parameters passing...