MdeModulePkg[all]  0.98
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
NonDiscoverableDeviceRegistrationLib.h File Reference

Enumerations

enum  NON_DISCOVERABLE_DEVICE_TYPE {
  NonDiscoverableDeviceTypeAhci, NonDiscoverableDeviceTypeAmba, NonDiscoverableDeviceTypeEhci, NonDiscoverableDeviceTypeNvme,
  NonDiscoverableDeviceTypeOhci, NonDiscoverableDeviceTypeSdhci, NonDiscoverableDeviceTypeUfs, NonDiscoverableDeviceTypeUhci,
  NonDiscoverableDeviceTypeXhci, NonDiscoverableDeviceTypeMax
}
 

Functions

EFI_STATUS EFIAPI RegisterNonDiscoverableMmioDevice (IN NON_DISCOVERABLE_DEVICE_TYPE Type, IN NON_DISCOVERABLE_DEVICE_DMA_TYPE DmaType, IN NON_DISCOVERABLE_DEVICE_INIT InitFunc, IN OUT EFI_HANDLE *Handle, IN UINTN NumMmioResources,...)
 

Detailed Description

Copyright (c) 2016, Linaro, Ltd. All rights reserved.

SPDX-License-Identifier: BSD-2-Clause-Patent

Enumeration Type Documentation

Enumerator
NonDiscoverableDeviceTypeAhci 
NonDiscoverableDeviceTypeAmba 
NonDiscoverableDeviceTypeEhci 
NonDiscoverableDeviceTypeNvme 
NonDiscoverableDeviceTypeOhci 
NonDiscoverableDeviceTypeSdhci 
NonDiscoverableDeviceTypeUfs 
NonDiscoverableDeviceTypeUhci 
NonDiscoverableDeviceTypeXhci 
NonDiscoverableDeviceTypeMax 

Function Documentation

EFI_STATUS EFIAPI RegisterNonDiscoverableMmioDevice ( IN NON_DISCOVERABLE_DEVICE_TYPE  Type,
IN NON_DISCOVERABLE_DEVICE_DMA_TYPE  DmaType,
IN NON_DISCOVERABLE_DEVICE_INIT  InitFunc,
IN OUT EFI_HANDLE *  Handle,
IN UINTN  NumMmioResources,
  ... 
)

Register a non-discoverable MMIO device

Parameters
[in]TypeThe type of non-discoverable device
[in]DmaTypeWhether the device is DMA coherent
[in]InitFuncInitialization routine to be invoked when the device is enabled
[in,out]HandleThe handle onto which to install the non-discoverable device protocol. If Handle is NULL or *Handle is NULL, a new handle will be allocated.
[in]NumMmioResourcesThe number of UINTN base/size pairs that follow, each describing an MMIO region owned by the device
[in]...The variable argument list which contains the info about MmioResources.
Return values
EFI_SUCCESSThe registration succeeded.
OtherThe registration failed.