]> git.proxmox.com Git - mirror_edk2.git/blobdiff - BeagleBoardPkg/Sec/Sec.c
ArmPkg/DefaultExceptionHandlerLib: trim module name in backtrace output
[mirror_edk2.git] / BeagleBoardPkg / Sec / Sec.c
index a9bd00690f99b2076875e2b55b8814a3cc7f2571..0708396d9792514efa981e3e14f6855424025fcc 100644 (file)
@@ -1,9 +1,9 @@
 /** @file\r
   C Entry point for the SEC. First C code after the reset vector.\r
 \r
-  Copyright (c) 2008-2009, Apple Inc. All rights reserved.\r
-  \r
-  All rights reserved. This program and the accompanying materials\r
+  Copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>\r
+\r
+  This program and the accompanying materials\r
   are licensed and made available under the terms and conditions of the BSD License\r
   which accompanies this distribution.  The full text of the license may be found at\r
   http://opensource.org/licenses/bsd-license.php\r
@@ -93,9 +93,9 @@ UartInit (
   MmioWrite32 (UartBaseAddress + UART_MCR_REG, UART_MCR_RTS_FORCE_ACTIVE | UART_MCR_DTR_FORCE_ACTIVE);\r
 \r
   // Clear & enable fifos\r
-  MmioWrite32 (UartBaseAddress + UART_FCR_REG, UART_FCR_TX_FIFO_CLEAR | UART_FCR_RX_FIFO_CLEAR | UART_FCR_FIFO_ENABLE);  \r
+  MmioWrite32 (UartBaseAddress + UART_FCR_REG, UART_FCR_TX_FIFO_CLEAR | UART_FCR_RX_FIFO_CLEAR | UART_FCR_FIFO_ENABLE);\r
 \r
-  // Restore MODE_SELECT \r
+  // Restore MODE_SELECT\r
   MmioWrite32 (UartBaseAddress + UART_MDR1_REG, UART_MDR1_MODE_SELECT_UART_16X);\r
 }\r
 \r
@@ -153,13 +153,13 @@ CEntryPoint (
 \r
   // Start talking\r
   UartInit ();\r
\r
-  InitializeDebugAgent (DEBUG_AGENT_INIT_PREMEM_SEC, NULL);\r
+\r
+  InitializeDebugAgent (DEBUG_AGENT_INIT_PREMEM_SEC, NULL, NULL);\r
   SaveAndSetDebugTimerInterrupt (TRUE);\r
 \r
   DEBUG ((EFI_D_ERROR, "UART Enabled\n"));\r
 \r
-  // Start up a free running time so that the timer lib will work\r
+  // Start up a free running timer so that the timer lib will work\r
   TimerInit ();\r
 \r
   // SEC phase needs to run library constructors by hand.\r
@@ -179,7 +179,7 @@ CEntryPoint (
 \r
   // Load the DXE Core and transfer control to it\r
   LoadDxeCoreFromFv (NULL, 0);\r
-  \r
+\r
   // DXE Core should always load and never return\r
   ASSERT (FALSE);\r
 }\r