]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Include/Guid/DebugMask.h
UefiCpuPkg: Move AsmRelocateApLoopStart from Mpfuncs.nasm to AmdSev.nasm
[mirror_edk2.git] / MdeModulePkg / Include / Guid / DebugMask.h
index 1e6beb562e56c4fb58776da614c6099aa8c7e29d..427bcbb147b1b57d3845cf65eb25695963689b06 100644 (file)
@@ -2,14 +2,8 @@
 \r
   Debug Mask Protocol.\r
 \r
-Copyright (c) 2011, Intel Corporation. All rights reserved.<BR>\r
-This program and the accompanying materials are licensed and made available under \r
-the terms and conditions of the BSD License that accompanies this distribution.  \r
-The full text of the license may be found at\r
-http://opensource.org/licenses/bsd-license.php.                                            \r
-\r
-THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,                     \r
-WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+Copyright (c) 2011 - 2018, Intel Corporation. All rights reserved.<BR>\r
+SPDX-License-Identifier: BSD-2-Clause-Patent\r
 \r
 **/\r
 \r
@@ -25,26 +19,26 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 ///\r
 /// Forward reference for pure ANSI compatability\r
 ///\r
-typedef struct _EFI_DEBUG_MASK_PROTOCOL  EFI_DEBUG_MASK_PROTOCOL;\r
+typedef struct _EFI_DEBUG_MASK_PROTOCOL EFI_DEBUG_MASK_PROTOCOL;\r
 \r
 ///\r
 ///\r
-///  \r
-#define EFI_DEBUG_MASK_REVISION        0x00010000\r
+///\r
+#define EFI_DEBUG_MASK_REVISION  0x00010000\r
 \r
 //\r
 // DebugMask member functions definition\r
 //\r
 typedef\r
 EFI_STATUS\r
-(EFIAPI * EFI_GET_DEBUG_MASK) (\r
-  IN EFI_DEBUG_MASK_PROTOCOL  *This,             \r
-  IN OUT UINTN                *CurrentDebugMask  \r
+(EFIAPI *EFI_GET_DEBUG_MASK)(\r
+  IN EFI_DEBUG_MASK_PROTOCOL  *This,\r
+  IN OUT UINTN                *CurrentDebugMask\r
   );\r
 \r
-typedef \r
+typedef\r
 EFI_STATUS\r
-(EFIAPI *EFI_SET_DEBUG_MASK) (\r
+(EFIAPI *EFI_SET_DEBUG_MASK)(\r
   IN EFI_DEBUG_MASK_PROTOCOL  *This,\r
   IN UINTN                    NewDebugMask\r
   );\r
@@ -53,12 +47,12 @@ EFI_STATUS
 /// DebugMask protocol definition\r
 ///\r
 struct _EFI_DEBUG_MASK_PROTOCOL {\r
-  INT64               Revision;\r
-  EFI_GET_DEBUG_MASK  GetDebugMask;\r
-  EFI_SET_DEBUG_MASK  SetDebugMask;\r
+  INT64                 Revision;\r
+  EFI_GET_DEBUG_MASK    GetDebugMask;\r
+  EFI_SET_DEBUG_MASK    SetDebugMask;\r
 };\r
 \r
-extern EFI_GUID gEfiDebugMaskProtocolGuid;\r
+extern EFI_GUID  gEfiDebugMaskProtocolGuid;\r
 \r
 ///\r
 /// GUID used to store the global debug mask in an the "EFIDebug" EFI Variabe\r
@@ -66,9 +60,9 @@ extern EFI_GUID gEfiDebugMaskProtocolGuid;
 ///\r
 #define EFI_GENERIC_VARIABLE_GUID \\r
   { 0x59d1c24f, 0x50f1, 0x401a, {0xb1, 0x01, 0xf3, 0x3e, 0x0d, 0xae, 0xd4, 0x43} }\r
-  \r
+\r
 #define DEBUG_MASK_VARIABLE_NAME  L"EFIDebug"\r
 \r
-extern EFI_GUID gEfiGenericVariableGuid;\r
+extern EFI_GUID  gEfiGenericVariableGuid;\r
 \r
 #endif\r