Add new defines GRUB_RSDP_SIGNATURE_SIZE and GRUB_RSDP_SIGNATURE.

This commit is contained in:
Vladimir 'phcoder' Serbinenko 2013-04-05 10:56:43 +02:00
parent 52eab6562d
commit ce7d92a9f2
4 changed files with 17 additions and 10 deletions

View file

@ -24,9 +24,12 @@
#include <grub/err.h>
#endif
#define GRUB_RSDP_SIGNATURE "RSD PTR "
#define GRUB_RSDP_SIGNATURE_SIZE 8
struct grub_acpi_rsdp_v10
{
grub_uint8_t signature[8];
grub_uint8_t signature[GRUB_RSDP_SIGNATURE_SIZE];
grub_uint8_t checksum;
grub_uint8_t oemid[6];
grub_uint8_t revision;