acpihalt: fix GRUB_DSDT_TEST compilation
This commit is contained in:
parent
ba83ed1538
commit
19554a6034
2 changed files with 4 additions and 0 deletions
|
@ -26,6 +26,8 @@
|
|||
|
||||
#define grub_dprintf(cond, args...) printf ( args )
|
||||
#define grub_printf printf
|
||||
#define grub_util_fopen fopen
|
||||
#define grub_memcmp memcmp
|
||||
typedef uint64_t grub_uint64_t;
|
||||
typedef uint32_t grub_uint32_t;
|
||||
typedef uint16_t grub_uint16_t;
|
||||
|
|
|
@ -22,6 +22,8 @@
|
|||
#ifndef GRUB_DSDT_TEST
|
||||
#include <grub/types.h>
|
||||
#include <grub/err.h>
|
||||
#else
|
||||
#define GRUB_PACKED __attribute__ ((packed))
|
||||
#endif
|
||||
|
||||
#define GRUB_RSDP_SIGNATURE "RSD PTR "
|
||||
|
|
Loading…
Reference in a new issue