]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Library/NonDiscoverableDeviceRegistrationLib/NonDiscoverableDeviceRegistrationLib.c
MdeModulePkg/NonDiscoverableDeviceRegistrationLib: Fix coding style issues
[mirror_edk2.git] / MdeModulePkg / Library / NonDiscoverableDeviceRegistrationLib / NonDiscoverableDeviceRegistrationLib.c
index 94cd946b69d3167d1fd25611bc4051b62e117919..6f46dfac0f07b7dfb3169d9adc8ec9e15223ca5b 100644 (file)
 #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
@@ -74,9 +82,9 @@ typedef struct {
 #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
@@ -87,6 +95,8 @@ typedef struct {
   @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