]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EdkCompatibilityPkg/Sample/Platform/Generic/RuntimeDxe/StatusCode/Lib/RtPort80StatusCode/RtPort80StatusCode.c
EdkCompatibilityPkg: Remove EdkCompatibilityPkg
[mirror_edk2.git] / EdkCompatibilityPkg / Sample / Platform / Generic / RuntimeDxe / StatusCode / Lib / RtPort80StatusCode / RtPort80StatusCode.c
diff --git a/EdkCompatibilityPkg/Sample/Platform/Generic/RuntimeDxe/StatusCode/Lib/RtPort80StatusCode/RtPort80StatusCode.c b/EdkCompatibilityPkg/Sample/Platform/Generic/RuntimeDxe/StatusCode/Lib/RtPort80StatusCode/RtPort80StatusCode.c
deleted file mode 100644 (file)
index bac28c7..0000000
+++ /dev/null
@@ -1,63 +0,0 @@
-/*++\r
-\r
-Copyright (c) 2004 - 2007, Intel Corporation. All rights reserved.<BR>\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
-                                                                                          \r
-THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,                     \r
-WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.             \r
-\r
-Module Name:\r
-  \r
-  RtPort80StatusCode.c\r
-   \r
-Abstract:\r
-\r
-  Lib to provide port 80 status code reporting Routines. This routine\r
-  does not use PPI's but is monolithic.\r
-\r
-  In general you should use PPI's, but some times a monolithic driver\r
-  is better. The best justification for monolithic code is debug.\r
-\r
---*/\r
-\r
-#include "RtPort80StatusCode.h"\r
-\r
-EFI_STATUS\r
-EFIAPI\r
-RtPort80ReportStatusCode (\r
-  IN EFI_STATUS_CODE_TYPE     CodeType,\r
-  IN EFI_STATUS_CODE_VALUE    Value,\r
-  IN UINT32                   Instance,\r
-  IN EFI_GUID                 * CallerId,\r
-  IN EFI_STATUS_CODE_DATA     * Data OPTIONAL\r
-  )\r
-/*++\r
-\r
-Routine Description:\r
-\r
-  Provide a port 80 status code\r
-\r
-Arguments:\r
-\r
-  Same as ReportStatusCode PPI\r
-    \r
-Returns:\r
-\r
-  EFI_SUCCESS   Always returns success.\r
-\r
---*/\r
-{\r
-  UINT8 Port80Code;\r
-\r
-  //\r
-  // Progress or error code, Output Port 80h card\r
-  //\r
-  if (CodeTypeToPostCode (CodeType, Value, &Port80Code)) {\r
-    IoWrite8 (0x80, Port80Code);\r
-  }\r
-\r
-  return EFI_SUCCESS;\r
-}\r