]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Include/Protocol/DeviceSecurity.h
MdeModulePkg: Apply uncrustify changes
[mirror_edk2.git] / MdeModulePkg / Include / Protocol / DeviceSecurity.h
index c3bf624cac3cf9a9590f5f33bd7739f992fbe1fe..7492d42e8fb6fb0455f0ba40662ed01e414b5e9f 100644 (file)
@@ -9,7 +9,6 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
 \r
 **/\r
 \r
-\r
 #ifndef __DEVICE_SECURITY_H__\r
 #define __DEVICE_SECURITY_H__\r
 \r
@@ -24,14 +23,14 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
 //\r
 // Forward reference for pure ANSI compatability\r
 //\r
-typedef struct _EDKII_DEVICE_SECURITY_PROTOCOL  EDKII_DEVICE_SECURITY_PROTOCOL;\r
+typedef struct _EDKII_DEVICE_SECURITY_PROTOCOL EDKII_DEVICE_SECURITY_PROTOCOL;\r
 \r
 //\r
 // Revision The revision to which the DEVICE_SECURITY interface adheres.\r
 //          All future revisions must be backwards compatible.\r
 //          If a future version is not back wards compatible it is not the same GUID.\r
 //\r
-#define EDKII_DEVICE_SECURITY_PROTOCOL_REVISION 0x00010000\r
+#define EDKII_DEVICE_SECURITY_PROTOCOL_REVISION  0x00010000\r
 \r
 //\r
 // The device identifier.\r
@@ -40,7 +39,7 @@ typedef struct {
   ///\r
   /// Version of this data structure.\r
   ///\r
-  UINT32                Version;\r
+  UINT32    Version;\r
   ///\r
   /// Type of the device.\r
   /// This field is also served as a device Access protocol GUID.\r
@@ -49,7 +48,7 @@ typedef struct {
   ///   EDKII_DEVICE_IDENTIFIER_TYPE_PCI_GUID means the device access protocol is PciIo.\r
   ///   EDKII_DEVICE_IDENTIFIER_TYPE_USB_GUID means the device access protocol is UsbIo.\r
   ///\r
-  EFI_GUID              DeviceType;\r
+  EFI_GUID    DeviceType;\r
   ///\r
   /// The handle created for this device.\r
   /// NOTE: This might be a temporary handle.\r
@@ -72,14 +71,14 @@ typedef struct {
   ///       register a protocol notify function. Installing a real protocol may cause\r
   ///       the callback function being executed before the device is authenticated.\r
   ///\r
-  EFI_HANDLE            DeviceHandle;\r
+  EFI_HANDLE    DeviceHandle;\r
 } EDKII_DEVICE_IDENTIFIER;\r
 \r
 //\r
 // Revision The revision to which the DEVICE_IDENTIFIER interface adheres.\r
 //          All future revisions must be backwards compatible.\r
 //\r
-#define EDKII_DEVICE_IDENTIFIER_REVISION 0x00010000\r
+#define EDKII_DEVICE_IDENTIFIER_REVISION  0x00010000\r
 \r
 //\r
 // Device Identifier GUID value\r
@@ -144,19 +143,19 @@ EFI_STATUS
 /// This protocol is used to authenticate a device based upon the platform policy.\r
 ///\r
 struct _EDKII_DEVICE_SECURITY_PROTOCOL {\r
-  UINT64                              Revision;\r
-  EDKII_DEVICE_AUTHENTICATE           DeviceAuthenticate;\r
+  UINT64                       Revision;\r
+  EDKII_DEVICE_AUTHENTICATE    DeviceAuthenticate;\r
 };\r
 \r
 ///\r
 /// Device Security Protocol GUID variable.\r
 ///\r
-extern EFI_GUID gEdkiiDeviceSecurityProtocolGuid;\r
+extern EFI_GUID  gEdkiiDeviceSecurityProtocolGuid;\r
 \r
 ///\r
 /// Device Identifier tpye GUID variable.\r
 ///\r
-extern EFI_GUID gEdkiiDeviceIdentifierTypePciGuid;\r
-extern EFI_GUID gEdkiiDeviceIdentifierTypeUsbGuid;\r
+extern EFI_GUID  gEdkiiDeviceIdentifierTypePciGuid;\r
+extern EFI_GUID  gEdkiiDeviceIdentifierTypeUsbGuid;\r
 \r
 #endif\r