Improve SDT checksum functions

This commit is contained in:
Lauri Kenttä
2016-05-14 17:23:05 +03:00
parent a633eeb781
commit 51ccb0255e
6 changed files with 72 additions and 21 deletions

View File

@@ -16,15 +16,6 @@ extern const CHAR16* TmpStr(CHAR8 *src, int length);
*/
extern UINTN NullPrint(IN CHAR16 *fmt, ...);
/**
* Calculate the checksum for an ACPI table.
*
* @param data Pointer to the table.
* @param size Table length in bytes.
* @return Checksum.
*/
extern UINT8 CalculateAcpiChecksum(void* data, UINTN size);
/**
* Return the greater of two numbers.
*/