"Pascal Levy" <[EMAIL PROTECTED]> wrote in message news:77648@palm-dev-forum... > > Hi all, > > I understand that patching traps using SysSetTrapAddress in OS 5 doesn't > make sense because of the emulation layer, but what about calling directly > an API function using a pointer returned by SysGetTrapAddress ? > > I guess it won't be permitted anymore for the same reason, but the last SDK > docs keep on saying to use this mechanism for optimization in tight loop, to > avoid to go through the dispatch table.
At PalmSource, they indicated that a call to SysGetTrapAddress will work -- the PACE layer will return a fake address that will turn into the ARM system call when its accessed. It is only the SetTrapAddress mechanism that's not supported. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/
