summaryrefslogtreecommitdiff
path: root/compiler/dtcompiler.h
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/dtcompiler.h')
-rw-r--r--compiler/dtcompiler.h41
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);