search for: erst_tab

Displaying 2 results from an estimated 2 matches for "erst_tab".

2012 Oct 18
3
ask a question about ERST
...lt;keir@xen.org> diff -r aca07ff1f0a5 -r ae10d7804168 xen/drivers/acpi/apei/erst.c --- a/xen/drivers/acpi/apei/erst.c Tue Aug 09 17:48:16 2011 +0100 +++ b/xen/drivers/acpi/apei/erst.c Tue Aug 09 18:06:43 2011 +0100 @@ -715,13 +715,7 @@ static int __init erst_check_table(struct acpi_table_erst *erst_tab) { - /* - * Some old BIOSes include the ACPI standard header in the ERST header - * length; new BIOSes do not. Our check allows for both methods. - */ - if ((erst_tab->header_length != - (sizeof(struct acpi_table_erst) - sizeof(erst_tab->header))) - && (erst_tab->header_length != s...
2010 Aug 20
0
[PATCH 1/2] Implement APEI ERST feature to Xen
...CCESS 0x0 +#define ERST_STATUS_NOT_ENOUGH_SPACE 0x1 +#define ERST_STATUS_HARDWARE_NOT_AVAILABLE 0x2 +#define ERST_STATUS_FAILED 0x3 +#define ERST_STATUS_RECORD_STORE_EMPTY 0x4 +#define ERST_STATUS_RECORD_NOT_FOUND 0x5 + +#define ERST_TAB_ENTRY(tab) \ + ((struct acpi_whea_header *)((char *)(tab) + \ + sizeof(struct acpi_table_erst))) + +#define SPIN_UNIT 1 /* 1us */ +/* Firmware should respond wit...