×

Inter-architecture compatability module to allow code module of one architecture to use library module of another architecture

  • US 10,120,663 B2
  • Filed: 03/28/2014
  • Issued: 11/06/2018
  • Est. Priority Date: 03/28/2014
  • Status: Active Grant
First Claim
Patent Images

1. An inter-architecture compatibility apparatus comprising:

  • a control flow transfer reception module that is one or more of (a) included on a die of a Y-bit architecture processor and (b) stored in a memory to receive a first call procedure operation intended for a first X-bit architecture library module, which is to be compatible with an X-bit architecture processor, from a first X-bit architecture code module that is to be running on the Y-bit architecture processor, through function inter-positioning where a wrapper library is to be searched before a first X-bit architecture library is searched, and where a first wrapper module has a same name as the first X-bit architecture library module is to be identified before the first X-bit architecture library module, the first call procedure operation to involve a first plurality of input parameters, wherein the first X-bit architecture library module is one of a C standard library module, a math library module, a glibc module, and a system library module;

    an application binary interface (ABI) change module that is one or more of (a) included on the die of the Y-bit architecture processor (b) stored in the memory, and coupled with the control flow transfer reception module, the ABI change module to make ABI changes to convert the first call procedure operation that is to involve the first plurality of input parameters to a corresponding second call procedure operation that is to involve a second plurality of input parameters and that is to be compatible with a second Y-bit architecture library module, which is to be compatible with the Y-bit architecture processor, wherein Y is greater than X; and

    a control flow transfer output module that is one or more of (a) included on the die of the Y-bit architecture processor and (b) stored in the memory coupled with the ABI change module, the control flow transfer output module to provide the second call procedure operation to the second Y-bit architecture library module, which is to be compatible with the Y-bit architecture processor on which the first X-bit architecture code module is to be running.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×