Patent ID: 7406681
Filing Date: 2008-07-29
Classification: G06F

Abstract:
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.