]> git.proxmox.com Git - mirror_edk2.git/blobdiff - BeagleBoardPkg/Sec/Sec.c
EmulatorPkg: Fix typos in comments
[mirror_edk2.git] / BeagleBoardPkg / Sec / Sec.c
index 931fb58eec178a437225dd552bdaa8bcd0901d97..0708396d9792514efa981e3e14f6855424025fcc 100644 (file)
@@ -2,7 +2,7 @@
   C Entry point for the SEC. First C code after the reset vector.\r
 \r
   Copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>\r
-  \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
@@ -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