/**\r
Register a non-discoverable MMIO device\r
\r
- @param[in] DeviceType The type of non-discoverable device\r
+ @param[in] Type The type of non-discoverable device\r
@param[in] DmaType Whether the device is DMA coherent\r
@param[in] InitFunc Initialization routine to be invoked when\r
the device is enabled\r
@param[in] NumMmioResources The number of UINTN base/size pairs that\r
follow, each describing an MMIO region\r
owned by the device\r
+ @param[in] ... The variable argument list which contains the\r
+ info about MmioResources.\r
\r
@retval EFI_SUCCESS The registration succeeded.\r
@retval Other The registration failed.\r
#include <Protocol/DevicePath.h>\r
#include <Protocol/NonDiscoverableDevice.h>\r
\r
+/**\r
+ Get Guid form the type of non-discoverable device.\r
+\r
+ @param[in] Type The type of non-discoverable device.\r
+\r
+ @retval Return the Guid.\r
+\r
+**/\r
STATIC\r
CONST EFI_GUID *\r
GetGuidFromType (\r
#pragma pack ()\r
\r
/**\r
- Register a non-discoverable MMIO device\r
+ Register a non-discoverable MMIO device.\r
\r
- @param[in] DeviceType The type of non-discoverable device\r
+ @param[in] Type The type of non-discoverable device\r
@param[in] DmaType Whether the device is DMA coherent\r
@param[in] InitFunc Initialization routine to be invoked when\r
the device is enabled\r
@param[in] NumMmioResources The number of UINTN base/size pairs that\r
follow, each describing an MMIO region\r
owned by the device\r
+ @param[in] ... The variable argument list which contains the\r
+ info about MmioResources.\r
\r
@retval EFI_SUCCESS The registration succeeded.\r
@retval EFI_INVALID_PARAMETER An invalid argument was given\r
# @file\r
+# Component Description File for NonDiscoverableDeviceRegistrationLib.\r
+#\r
# Copyright (c) 2016, Linaro, Ltd. All rights reserved.<BR>\r
#\r
# This program and the accompanying materials\r
UefiBootServicesTableLib\r
\r
[Protocols]\r
- gEdkiiNonDiscoverableDeviceProtocolGuid\r
+ gEdkiiNonDiscoverableDeviceProtocolGuid ## PRODUCES\r
\r
[Guids]\r
- gEdkiiNonDiscoverableAhciDeviceGuid\r
- gEdkiiNonDiscoverableAmbaDeviceGuid\r
- gEdkiiNonDiscoverableEhciDeviceGuid\r
- gEdkiiNonDiscoverableNvmeDeviceGuid\r
- gEdkiiNonDiscoverableOhciDeviceGuid\r
- gEdkiiNonDiscoverableSdhciDeviceGuid\r
- gEdkiiNonDiscoverableUfsDeviceGuid\r
- gEdkiiNonDiscoverableUhciDeviceGuid\r
- gEdkiiNonDiscoverableXhciDeviceGuid\r
+ gEdkiiNonDiscoverableAhciDeviceGuid ## CONSUMES ## GUID\r
+ gEdkiiNonDiscoverableAmbaDeviceGuid ## CONSUMES ## GUID\r
+ gEdkiiNonDiscoverableEhciDeviceGuid ## CONSUMES ## GUID\r
+ gEdkiiNonDiscoverableNvmeDeviceGuid ## CONSUMES ## GUID\r
+ gEdkiiNonDiscoverableOhciDeviceGuid ## CONSUMES ## GUID\r
+ gEdkiiNonDiscoverableSdhciDeviceGuid ## CONSUMES ## GUID\r
+ gEdkiiNonDiscoverableUfsDeviceGuid ## CONSUMES ## GUID\r
+ gEdkiiNonDiscoverableUhciDeviceGuid ## CONSUMES ## GUID\r
+ gEdkiiNonDiscoverableXhciDeviceGuid ## CONSUMES ## GUID\r