Lines Matching refs:Checksum
215 * PARAMETERS: Buffer - Buffer to checksum
218 * RETURNS 8 bit checksum of buffer
220 * DESCRIPTION: Computes an 8 bit checksum of the buffer(length) and returns it.
272 printf ("Checksum : %2.2X\n", Header->Checksum);
292 printf ("Checksum %8.2X : %2.2X\n", Header->Checksum, Header2->Checksum);
347 * DESCRIPTION: Compute proper checksum for an ACPI table
357 UINT8 Checksum;
404 /* Compute the checksum for the table */
406 Table->Checksum = 0;
408 Checksum = (UINT8) (0 - AcpiTbSumTable (Table, Table->Length));
409 printf ("Computed checksum: 0x%X\n\n", Checksum);
411 if (Header1.Checksum == Checksum)
413 printf ("Checksum OK in AML file, not updating\n");
417 /* Open the target file for writing, to update checksum */
427 /* Set the checksum, write the new header */
429 Header1.Checksum = Checksum;
438 printf ("Wrote new checksum\n");