cpu.resource(pc-i386) Get this compile again, with acpica.library
[AROS.git] / arch / all-pc / acpi / acpi_intern.h
blob4a797959a3e067d935cc2e0a8f6e4c61aa5a9ee5
1 unsigned char acpi_CheckTable(struct ACPI_TABLE_DEF_HEADER *header, ULONG id);
2 int acpi_IsBlacklisted(struct ACPIBase *ACPIBase);
4 AROS_LD1(ULONG, ShutdownA,
5 AROS_LHA(ULONG, action, D0),
6 struct ExecBase *, SysBase, 173, Acpi);
8 /* Result of this must be zero */
9 static inline unsigned char acpi_CheckSum(void *addr, unsigned int size)
11 unsigned char *j = addr;
12 unsigned char *k = j + size;
13 unsigned char sum = 0;
15 for (; j < k; sum += *(j++));
17 return sum;