Gateway instructions
Quoted 4 lines
OK, so you don't have a spot on the page for each syscall? I was thinking that we'd want to do that, since we're going to use the whole page anyway and it would make things a little quicker by eliminating the later dispatch-by-syscall step.
There's a fair amount of setup code common to all syscalls before the dispatch to individual kernel entry points, and there are a lot of syscalls in HP-UX, so we use a single gateway.
For the 64-bit ABI, the gateway address is not hardcoded; when the program is loaded, the kernel passes it the address of a syscall vector table, which has one pointer per syscall. Most of the syscalls still vector to the one common gateway, but the lightweight syscalls can now be vectored off to a special gateway that has less overhead.
The 32-bit syscall convention is documented in (of all places) the Assembler manual; the 64-bit convention is documented in the PA-64 runtime supplement (program startup chapter). These documents are available from
http://www.software.hp.com/STK
Cary Coutant
Hewlett-Packard Co.
Application Delivery Lab
Quoted 6 lines · Cary Coutant
The 32-bit syscall convention is documented in (of all places) the Assembler manual; the 64-bit convention is documented in the PA-64 runtime supplement (program startup chapter). These documents are available from
When I click on
http://docs.hp.com:80/dynaweb/hpux11/dtdcen1a/b541/@Generic__BookView
(the Assembler Reference Manual from
http://www.software.hp.com/STK/toc.html#Assembly ) I get an error:
No item b541 exists in collection dtdcen1a (fbebtcol.cc:1120)
Is there another place to find it?
Mike
Signature · 1 line
399279.02 342330.84
Quoted 8 lines · Mike Shaver
When I click on
http://docs.hp.com:80/dynaweb/hpux11/dtdcen1a/b541/@Generic__BookView
(the Assembler Reference Manual from
http://www.software.hp.com/STK/toc.html#Assembly ) I get an error:No item b541 exists in collection dtdcen1a (fbebtcol.cc:1120)
Is there another place to find it?
Hey look -- there is!
http://docs.hp.com:80/dynaweb/hpux11/dtdcen1a/b821/@Generic__BookView
Thanks to Pablo for pointing it out.
Mike
Signature · 1 line
402266.28 345101.43