Skip to content

Commit

Permalink
ACPICA: ACPI 6.4: MADT: add Multiprocessor Wakeup Mailbox Structure
Browse files Browse the repository at this point in the history
ACPICA commit f1ee04207a212f6c519441e7e25397649ebc4cea

Add Multiprocessor Wakeup Mailbox Structure definition. It is useful
in parsing MADT Wake table.

Link: https://github.com/acpica/acpica/commit/f1ee0420
Signed-off-by: Kuppuswamy Sathyanarayanan <sathyanarayanan.kuppuswamy@linux.intel.com>
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Erik Kaneda <erik.kaneda@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
  • Loading branch information
Kuppuswamy Sathyanarayanan authored and Rafael J. Wysocki committed Jun 7, 2021
1 parent 614124b commit 42d96e1
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions include/acpi/actbl2.h
Original file line number Diff line number Diff line change
Expand Up @@ -763,6 +763,20 @@ struct acpi_madt_multiproc_wakeup {
u64 base_address;
};

#define ACPI_MULTIPROC_WAKEUP_MB_OS_SIZE 2032
#define ACPI_MULTIPROC_WAKEUP_MB_FIRMWARE_SIZE 2048

struct acpi_madt_multiproc_wakeup_mailbox {
u16 command;
u16 reserved; /* reserved - must be zero */
u32 apic_id;
u64 wakeup_vector;
u8 reserved_os[ACPI_MULTIPROC_WAKEUP_MB_OS_SIZE]; /* reserved for OS use */
u8 reserved_firmware[ACPI_MULTIPROC_WAKEUP_MB_FIRMWARE_SIZE]; /* reserved for firmware use */
};

#define ACPI_MP_WAKE_COMMAND_WAKEUP 1

/*
* Common flags fields for MADT subtables
*/
Expand Down

0 comments on commit 42d96e1

Please sign in to comment.