System for the conversion of subroutine calls in a simulated environment for program development
A cross-domain call jacketing system is provided in a computer system that embodies a first hardware (X) architecture to executing X-code in an X-domain and which simulates at least a second computer hardware (Y) architecture executing Y-code in a Y-domain. Cross-domain routine calls are Jacketed for services in the cross-domain and for returns after the requested services have been performed. After Jacketing, X routine calls are transmitted for implementation by the simulating subsystem and Y calls are transmitted for implementation in the X domain. Call parameters are transformed from a representation that uses the call conventions of the calling domain to another representation that uses the call conventions of the called domain. Data in the memory is generally globally accessible and the Y calls include data references that require memory access handling in the X domain. A first Jacketing table is provided for each executable routine in the X domain. A second Jacketing table is provided for each executable routine in the Y domain. A run-time Jacketing routine is driven by the jacketing tables to drive the call parameter transformations needed to complete cross-domain calls.