mirror of
https://github.com/acpica/acpica/
synced 2025-01-15 13:59:19 +03:00
properly fail to override tables
date 2003.07.14.18.28.00; author agrover; state Exp;
This commit is contained in:
parent
2d71384b6a
commit
200e94e1ec
@ -205,8 +205,8 @@ AcpiOsGetRootPointer (
|
||||
|
||||
ACPI_STATUS
|
||||
AcpiOsPredefinedOverride (
|
||||
const ACPI_PREDEFINED_NAMES *InitVal,
|
||||
ACPI_STRING *NewVal)
|
||||
const ACPI_PREDEFINED_NAMES *InitVal,
|
||||
ACPI_STRING *NewVal)
|
||||
{
|
||||
|
||||
if (!InitVal || !NewVal)
|
||||
@ -243,8 +243,9 @@ AcpiOsTableOverride (
|
||||
return (AE_BAD_PARAMETER);
|
||||
}
|
||||
|
||||
/* TODO: Add table-getting code here */
|
||||
*NewTable = NULL;
|
||||
return (AE_OK);
|
||||
return (AE_NO_ACPI_TABLES);
|
||||
}
|
||||
|
||||
|
||||
@ -834,7 +835,7 @@ AcpiOsSleep (
|
||||
UINT32
|
||||
AcpiOsGetTimer (void)
|
||||
{
|
||||
struct timeval time;
|
||||
struct timeval time;
|
||||
|
||||
gettimeofday(&time, NULL);
|
||||
|
||||
@ -898,9 +899,9 @@ AcpiOsWritePciConfiguration (
|
||||
/* TEMPORARY STUB FUNCTION */
|
||||
void
|
||||
AcpiOsDerivePciId(
|
||||
ACPI_HANDLE rhandle,
|
||||
ACPI_HANDLE rhandle,
|
||||
ACPI_HANDLE chandle,
|
||||
ACPI_PCI_ID **PciId)
|
||||
ACPI_PCI_ID **PciId)
|
||||
{
|
||||
|
||||
}
|
||||
@ -1036,7 +1037,7 @@ AcpiOsWriteMemory (
|
||||
UINT32
|
||||
AcpiOsGetThreadId(void)
|
||||
{
|
||||
return getpid();
|
||||
return getpid();
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user