]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/Library/S3BootScriptLib.h
MdePkg: Apply uncrustify changes
[mirror_edk2.git] / MdePkg / Include / Library / S3BootScriptLib.h
index 229210d46bc982af50536b3b6b4893d0d88140a2..65ae6efeb26b4092c4530b05bb0e0b77fa46eecb 100644 (file)
@@ -30,7 +30,7 @@
   @return The encoded PCI address.\r
 \r
 **/\r
-#define S3_BOOT_SCRIPT_LIB_PCI_ADDRESS(Bus,Device,Function,Register)   \\r
+#define S3_BOOT_SCRIPT_LIB_PCI_ADDRESS(Bus, Device, Function, Register)   \\r
   (UINT64) ( \\r
   (((UINTN) Bus) << 24) | \\r
   (((UINTN) Device) << 16) | \\r
@@ -303,7 +303,7 @@ S3BootScriptSaveDispatch2 (
 RETURN_STATUS\r
 EFIAPI\r
 S3BootScriptSaveDispatch (\r
-  IN  VOID *EntryPoint\r
+  IN  VOID  *EntryPoint\r
   );\r
 \r
 /**\r
@@ -357,6 +357,7 @@ S3BootScriptSaveInformation (
   IN  UINT32  InformationLength,\r
   IN  VOID    *Information\r
   );\r
+\r
 /**\r
   Adds a record for I/O reads the I/O location and continues when the exit criteria\r
    is satisfied, or after a defined duration.\r
@@ -379,11 +380,11 @@ S3BootScriptSaveInformation (
 RETURN_STATUS\r
 EFIAPI\r
 S3BootScriptSaveIoPoll (\r
-  IN S3_BOOT_SCRIPT_LIB_WIDTH       Width,\r
-  IN UINT64                     Address,\r
+  IN S3_BOOT_SCRIPT_LIB_WIDTH  Width,\r
+  IN UINT64                    Address,\r
   IN VOID                      *Data,\r
   IN VOID                      *DataMask,\r
-  IN UINT64                     Delay\r
+  IN UINT64                    Delay\r
   );\r
 \r
 /**\r
@@ -409,12 +410,13 @@ S3BootScriptSaveIoPoll (
 RETURN_STATUS\r
 EFIAPI\r
 S3BootScriptSavePciPoll (\r
-   IN S3_BOOT_SCRIPT_LIB_WIDTH   Width,\r
-   IN UINT64                     Address,\r
-   IN VOID                      *Data,\r
-   IN VOID                      *DataMask,\r
-   IN UINT64                     Delay\r
+  IN S3_BOOT_SCRIPT_LIB_WIDTH  Width,\r
+  IN UINT64                    Address,\r
+  IN VOID                      *Data,\r
+  IN VOID                      *DataMask,\r
+  IN UINT64                    Delay\r
   );\r
+\r
 /**\r
   Adds a record for PCI configuration space reads and continues when the exit criteria\r
   is satisfied, or after a defined duration.\r
@@ -444,13 +446,14 @@ S3BootScriptSavePciPoll (
 RETURN_STATUS\r
 EFIAPI\r
 S3BootScriptSavePci2Poll (\r
-   IN S3_BOOT_SCRIPT_LIB_WIDTH      Width,\r
-   IN UINT16                        Segment,\r
-   IN UINT64                        Address,\r
-   IN VOID                         *Data,\r
-   IN VOID                         *DataMask,\r
-   IN UINT64                        Delay\r
+  IN S3_BOOT_SCRIPT_LIB_WIDTH  Width,\r
+  IN UINT16                    Segment,\r
+  IN UINT64                    Address,\r
+  IN VOID                      *Data,\r
+  IN VOID                      *DataMask,\r
+  IN UINT64                    Delay\r
   );\r
+\r
 /**\r
   Save ASCII string information specified by Buffer to boot script with opcode\r
   EFI_BOOT_SCRIPT_INFORMATION_OPCODE.\r
@@ -493,7 +496,7 @@ S3BootScriptSaveInformationAsciiString (
   @return the base address of the new copy of the boot script table.\r
 \r
 **/\r
-UINT8*\r
+UINT8 *\r
 EFIAPI\r
 S3BootScriptCloseTable (\r
   VOID\r
@@ -511,6 +514,7 @@ EFIAPI
 S3BootScriptExecute (\r
   VOID\r
   );\r
+\r
 /**\r
   Move the last boot script entry to the position\r
 \r
@@ -535,9 +539,10 @@ S3BootScriptExecute (
 RETURN_STATUS\r
 EFIAPI\r
 S3BootScriptMoveLastOpcode (\r
-  IN     BOOLEAN                        BeforeOrAfter,\r
-  IN OUT VOID                         **Position OPTIONAL\r
+  IN     BOOLEAN  BeforeOrAfter,\r
+  IN OUT VOID     **Position OPTIONAL\r
   );\r
+\r
 /**\r
   Find a label within the boot script table and, if not present, optionally create it.\r
 \r
@@ -565,11 +570,12 @@ S3BootScriptMoveLastOpcode (
 RETURN_STATUS\r
 EFIAPI\r
 S3BootScriptLabel (\r
-  IN       BOOLEAN                      BeforeOrAfter,\r
-  IN       BOOLEAN                      CreateIfNotFound,\r
-  IN OUT   VOID                       **Position OPTIONAL,\r
-  IN CONST CHAR8                       *Label\r
+  IN       BOOLEAN  BeforeOrAfter,\r
+  IN       BOOLEAN  CreateIfNotFound,\r
+  IN OUT   VOID     **Position OPTIONAL,\r
+  IN CONST CHAR8    *Label\r
   );\r
+\r
 /**\r
   Compare two positions in the boot script table and return their relative position.\r
   @param  Position1             The positions in the boot script table to compare\r
@@ -587,9 +593,9 @@ S3BootScriptLabel (
 RETURN_STATUS\r
 EFIAPI\r
 S3BootScriptCompare (\r
-  IN  UINT8                       *Position1,\r
-  IN  UINT8                       *Position2,\r
-  OUT UINTN                       *RelativePosition\r
+  IN  UINT8  *Position1,\r
+  IN  UINT8  *Position2,\r
+  OUT UINTN  *RelativePosition\r
   );\r
 \r
 #endif\r