search for: acpi_table_erst

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

2012 Oct 18
3
ask a question about ERST
...by: Keir Fraser <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_l...
2010 Aug 20
0
[PATCH 1/2] Implement APEI ERST feature to Xen
...ine 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 within 1 miliseconds */ +#define FIRMWARE_TIMEOUT (1 * 1000) +#define FIRMWARE_MAX_STALL 50 /* 50us */ + +static struct acpi_table_erst *erst_tab; +static int erst_enabl...