]> git.proxmox.com Git - mirror_edk2.git/blobdiff - ArmPkg/Drivers/CpuDxe/Exception.c
ArmPkg: Apply uncrustify changes
[mirror_edk2.git] / ArmPkg / Drivers / CpuDxe / Exception.c
index 503c882a3ff20aae24de747d360eb4432689781e..441f92d502bc17d3e0f205f895f5a16028c1324b 100644 (file)
 \r
 EFI_STATUS\r
 InitializeExceptions (\r
-  IN EFI_CPU_ARCH_PROTOCOL    *Cpu\r
+  IN EFI_CPU_ARCH_PROTOCOL  *Cpu\r
   )\r
 {\r
-  EFI_STATUS                      Status;\r
-  EFI_VECTOR_HANDOFF_INFO         *VectorInfoList;\r
-  EFI_VECTOR_HANDOFF_INFO         *VectorInfo;\r
-  BOOLEAN                         IrqEnabled;\r
-  BOOLEAN                         FiqEnabled;\r
+  EFI_STATUS               Status;\r
+  EFI_VECTOR_HANDOFF_INFO  *VectorInfoList;\r
+  EFI_VECTOR_HANDOFF_INFO  *VectorInfo;\r
+  BOOLEAN                  IrqEnabled;\r
+  BOOLEAN                  FiqEnabled;\r
 \r
   VectorInfo = (EFI_VECTOR_HANDOFF_INFO *)NULL;\r
-  Status = EfiGetSystemConfigurationTable(&gEfiVectorHandoffTableGuid, (VOID **)&VectorInfoList);\r
-  if (Status == EFI_SUCCESS && VectorInfoList != NULL) {\r
+  Status     = EfiGetSystemConfigurationTable (&gEfiVectorHandoffTableGuid, (VOID **)&VectorInfoList);\r
+  if ((Status == EFI_SUCCESS) && (VectorInfoList != NULL)) {\r
     VectorInfo = VectorInfoList;\r
   }\r
 \r
   // initialize the CpuExceptionHandlerLib so we take over the exception vector table from the DXE Core\r
-  InitializeCpuExceptionHandlers(VectorInfo);\r
+  InitializeCpuExceptionHandlers (VectorInfo);\r
 \r
   Status = EFI_SUCCESS;\r
 \r
@@ -64,7 +64,7 @@ InitializeExceptions (
   //\r
   DEBUG_CODE (\r
     ArmEnableAsynchronousAbort ();\r
-  );\r
+    );\r
 \r
   return Status;\r
 }\r
@@ -90,11 +90,11 @@ previously installed.
 \r
 **/\r
 EFI_STATUS\r
-RegisterInterruptHandler(\r
-  IN EFI_EXCEPTION_TYPE             InterruptType,\r
-  IN EFI_CPU_INTERRUPT_HANDLER      InterruptHandler\r
+RegisterInterruptHandler (\r
+  IN EFI_EXCEPTION_TYPE         InterruptType,\r
+  IN EFI_CPU_INTERRUPT_HANDLER  InterruptHandler\r
   )\r
 {\r
   // pass down to CpuExceptionHandlerLib\r
-  return (EFI_STATUS)RegisterCpuInterruptHandler(InterruptType, InterruptHandler);\r
+  return (EFI_STATUS)RegisterCpuInterruptHandler (InterruptType, InterruptHandler);\r
 }\r