Age | Commit message (Collapse) | Author |
|
Given a dispatch slot, entry_get_public returns the address of the
corresponding public entry point. There may be more than one of them.
But since they are all equivalent, it is fine to return any one of them.
With entry_get_public, the address of any public entry point can be
calculated at runtime when an assembly dispatcher is used. There is no
need to have a mapping table in such case. This omits the unnecessary
relocations from the binary.
|
|
Add accessors for struct mapi_stub and make it opaque.
|
|
The preprocessor magic in mapi was nothing but obfuscation. Rewrite
mapi_abi.py to generate real C code.
This commit removes the hack added in
43121f20866bb89e8dac92bd92ec85a943704b7e.
|
|
Right fix is probably stop C-preprocessor abuse and stick 100% with
scripted code generation.
|
|
The idea is to have an API generate a header using mapi_abi.py. The API
can then use the header to build a dispatcher.
|