alder_lake_bios/Insyde/SioDummyPkg/SioDummyDxe/SioInitDxe.h

63 lines
1.7 KiB
C

/** @file
Declaration file for SioMainDxe.c
;******************************************************************************
;* Copyright (c) 2014, 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.
;*
;******************************************************************************
*/
#ifndef _SIO_DUMMY_DXE_H_
#define _SIO_DUMMY_DXE_H_
#include <Include/SioDummyReg.h>
#include <SioResource.h>
#include <Protocol/IsaPnpDevice.h>
#include <Library/SioLib.h>
#include <Library/UefiDriverEntryPoint.h>
#include <Library/UefiBootServicesTableLib.h>
#include <Library/MemoryAllocationLib.h>
#include <Library/DxeServicesLib.h>
#include <Library/UefiLib/UefiLibInternal.h>
/**
Transfer from SIO_DEVICE_LIST_TABLE to EFI_ISA_DEVICE_RESOURCE for using of device protocol
@param[in] *DeviceList SIO_DEVICE_LIST_TABLE structure.
@param[in] *DeviceResource EFI_ISA_DEVICE_RESOURCE structure.
@retval EFI_SUCCESS The function completed successfully.
**/
EFI_STATUS
DeviceListToDeviceResource (
IN SIO_DEVICE_LIST_TABLE *DeviceList,
IN EFI_ISA_DEVICE_RESOURCE *DeviceResource
);
/**
Install Device protocol from PCD structure.
**/
VOID
InstallEnabledDeviceProtocol (
VOID
);
/**
To get correct SIO data.
@retval EFI_SUCCESS Found SIO data.
@retval EFI_NOT_FOUND Not found.
**/
EFI_STATUS
CheckDevice (
VOID
);
#endif