]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EdkCompatibilityPkg/Sample/Platform/Generic/RuntimeDxe/StatusCode/Lib/BsSerialStatusCode/BsSerialStatusCode.c
1) Sync EdkCompatibilityPkg with EDK 1.04. The changes includes:
[mirror_edk2.git] / EdkCompatibilityPkg / Sample / Platform / Generic / RuntimeDxe / StatusCode / Lib / BsSerialStatusCode / BsSerialStatusCode.c
index 483064d737be6eb133afa486af0c42f9cc905856..35fb9a00a452ac39c3eab8ae7b170a77694ba3e9 100644 (file)
@@ -1,6 +1,6 @@
 /*++\r
 \r
-Copyright (c) 2004 - 2005, Intel Corporation                                                         \r
+Copyright (c) 2004 - 2007, Intel Corporation                                                         \r
 All rights reserved. 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
@@ -2095,6 +2095,7 @@ Returns:
 #endif\r
 \r
 VOID\r
+EFIAPI\r
 BsSerialInitializeStatusCode (\r
   IN EFI_HANDLE         ImageHandle,\r
   IN EFI_SYSTEM_TABLE   *SystemTable\r
@@ -2189,6 +2190,9 @@ Returns:
   } while ((Data & LSR_TXRDY) == 0);\r
 \r
   IoWrite8 (gComBase, Character);\r
+#ifdef SERIAL_OUTPUT_STALL\r
+  EfiStall (SERIAL_OUTPUT_STALL);\r
+#endif\r
 }\r
 \r
 VOID\r