|
|
edb6c78 |
Index: acpica-unix2-20200925/source/compiler/aslparseop.c
|
|
|
49c3e9a |
===================================================================
|
|
|
edb6c78 |
--- acpica-unix2-20200925.orig/source/compiler/aslparseop.c
|
|
|
edb6c78 |
+++ acpica-unix2-20200925/source/compiler/aslparseop.c
|
|
|
edb6c78 |
@@ -285,7 +285,16 @@ TrCreateValuedLeafOp (
|
|
|
ba2e05f |
|
|
|
ba2e05f |
|
|
|
ba2e05f |
Op = TrAllocateOp (ParseOpcode);
|
|
|
ba2e05f |
- Op->Asl.Value.Integer = Value;
|
|
|
ba2e05f |
+ if (ParseOpcode == PARSEOP_NAMESTRING ||
|
|
|
ba2e05f |
+ ParseOpcode == PARSEOP_NAMESEG ||
|
|
|
ba2e05f |
+ ParseOpcode == PARSEOP_STRING_LITERAL)
|
|
|
ba2e05f |
+ {
|
|
|
ba2e05f |
+ Op->Asl.Value.String = (char *) Value;
|
|
|
ba2e05f |
+ }
|
|
|
ba2e05f |
+ else
|
|
|
ba2e05f |
+ {
|
|
|
ba2e05f |
+ Op->Asl.Value.Integer = Value;
|
|
|
ba2e05f |
+ }
|
|
|
ba2e05f |
|
|
|
ba2e05f |
DbgPrint (ASL_PARSE_OUTPUT,
|
|
|
ba2e05f |
"\nCreateValuedLeafOp Ln/Col %u/%u NewOp %p "
|