X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=EdkCompatibilityPkg%2FSample%2FPlatform%2FGeneric%2FRuntimeDxe%2FStatusCode%2FLib%2FRtPort80StatusCode%2FRtPort80StatusCode.c;fp=EdkCompatibilityPkg%2FSample%2FPlatform%2FGeneric%2FRuntimeDxe%2FStatusCode%2FLib%2FRtPort80StatusCode%2FRtPort80StatusCode.c;h=0000000000000000000000000000000000000000;hp=bac28c7d28b1531d2e774f643355dfb85a4378a9;hb=c455bc8c8d78ad51c24426a500914ea32504bf06;hpb=5bca07268acabe7f31407358e875ccf89cb5e386 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.
-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; -}