diff options
| author | Jung-uk Kim <jkim@FreeBSD.org> | 2011-04-13 18:18:52 +0000 |
|---|---|---|
| committer | Jung-uk Kim <jkim@FreeBSD.org> | 2011-04-13 18:18:52 +0000 |
| commit | 997de4e17cf02a81027df8d01a4fcefe25da3796 (patch) | |
| tree | f5abd67cc9e3ada1ae289fe7cf2e23d9abf07fcc /compiler/dtcompiler.h | |
| parent | 4d8fe534b7309d798d941e14e51985eed6b511bc (diff) | |
Diffstat (limited to 'compiler/dtcompiler.h')
| -rw-r--r-- | compiler/dtcompiler.h | 41 |
1 files changed, 37 insertions, 4 deletions
diff --git a/compiler/dtcompiler.h b/compiler/dtcompiler.h index 9138a78e71bf..f68e4b5f18b0 100644 --- a/compiler/dtcompiler.h +++ b/compiler/dtcompiler.h @@ -220,9 +220,20 @@ DtGetParentSubtable ( /* dtexpress - Integer expressions and labels */ -UINT64 +ACPI_STATUS DtResolveIntegerExpression ( - DT_FIELD *Field); + DT_FIELD *Field, + UINT64 *ReturnValue); + +UINT64 +DtDoOperator ( + UINT64 LeftValue, + UINT32 Operator, + UINT64 RightValue); + +UINT64 +DtResolveLabel ( + char *LabelString); void DtDetectAllLabels ( @@ -260,6 +271,25 @@ DtCompileFlag ( ACPI_DMTABLE_INFO *Info); +/* dtparser - lex/yacc files */ + +UINT64 +DtEvaluateExpression ( + char *ExprString); + +int +DtInitLexer ( + char *String); + +void +DtTerminateLexer ( + void); + +char * +DtGetOpName ( + UINT32 ParseOpcode); + + /* dtutils - Miscellaneous utilities */ typedef @@ -306,8 +336,7 @@ DtGetFileSize ( char* DtGetFieldValue ( - DT_FIELD *Field, - char *Name); + DT_FIELD *Field); UINT8 DtGetFieldType ( @@ -417,6 +446,10 @@ ACPI_STATUS DtCompileXsdt ( void **PFieldList); +ACPI_STATUS +DtCompileGeneric ( + void **PFieldList); + ACPI_DMTABLE_INFO * DtGetGenericTableInfo ( char *Name); |
