47 lines
1.5 KiB
C
47 lines
1.5 KiB
C
/** @file
|
|
This function provides an interface to update the ACPI DSDT table.
|
|
;******************************************************************************
|
|
;* Copyright (c) 2014 - 2018, Insyde Software Corporation. All Rights Reserved.
|
|
;*
|
|
;* You may not reproduce, distribute, publish, display, perform, modify, adapt,
|
|
;* transmit, broadcast, present, recite, release, license or otherwise exploit
|
|
;* any part of this publication in any form, by any means, without the prior
|
|
;* written permission of Insyde Software Corporation.
|
|
;*
|
|
;******************************************************************************
|
|
*/
|
|
|
|
#include <Library/DxeOemSvcChipsetLib.h>
|
|
#include <Library/AcpiPlatformLib.h>
|
|
|
|
/**
|
|
This function offers an interface to update the ACPI DSDT table.
|
|
|
|
@param[in] *Signature Pointer to ACPI Common Header Signature.
|
|
|
|
@retval EFI_UNSUPPORTED Returns unsupported by default.
|
|
@retval EFI_MEDIA_CHANGED Alter the Configuration Parameter.
|
|
@retval EFI_SUCCESS The function performs the same operation as caller.
|
|
The caller will skip the specified behavior and assuming
|
|
that it has been handled completely by this function.
|
|
*/
|
|
EFI_STATUS
|
|
OemSvcUpdateDsdtAcpiTable (
|
|
CONST UINT32 *Signature
|
|
) {
|
|
/*++
|
|
Todo:
|
|
Add project specific code in here.
|
|
i.e.
|
|
switch (*Signature) {
|
|
case (SIGNATURE_32 ('G', 'N', 'V', 'S')):
|
|
break;
|
|
default:
|
|
break;
|
|
}
|
|
|
|
--*/
|
|
|
|
return EFI_UNSUPPORTED;
|
|
}
|