mirror of
https://github.com/acidanthera/OpenCorePkg.git
synced 2025-12-08 19:25:01 +00:00
ocvalidate: Drop RebaseRegions check
This commit is contained in:
parent
019b85362b
commit
b743c4635f
@ -27,7 +27,6 @@ Utility to validate whether a `config.plist` matches requirements and convention
|
||||
### ACPI
|
||||
#### Add
|
||||
- Entry[N]->Path: Only `.aml` and `.bin` filename suffix are accepted.
|
||||
- Entry[N]->Path: If a customised DSDT is added and enabled, `RebaseRegions` in `ACPI->Quirks` should be enabled.
|
||||
|
||||
### Booter
|
||||
#### MmioWhitelist
|
||||
|
||||
@ -59,11 +59,9 @@ CheckACPIAdd (
|
||||
OC_ACPI_CONFIG *UserAcpi;
|
||||
CONST CHAR8 *Path;
|
||||
CONST CHAR8 *Comment;
|
||||
BOOLEAN HasCustomDSDT;
|
||||
|
||||
ErrorCount = 0;
|
||||
UserAcpi = &Config->Acpi;
|
||||
HasCustomDSDT = FALSE;
|
||||
|
||||
for (Index = 0; Index < UserAcpi->Add.Count; ++Index) {
|
||||
Path = OC_BLOB_GET (&UserAcpi->Add.Values[Index]->Path);
|
||||
@ -86,10 +84,6 @@ CheckACPIAdd (
|
||||
DEBUG ((DEBUG_WARN, "ACPI->Add[%u]->Path has filename suffix other than .aml and .bin!\n", Index));
|
||||
++ErrorCount;
|
||||
}
|
||||
|
||||
if (OcAsciiStriStr (Path, "DSDT") != NULL && UserAcpi->Add.Values[Index]->Enabled) {
|
||||
HasCustomDSDT = TRUE;
|
||||
}
|
||||
}
|
||||
|
||||
//
|
||||
@ -102,14 +96,6 @@ CheckACPIAdd (
|
||||
ACPIAddHasDuplication
|
||||
);
|
||||
|
||||
//
|
||||
// Check for RebaseRegions when using customised DSDT.
|
||||
//
|
||||
if (HasCustomDSDT && !UserAcpi->Quirks.RebaseRegions) {
|
||||
DEBUG ((DEBUG_WARN, "ACPI->Quirks->RebaseRegions is not enabled when customised DSDT table is in use!\n"));
|
||||
++ErrorCount;
|
||||
}
|
||||
|
||||
return ErrorCount;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user