diff options
author | jkim <jkim@FreeBSD.org> | 2013-01-02 19:01:21 +0000 |
---|---|---|
committer | jkim <jkim@FreeBSD.org> | 2013-01-02 19:01:21 +0000 |
commit | 8f7c8be022add76a280165a4247448f1fcd77631 (patch) | |
tree | 434e706ece73a93073f350c91cd35ed7d7e98811 /source/compiler/dtcompile.c | |
parent | 526bfcf905004d9b67338a445cb661a63c3de018 (diff) | |
download | FreeBSD-src-8f7c8be022add76a280165a4247448f1fcd77631.zip FreeBSD-src-8f7c8be022add76a280165a4247448f1fcd77631.tar.gz |
Import ACPICA 20121220.
Diffstat (limited to 'source/compiler/dtcompile.c')
-rw-r--r-- | source/compiler/dtcompile.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/source/compiler/dtcompile.c b/source/compiler/dtcompile.c index e67f3e6..96e2b41 100644 --- a/source/compiler/dtcompile.c +++ b/source/compiler/dtcompile.c @@ -165,7 +165,7 @@ DtDoCompile ( /* Write the binary, then the optional hex file */ DtOutputBinary (Gbl_RootTable); - LsDoHexOutput (); + HxDoHexOutput (); DtWriteTableToListing (); CleanupAndExit: @@ -284,6 +284,7 @@ DtCompileDataTable ( char *Signature; ACPI_TABLE_HEADER *AcpiTableHeader; ACPI_STATUS Status; + DT_FIELD *RootField = *FieldList; /* Verify that we at least have a table signature and save it */ @@ -354,7 +355,7 @@ DtCompileDataTable ( if (!TableData || Gbl_CompileGeneric) { DtCompileGeneric ((void **) FieldList); - goto Out; + goto FinishHeader; } /* Dispatch to per-table compile */ @@ -391,7 +392,8 @@ DtCompileDataTable ( return (AE_ERROR); } -Out: +FinishHeader: + /* Set the final table length and then the checksum */ DtSetTableLength (); @@ -399,6 +401,8 @@ Out: ACPI_TABLE_HEADER, Gbl_RootTable->Buffer); DtSetTableChecksum (&AcpiTableHeader->Checksum); + DtDumpFieldList (RootField); + DtDumpSubtableList (); return (AE_OK); } |