PARSER_PARAMS (RsdpParser)\r
);\r
\r
+ // Check if the values used to control the parsing logic have been\r
+ // successfully read.\r
+ if (XsdtAddress == NULL) {\r
+ IncrementErrorCount ();\r
+ Print (\r
+ L"ERROR: Insufficient table length. AcpiTableLength = %d." \\r
+ L"RSDP parsing aborted.\n",\r
+ AcpiTableLength\r
+ );\r
+ return;\r
+ }\r
+\r
// This code currently supports parsing of XSDT table only\r
// and does not parse the RSDT table. Platforms provide the\r
// RSDT to enable compatibility with ACPI 1.0 operating systems.\r