P
US7188339B2ExpiredUtilityPatentIndex 89

ACPI preprocessor

Assignee: HEWLETT PACKARD DEVELOPMENT COPriority: Oct 24, 2003Filed: Oct 24, 2003Granted: Mar 6, 2007
Est. expiryOct 24, 2023(expired)· nominal 20-yr term from priority
Inventors:QURESHI SHIRAZ ALI
G06F 8/41
89
PatentIndex Score
20
Cited by
37
References
22
Claims

Abstract

A computer-implemented method for compiling ASL (ACPI Source Language) code into AML (ACPI machine language) code. The method includes accessing an ASL program. A preprocessor is executed to process the ASL program and to insert support for at least one non-native programming construct. The ASL program is then processed using an ASL compiler to compile the ASL program into a resulting AML program.

Claims

exact text as granted — not AI-modified
1. A computer-implemented method for compiling ASL (ACPI Source Language) code into AML (ACPI machine language) code, comprising:
 accessing an ASL program; 
 executing a preprocessor to process the ASL program and to insert support for at least one non-native programming construct; and 
 processing the ASL program using an ASL compiler to compile the ASL program into a resulting AML program. 
 
   
   
     2. The computer implemented method of  claim 1 , wherein the non-native programming construct is included in the ASL program and is tolerated by the ASL compiler during the compile of the ASL program into the resulting AML program. 
   
   
     3. The computer implemented method of  claim 1 , wherein the non-native programming construct comprises object names having more than four characters. 
   
   
     4. The computer implemented method of  claim 1 , wherein the non-native programming construct comprises at least one shared C header file configured for sharing between the ASL program and a firmware program. 
   
   
     5. The computer implemented method of  claim 1 , wherein the non-native programming construct comprises code configured to change at compile-time to support a platform variance. 
   
   
     6. The computer implemented method of  claim 1 , wherein the non-native programming construct comprises at least one C header file. 
   
   
     7. The computer implemented method of  claim 1 , wherein the non-native programming construct comprises a Zeta-string variable. 
   
   
     8. A compiling method for compiling ASL (ACPI Source Language) code into AML (ACPI machine language) code, comprising:
 accessing an ASL program; 
 executing a preprocessor to process the ASL program and to insert support for at least one non-native programming construct; 
 generating an input ASL program by using the preprocessor, the input ASL program generated in accordance with the ASL program and the at least one non-native programming construct; and 
 processing the input ASL program using an ASL compiler to compile the input ASL program into a resulting AML program. 
 
   
   
     9. The compiling method of  claim 8  wherein the preprocessor generates the input ASL program in accordance with preprocessor instructions contained within the non-native programming construct. 
   
   
     10. The compiling method of  claim 9  wherein the generation of the input ASL program by the preprocessor is controlled by conditions specified by the instructions. 
   
   
     11. The compiling method of  claim 10  wherein the processing of the input ASL program by the ASL compiler yields the resulting AML program that functions in accordance with the conditions specified by the instructions. 
   
   
     12. The compiling method of  claim 11 , wherein the non-native programming construct comprises object names having more than four characters. 
   
   
     13. The compiling method of  claim 11 , wherein the non-native programming construct comprises at least one shared C header file configured for sharing between the ASL program and a firmware program. 
   
   
     14. The compiling method of  claim 11 , wherein the non-native programming construct comprises code configured to change at compile-time to support a platform variance. 
   
   
     15. The compiling method of  claim 11 , wherein the non-native programming construct comprises at least one C header file. 
   
   
     16. The compiling method of  claim 11 , wherein the non-native programming construct comprises a Zeta-string variable. 
   
   
     17. A computer-readable medium embodying instructions that cause a computer system to perform a method for compiling ASL (ACPI Source Language) code into AML (ACPI machine language) code, said method comprising: accessing an ASL program; executing a preprocessor to process the ASL program and to insert support for at least one non-native programming construct; and processing the ASL program using an ASL compiler to compile the ASL program into a resulting AML program tangibly embodied on a computer readable medium. 
   
   
     18. The computer-readable medium of  claim 17 , wherein the non-native programming construct is included in the ASL program and is tolerated by the ASL compiler during the compile of the ASL program into the resulting AML program. 
   
   
     19. The computer-readable medium of  claim 17 , wherein the preprocessor generates the ASL program in accordance with preprocessor instructions contained within the non-native programming construct. 
   
   
     20. The computer-readable medium of  claim 19 , wherein the generation of the ASL program by the preprocessor is controlled by conditions specified by the instructions. 
   
   
     21. A system for compiling ASL (ACPI Source Language) code into AML (ACPI machine language) code, comprising: means for accessing an ASL program; means for executing a preprocessor to process the ASL program and to insert support for at least one non-native programming construct; and means for processing the ASL program using an ASL compiler to compile the ASL program into a resulting AML program tangibly embodied on a computer readable medium. 
   
   
     22. The system of  claim 21 , wherein the non-native programming construct is included in the ASL program and is tolerated by the ASL compiler during the compile of the ASL program into the resulting AML program.

Cited by (0)

No later patents cite this yet.

References (0)

No backward citations on record.