HomeSort by: relevance | last modified time | path
    Searched refs:Checksum (Results 1 - 25 of 35) sorted by relevancy

1 2

  /src/sys/external/bsd/acpica/dist/utilities/
utcksum.c 66 * exception on bad checksum.
78 UINT8 Checksum;
83 * They are the odd tables, have no standard ACPI header and no checksum
91 /* Compute the checksum on the table */
94 Checksum = AcpiUtGenerateChecksum (ACPI_CAST_PTR (UINT8, Table), Length, Table->Checksum);
96 /* Computed checksum matches table? */
98 if (Checksum != Table->Checksum)
101 "Incorrect checksum in table [%4.4s] - 0x%2.2X,
    [all...]
  /src/sys/external/bsd/acpica/dist/common/
dmtbdump.c 258 UINT8 Checksum;
270 /* Validate the first checksum */
272 Checksum = AcpiUtGenerateChecksum (Rsdp, sizeof (ACPI_RSDP_COMMON),
273 Rsdp->Checksum);
274 if (Checksum != Rsdp->Checksum)
276 AcpiOsPrintf ("/* Incorrect Checksum above, should be 0x%2.2X */\n",
277 Checksum);
291 /* Validate the extended checksum over entire RSDP */
293 Checksum = AcpiUtGenerateChecksum (Rsdp, sizeof (ACPI_TABLE_RSDP)
    [all...]
dmtables.c 150 UINT8 Checksum;
193 /* Print and validate the table checksum */
195 AcpiOsPrintf ("\n * Checksum 0x%2.2X", Table->Checksum);
197 Checksum = AcpiUtChecksum (ACPI_CAST_PTR (UINT8, Table), Table->Length);
198 if (Checksum)
200 AcpiOsPrintf (" **** Incorrect checksum, should be 0x%2.2X",
201 (UINT8) (Table->Checksum - Checksum));
dmtbinfo.c 96 {ACPI_DMT_CHKSUM, ACPI_HDR_OFFSET (Checksum), "Checksum", 0},
132 {ACPI_DMT_UINT8, ACPI_RSDP_OFFSET (Checksum), "Checksum", 0},
145 {ACPI_DMT_UINT8, ACPI_RSDP_OFFSET (ExtendedChecksum), "Extended Checksum", 0},
  /src/sys/external/bsd/acpica/dist/tools/acpibin/
abcompare.c 107 * PARAMETERS: Buffer - Buffer to checksum
110 * RETURNS 8 bit checksum of buffer
112 * DESCRIPTION: Computes an 8 bit checksum of the buffer(length) and returns it.
164 printf ("Checksum : %2.2X\n", Header->Checksum);
184 printf ("Checksum %8.2X : %2.2X\n", Header->Checksum, Header2->Checksum);
239 * DESCRIPTION: Compute proper checksum for an ACPI table
249 UINT8 Checksum;
    [all...]
  /src/sys/external/bsd/acpica/dist/compiler/
dtutils.c 714 * ReturnValue - Store the checksum of subtable
718 * DESCRIPTION: Get the checksum of subtable
728 UINT8 Checksum;
732 Checksum = AcpiUtChecksum (Subtable->Buffer, Subtable->Length);
733 *Sum = (UINT8) (*Sum + Checksum);
741 * PARAMETERS: ChecksumPointer - Where to return the checksum
745 * DESCRIPTION: Set checksum of the whole data table into the checksum field
753 UINT8 Checksum = 0;
757 DtWalkTableTree (AslGbl_RootTable, DtSum, NULL, &Checksum);
    [all...]
aslcodegen.c 503 /* Table length. Checksum zero for now, will rewrite later */
553 AslGbl_TableHeader.Checksum = 0;
571 * DESCRIPTION: Complete the ACPI table by calculating the checksum and
584 UINT8 Checksum;
587 /* Calculate the checksum over the entire definition block */
605 Checksum = (UINT8) (0 - Sum);
607 DbgPrint (ASL_DEBUG_OUTPUT, "Computed checksum = %X\n", Checksum);
609 /* Re-write the checksum byte */
612 ACPI_CDAT_OFFSET (Checksum));
    [all...]
dttable.c 84 DtSetTableChecksum (&Rsdp->Checksum);
99 /* Set length and extended checksum for entire RSDP */
dtcompile.c 377 * Set the overall table length and the table checksum.
379 * the table length and checksum) is in AslGbl_RootTable->Buffer.
382 DtSetTableChecksum (&ACPI_CAST_PTR (ACPI_TABLE_CDAT, AslGbl_RootTable->Buffer)->Checksum);
454 /* Set the final table length and then the checksum */
459 DtSetTableChecksum (&AcpiTableHeader->Checksum);
aslrestype1.c 88 Descriptor->EndTag.Checksum = 0;
  /src/sys/external/bsd/acpica/dist/tools/acpiexec/
aetables.c 159 /* Set the checksum, must set to zero first */
161 Header->Checksum = 0;
162 Header->Checksum = (UINT8) -AcpiUtChecksum (
314 LocalRSDP.Checksum = 0;
315 LocalRSDP.Checksum = (UINT8) -AcpiUtChecksum (
338 * addresses as well as the checksum
363 /* Complete the external FADT with the checksum */
365 ExternalFadt->Header.Checksum = 0;
366 ExternalFadt->Header.Checksum = (UINT8) -AcpiUtChecksum (
445 LocalTEST.Checksum = 0
    [all...]
aetables.h 421 [009h 0009 1] Checksum : 14
453 [0001] Checksum : 9B
467 [001] Checksum : 9B
  /src/sys/arch/ia64/stand/ia64/ski/
acpi_stub.c 83 0, /* XXX checksum. */
150 0, /* XXX checksum. */
162 0, /* XXX checksum. */
168 0, /* XXX Extended checksum. */
189 cksum(&acpi_root, 20, &acpi_root.Checksum);
193 cksum(&xsdt, sizeof(xsdt), &xsdt.Header.Checksum);
  /src/sys/external/bsd/acpica/dist/tables/
tbutils.c 128 /* Compare original length and checksum to current values */
131 AcpiGbl_OriginalDsdtHeader.Checksum != AcpiGbl_DSDT->Checksum)
143 AcpiGbl_OriginalDsdtHeader.Checksum = AcpiGbl_DSDT->Checksum;
365 /* Validate the root table checksum */
  /src/sys/external/bsd/acpica/dist/tools/examples/
extables.c 209 Rsdp->Checksum = 0;
210 Rsdp->Checksum = (UINT8) -AcpiUtChecksum (
213 Rsdt->Header.Checksum = 0;
214 Rsdt->Header.Checksum = (UINT8) -AcpiUtChecksum (
217 Xsdt->Header.Checksum = 0;
218 Xsdt->Header.Checksum = (UINT8) -AcpiUtChecksum (
221 Fadt->Header.Checksum = 0;
222 Fadt->Header.Checksum = (UINT8) -AcpiUtChecksum (
254 [0001] Checksum : 43
260 [0001] Extended Checksum : D
    [all...]
  /src/sys/external/bsd/acpica/dist/include/
actbl.h 111 UINT8 Checksum; /* To make sum of entire table == 0 */
152 UINT8 Checksum; /* ACPI 1.0 checksum */
158 UINT8 ExtendedChecksum; /* Checksum of entire table (ACPI 2.0+) */
168 UINT8 Checksum;
amlresrc.h 246 UINT8 Checksum;
  /src/common/dist/zlib/contrib/dotzlib/DotZLib/
CodecBase.cs 112 /// Gets the checksum of the data that has been added so far
114 public uint Checksum { get { return _checksum; } }
188 /// Updates the running checksum property
190 /// <param name="newSum">The new checksum value</param>
UnitTests.cs 206 adler1 = def.Checksum;
236 adler2 = inf.Checksum;
DotZLib.cs 112 /// Declares methods and properties that enables a running checksum to be calculated
117 /// Gets the current value of the checksum
122 /// Clears the current checksum to 0
127 /// Updates the current checksum with an array of bytes
129 /// <param name="data">The data to update the checksum with</param>
133 /// Updates the current checksum with part of an array of bytes
135 /// <param name="data">The data to update the checksum with</param>
144 /// Updates the current checksum with the data from a string
146 /// <param name="data">The string to update the checksum with</param>
151 /// Updates the current checksum with the data from a string, using a specific encoding
    [all...]
  /src/sys/arch/ibmnws/include/
pnp.h 215 #define S15_Packet 0x78 /* End of resource (w/o checksum) */
216 #define S15_Packet_checksum 0x79 /* End of resource (w/ checksum) */
457 unsigned char Checksum;
582 unsigned char Check; /* optional - checksum */
  /src/sys/arch/mac68k/obio/
iwm.s 643 * Understand and document the checksum algorithm!
734 moveq #0,%d5 | Clear checksum registers
852 * Next read checksum bytes
872 cmpb %d2,%d5 | Compare first checksum to %D5
873 bne rsBadCkSum | Fault! (Checksum)
884 cmpb %d2,%d6 | Compare second checksum to %D6
885 bne rsBadCkSum | Fault! (Checksum)
895 cmpb %d1,%d7 | Compare third checksum to %D7
896 beq rsLdOut | Fault! (Checksum)
899 moveq #badDCkSum,%d0 | Bad data mark checksum
    [all...]
  /src/sys/arch/prep/include/
pnp.h 215 #define S15_Packet 0x78 /* End of resource (w/o checksum) */
216 #define S15_Packet_checksum 0x79 /* End of resource (w/ checksum) */
457 unsigned char Checksum;
607 unsigned char Check; /* optional - checksum */
  /src/sys/external/bsd/gnu-efi/dist/inc/
efipxebc.h 85 UINT16 Checksum;
  /src/sys/arch/i386/stand/pxeboot/
pxe.h 74 uint8_t Checksum; /* checksum pad */

Completed in 75 milliseconds

1 2