Home
last modified time | relevance | path

Searched refs:Checksum (Results 1 – 22 of 22) sorted by relevance

/acpica-3.5.0/source/components/utilities/
Dutcksum.c186 UINT8 Checksum; in AcpiUtVerifyChecksum() local
202 Checksum = AcpiUtGenerateChecksum (ACPI_CAST_PTR (UINT8, Table), Length, Table->Checksum); in AcpiUtVerifyChecksum()
206 if (Checksum != Table->Checksum) in AcpiUtVerifyChecksum()
211 Table->Signature, Table->Checksum, in AcpiUtVerifyChecksum()
212 Table->Checksum - Checksum)); in AcpiUtVerifyChecksum()
242 UINT8 Checksum; in AcpiUtVerifyCdatChecksum() local
247 Checksum = AcpiUtGenerateChecksum (ACPI_CAST_PTR (UINT8, CdatTable), in AcpiUtVerifyCdatChecksum()
248 CdatTable->Length, CdatTable->Checksum); in AcpiUtVerifyCdatChecksum()
252 if (Checksum != CdatTable->Checksum) in AcpiUtVerifyCdatChecksum()
257 AcpiGbl_CDAT, CdatTable->Checksum, Checksum)); in AcpiUtVerifyCdatChecksum()
[all …]
/acpica-3.5.0/source/tools/examples/
Dextables.c317 Rsdp->Checksum = 0; in ExInitializeAcpiTables()
318 Rsdp->Checksum = (UINT8) -AcpiUtChecksum ( in ExInitializeAcpiTables()
321 Rsdt->Header.Checksum = 0; in ExInitializeAcpiTables()
322 Rsdt->Header.Checksum = (UINT8) -AcpiUtChecksum ( in ExInitializeAcpiTables()
325 Xsdt->Header.Checksum = 0; in ExInitializeAcpiTables()
326 Xsdt->Header.Checksum = (UINT8) -AcpiUtChecksum ( in ExInitializeAcpiTables()
329 Fadt->Header.Checksum = 0; in ExInitializeAcpiTables()
330 Fadt->Header.Checksum = (UINT8) -AcpiUtChecksum ( in ExInitializeAcpiTables()
362 [0001] Checksum : 43
368 [0001] Extended Checksum : DC
[all …]
/acpica-3.5.0/source/tools/acpibin/
Dabcompare.c272 printf ("Checksum : %2.2X\n", Header->Checksum); in AbPrintHeaderInfo()
292 printf ("Checksum %8.2X : %2.2X\n", Header->Checksum, Header2->Checksum); in AbPrintHeadersInfo()
357 UINT8 Checksum; in AbComputeChecksum() local
406 Table->Checksum = 0; in AbComputeChecksum()
408 Checksum = (UINT8) (0 - AcpiTbSumTable (Table, Table->Length)); in AbComputeChecksum()
409 printf ("Computed checksum: 0x%X\n\n", Checksum); in AbComputeChecksum()
411 if (Header1.Checksum == Checksum) in AbComputeChecksum()
429 Header1.Checksum = Checksum; in AbComputeChecksum()
/acpica-3.5.0/source/common/
Ddmtbdump.c373 UINT8 Checksum; in AcpiDmDumpRsdp() local
387 Checksum = AcpiUtGenerateChecksum (Rsdp, sizeof (ACPI_RSDP_COMMON), in AcpiDmDumpRsdp()
388 Rsdp->Checksum); in AcpiDmDumpRsdp()
389 if (Checksum != Rsdp->Checksum) in AcpiDmDumpRsdp()
392 Checksum); in AcpiDmDumpRsdp()
408 Checksum = AcpiUtGenerateChecksum (Rsdp, sizeof (ACPI_TABLE_RSDP), in AcpiDmDumpRsdp()
410 if (Checksum != Rsdp->ExtendedChecksum) in AcpiDmDumpRsdp()
414 Checksum); in AcpiDmDumpRsdp()
Ddmtables.c252 UINT8 Checksum; in AdCreateTableHeader() local
297 AcpiOsPrintf ("\n * Checksum 0x%2.2X", Table->Checksum); in AdCreateTableHeader()
299 Checksum = AcpiUtChecksum (ACPI_CAST_PTR (UINT8, Table), Table->Length); in AdCreateTableHeader()
300 if (Checksum) in AdCreateTableHeader()
303 (UINT8) (Table->Checksum - Checksum)); in AdCreateTableHeader()
Ddmtbinfo.c204 {ACPI_DMT_CHKSUM, ACPI_HDR_OFFSET (Checksum), "Checksum", 0},
240 {ACPI_DMT_UINT8, ACPI_RSDP_OFFSET (Checksum), "Checksum", 0},
Ddmtable.c1570 ACPI_CAST_PTR (ACPI_TABLE_HEADER, Table)->Checksum); in AcpiDmDumpTable()
1572 if (Temp8 != ACPI_CAST_PTR (ACPI_TABLE_HEADER, Table)->Checksum) in AcpiDmDumpTable()
Ddmtbinfo1.c560 {ACPI_DMT_UINT8, ACPI_CDAT_OFFSET (Checksum), "Checksum", 0},
/acpica-3.5.0/source/compiler/
Ddtutils.c802 UINT8 Checksum; in DtSum() local
806 Checksum = AcpiUtChecksum (Subtable->Buffer, Subtable->Length); in DtSum()
807 *Sum = (UINT8) (*Sum + Checksum); in DtSum()
827 UINT8 Checksum = 0; in DtSetTableChecksum() local
831 DtWalkTableTree (AslGbl_RootTable, DtSum, NULL, &Checksum); in DtSetTableChecksum()
834 Checksum = (UINT8) (Checksum - OldSum); in DtSetTableChecksum()
838 Checksum = (UINT8) (0 - Checksum); in DtSetTableChecksum()
839 *ChecksumPointer = Checksum; in DtSetTableChecksum()
Daslcodegen.c661 AslGbl_TableHeader.Checksum = 0; in CgWriteTableHeader()
692 UINT8 Checksum; in CgUpdateCdatHeader() local
713 Checksum = (UINT8) (0 - Sum); in CgUpdateCdatHeader()
715 DbgPrint (ASL_DEBUG_OUTPUT, "Computed checksum = %X\n", Checksum); in CgUpdateCdatHeader()
720 ACPI_CDAT_OFFSET (Checksum)); in CgUpdateCdatHeader()
722 FlWriteFile (ASL_FILE_AML_OUTPUT, &Checksum, 1); in CgUpdateCdatHeader()
753 UINT8 Checksum; in CgUpdateHeader() local
774 Checksum = (UINT8) (0 - Sum); in CgUpdateHeader()
779 ACPI_OFFSET (ACPI_TABLE_HEADER, Checksum)); in CgUpdateHeader()
781 FlWriteFile (ASL_FILE_AML_OUTPUT, &Checksum, 1); in CgUpdateHeader()
Ddtcompile.c489 DtSetTableChecksum (&ACPI_CAST_PTR (ACPI_TABLE_CDAT, AslGbl_RootTable->Buffer)->Checksum); in DtCompileDataTable()
566 DtSetTableChecksum (&AcpiTableHeader->Checksum); in DtCompileDataTable()
Ddttable.c192 DtSetTableChecksum (&Rsdp->Checksum); in DtCompileRsdp()
Daslrestype1.c196 Descriptor->EndTag.Checksum = 0; in RsDoEndTagDescriptor()
/acpica-3.5.0/source/tools/acpiexec/
Daetables.c269 Header->Checksum = 0; in AeInitializeTableHeader()
270 Header->Checksum = (UINT8) -AcpiUtChecksum ( in AeInitializeTableHeader()
422 LocalRSDP.Checksum = 0; in AeBuildLocalTables()
423 LocalRSDP.Checksum = (UINT8) -AcpiUtChecksum ( in AeBuildLocalTables()
473 ExternalFadt->Header.Checksum = 0; in AeBuildLocalTables()
474 ExternalFadt->Header.Checksum = (UINT8) -AcpiUtChecksum ( in AeBuildLocalTables()
553 LocalTEST.Checksum = 0; in AeBuildLocalTables()
554 LocalTEST.Checksum = (UINT8) -AcpiUtChecksum ( in AeBuildLocalTables()
567 LocalBADTABLE.Checksum = 0; in AeBuildLocalTables()
568 LocalBADTABLE.Checksum = (UINT8) -AcpiUtChecksum ( in AeBuildLocalTables()
Daetables.h529 [009h 0009 1] Checksum : 14
561 [0001] Checksum : 9B
575 [001] Checksum : 9B
/acpica-3.5.0/source/components/tables/
Dtbutils.c239 AcpiGbl_OriginalDsdtHeader.Checksum != AcpiGbl_DSDT->Checksum) in AcpiTbCheckDsdtHeader()
251 AcpiGbl_OriginalDsdtHeader.Checksum = AcpiGbl_DSDT->Checksum; in AcpiTbCheckDsdtHeader()
/acpica-3.5.0/source/include/
Dactbl.h219 … UINT8 Checksum; /* To make sum of entire table == 0 */ member
260 UINT8 Checksum; /* ACPI 1.0 checksum */ member
276 UINT8 Checksum; member
Damlresrc.h354 UINT8 Checksum; member
Dacrestyp.h383 UINT8 Checksum; member
Dactbl1.h593 … UINT8 Checksum; /* To make sum of entire table == 0 */ member
/acpica-3.5.0/tests/aslts/src/runtime/collections/functional/descriptor/
Dresourcetemplate.asl3115 Byte 1 Checksum covering all resource data after the serial identifier. This checksum is
/acpica-3.5.0/documents/
Dchanges.txt2325 Checksum 0xf3 (Ok)