BayTrail/AaeonIoPkg/IT8625/IT8625Setup.c
2022-09-02 09:03:16 +08:00

73 lines
3.1 KiB
C

//**********************************************************************
//**********************************************************************
//** **
//** (C)Copyright 1985-2014, American Megatrends, Inc. **
//** **
//** All Rights Reserved. **
//** **
//** 5555 Oakbrook Parkway, Suite 200, Norcross, GA 30093 **
//** **
//** Phone: (770)-246-8600 **
//** **
//**********************************************************************
//**********************************************************************
/** @file IT8625Setup.c
Setup related Routines.
**/
//----------------------------------------------------------------------
// Include Files
//----------------------------------------------------------------------
#include <AmiDxeLib.h>
#include <Setup.h>
#include <AutoId.h>
#include "IT8625Setup.h"
//#include "SetupStringList.h"
/*
* Put None Standard Setup Functions Here.
*/
/**
This function provide SIO setup screen display string.
@param Class A handle that was previously registered in the HII Database.
@param HiiHandle Indicates the setup class.
**/
VOID OemInitIT8625SetupStrings(
IN EFI_HII_HANDLE HiiHandle,
IN UINT16 Class)
{
/* static EFI_GUID siopg=EFI_AMI_SIO_PROTOCOL_GUID;
SIO_DEV2 *Dev;
UINTN i,hcnt;
EFI_HANDLE *hbuff;
EFI_STATUS Status=0;
if(Class == ADVANCED_FORM_SET_CLASS) {
Status=pBS->LocateHandleBuffer(ByProtocol,&siopg, NULL, &hcnt,&hbuff);
if (EFI_ERROR(Status)) hcnt = 0;
for (i=0; i<hcnt; i++) {
Status = pBS->HandleProtocol ( hbuff[i],&siopg,(VOID*)&Dev);
ASSERT_EFI_ERROR(Status);
if(Dev->DeviceInfo->HasSetup) SetSioStrings(Dev, HiiHandle);
}
}
*/
}
//**********************************************************************
//**********************************************************************
//** **
//** (C)Copyright 1985-2014, American Megatrends, Inc. **
//** **
//** All Rights Reserved. **
//** **
//** 5555 Oakbrook Parkway, Suite 200, Norcross, GA 30093 **
//** **
//** Phone: (770)-246-8600 **
//** **
//**********************************************************************
//**********************************************************************