version 1.1.1.14, 2018/04/07 14:12:46 |
version 1.1.1.15, 2019/01/05 20:37:17 |
|
|
#define ACPI_VALIDATE_RSDP_SIG(a) (!strncmp (ACPI_CAST_PTR (char, (a)), ACPI_SIG_RSDP, 8)) |
#define ACPI_VALIDATE_RSDP_SIG(a) (!strncmp (ACPI_CAST_PTR (char, (a)), ACPI_SIG_RSDP, 8)) |
#define ACPI_MAKE_RSDP_SIG(dest) (memcpy (ACPI_CAST_PTR (char, (dest)), ACPI_SIG_RSDP, 8)) |
#define ACPI_MAKE_RSDP_SIG(dest) (memcpy (ACPI_CAST_PTR (char, (dest)), ACPI_SIG_RSDP, 8)) |
|
|
|
/* Support for OEMx signature (x can be any character) */ |
|
#define ACPI_IS_OEM_SIG(a) (!strncmp (ACPI_CAST_PTR (char, (a)), ACPI_OEM_NAME, 3) &&\ |
|
strnlen (a, ACPI_NAME_SIZE) == ACPI_NAME_SIZE) |
|
|
/* |
/* |
* Algorithm to obtain access bit width. |
* Algorithm to obtain access bit width. |
* Can be used with AccessWidth of ACPI_GENERIC_ADDRESS and AccessSize of |
* Can be used with AccessWidth of ACPI_GENERIC_ADDRESS and AccessSize of |
|
|
#define ACPI_OSI_WIN_10_RS1 0x0E |
#define ACPI_OSI_WIN_10_RS1 0x0E |
#define ACPI_OSI_WIN_10_RS2 0x0F |
#define ACPI_OSI_WIN_10_RS2 0x0F |
#define ACPI_OSI_WIN_10_RS3 0x10 |
#define ACPI_OSI_WIN_10_RS3 0x10 |
|
#define ACPI_OSI_WIN_10_RS4 0x11 |
|
#define ACPI_OSI_WIN_10_RS5 0x12 |
|
|
|
|
/* Definitions of getopt */ |
/* Definitions of getopt */ |