summaryrefslogtreecommitdiff
path: root/EdkCompatibilityPkg/Sample/Platform/Generic/RuntimeDxe/StatusCode/Lib/RtPort80StatusCode/RtPort80StatusCode.c
diff options
context:
space:
mode:
Diffstat (limited to 'EdkCompatibilityPkg/Sample/Platform/Generic/RuntimeDxe/StatusCode/Lib/RtPort80StatusCode/RtPort80StatusCode.c')
-rw-r--r--EdkCompatibilityPkg/Sample/Platform/Generic/RuntimeDxe/StatusCode/Lib/RtPort80StatusCode/RtPort80StatusCode.c63
1 files changed, 0 insertions, 63 deletions
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
index bac28c7d28..0000000000
--- a/EdkCompatibilityPkg/Sample/Platform/Generic/RuntimeDxe/StatusCode/Lib/RtPort80StatusCode/RtPort80StatusCode.c
+++ /dev/null
@@ -1,63 +0,0 @@
-/*++
-
-Copyright (c) 2004 - 2007, Intel Corporation. All rights reserved.<BR>
-This program and the accompanying materials
-are licensed and made available under the terms and conditions of the BSD License
-which accompanies this distribution. The full text of the license may be found at
-http://opensource.org/licenses/bsd-license.php
-
-THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
-WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
-
-Module Name:
-
- RtPort80StatusCode.c
-
-Abstract:
-
- Lib to provide port 80 status code reporting Routines. This routine
- does not use PPI's but is monolithic.
-
- In general you should use PPI's, but some times a monolithic driver
- is better. The best justification for monolithic code is debug.
-
---*/
-
-#include "RtPort80StatusCode.h"
-
-EFI_STATUS
-EFIAPI
-RtPort80ReportStatusCode (
- IN EFI_STATUS_CODE_TYPE CodeType,
- IN EFI_STATUS_CODE_VALUE Value,
- IN UINT32 Instance,
- IN EFI_GUID * CallerId,
- IN EFI_STATUS_CODE_DATA * Data OPTIONAL
- )
-/*++
-
-Routine Description:
-
- Provide a port 80 status code
-
-Arguments:
-
- Same as ReportStatusCode PPI
-
-Returns:
-
- EFI_SUCCESS Always returns success.
-
---*/
-{
- UINT8 Port80Code;
-
- //
- // Progress or error code, Output Port 80h card
- //
- if (CodeTypeToPostCode (CodeType, Value, &Port80Code)) {
- IoWrite8 (0x80, Port80Code);
- }
-
- return EFI_SUCCESS;
-}