mirror of
https://git.proxmox.com/git/grub2
synced 2025-07-27 10:08:18 +00:00
acpihalt: fix GRUB_DSDT_TEST compilation
This commit is contained in:
parent
ba83ed1538
commit
19554a6034
@ -26,6 +26,8 @@
|
|||||||
|
|
||||||
#define grub_dprintf(cond, args...) printf ( args )
|
#define grub_dprintf(cond, args...) printf ( args )
|
||||||
#define grub_printf printf
|
#define grub_printf printf
|
||||||
|
#define grub_util_fopen fopen
|
||||||
|
#define grub_memcmp memcmp
|
||||||
typedef uint64_t grub_uint64_t;
|
typedef uint64_t grub_uint64_t;
|
||||||
typedef uint32_t grub_uint32_t;
|
typedef uint32_t grub_uint32_t;
|
||||||
typedef uint16_t grub_uint16_t;
|
typedef uint16_t grub_uint16_t;
|
||||||
|
@ -22,6 +22,8 @@
|
|||||||
#ifndef GRUB_DSDT_TEST
|
#ifndef GRUB_DSDT_TEST
|
||||||
#include <grub/types.h>
|
#include <grub/types.h>
|
||||||
#include <grub/err.h>
|
#include <grub/err.h>
|
||||||
|
#else
|
||||||
|
#define GRUB_PACKED __attribute__ ((packed))
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define GRUB_RSDP_SIGNATURE "RSD PTR "
|
#define GRUB_RSDP_SIGNATURE "RSD PTR "
|
||||||
|
Loading…
Reference in New Issue
Block a user