×

Automatic conversion of source code from 32-bit to 64-bit

  • US 7,406,681 B1
  • Filed: 10/12/2000
  • Issued: 07/29/2008
  • Est. Priority Date: 10/12/2000
  • Status: Expired due to Term
First Claim
Patent Images

1. A method in a data processing system, comprising the steps of:

  • receiving 32-bit source code;

    generating, from the 32-bit source code, a 32-bit interface file including statements describing characteristics of parameters in the 32-bit source code, wherein generating a 32-bit interface file includes invoking an interface generator that;

    scans the 32-bit source code and creates the interface file according to a definition; and

    adds to the interface file the statements describing characteristics of the parameters by parsing the 32-bit source code; and

    automatically generating, based on the statements in the 32-bit interface file, a 32-bit to 64-bit conversion stub that is used by the 32-bit source code to invoke 64-bit code, wherein automatically generating a 32-bit to 64-bit conversion stub includes invoking a stub generator that;

    reads the 32-bit interface file to populate a hash table with information identifying the parameters in the interface file;

    re-reads the 32-bit interface file to populate the hash table with information indicating processing that occurs for the statements in the interface file; and

    generates the 32-bit to 64-bit conversion stub using the hash table.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×