From da2b0a8fef1d50184baac61c7df3f5694c94101b Mon Sep 17 00:00:00 2001 From: yshang1 Date: Thu, 12 Jul 2007 03:31:34 +0000 Subject: Remove BootScriptLib from IntelFrameworkPkg. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3204 6f19259b-4bc3-4df7-8a09-765794883524 --- .../Library/DxeBootScriptLibNull/BootScriptLib.c | 506 --------------------- .../DxeBootScriptLibNull/DxeBootScriptLibNull.inf | 61 --- .../DxeBootScriptLibNull/DxeBootScriptLibNull.msa | 45 -- 3 files changed, 612 deletions(-) delete mode 100644 IntelFrameworkPkg/Library/DxeBootScriptLibNull/BootScriptLib.c delete mode 100644 IntelFrameworkPkg/Library/DxeBootScriptLibNull/DxeBootScriptLibNull.inf delete mode 100644 IntelFrameworkPkg/Library/DxeBootScriptLibNull/DxeBootScriptLibNull.msa (limited to 'IntelFrameworkPkg/Library/DxeBootScriptLibNull') diff --git a/IntelFrameworkPkg/Library/DxeBootScriptLibNull/BootScriptLib.c b/IntelFrameworkPkg/Library/DxeBootScriptLibNull/BootScriptLib.c deleted file mode 100644 index 09366a10fc..0000000000 --- a/IntelFrameworkPkg/Library/DxeBootScriptLibNull/BootScriptLib.c +++ /dev/null @@ -1,506 +0,0 @@ -/*++ - - Copyright (c) 2006 - 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: - - BootScriptLib.c - -Abstract: - - Support for EFI script. - ---*/ - -// -// The package level header files this module uses -// -#include -// -// The protocols, PPI and GUID defintions for this module -// -// -// The Library classes this module consumes -// -#include - -EFI_STATUS -EFIAPI -BootScriptSaveIoWrite ( - IN UINT16 TableName, - IN EFI_BOOT_SCRIPT_WIDTH Width, - IN UINT64 Address, - IN UINTN Count, - IN VOID *Buffer - ) -/*++ - -Routine Description: - - Save I/O write to boot script - -Arguments: - - TableName - Desired boot script table - - (Standard EFI IO write script parameter) - -Returns: - - EFI_NOT_FOUND - BootScriptSave Protocol not exist. - - EFI_STATUS - BootScriptSave Protocol exist, always returns EFI_SUCCESS - ---*/ -// GC_TODO: Width - add argument and description to function comment -// GC_TODO: Address - add argument and description to function comment -// GC_TODO: Count - add argument and description to function comment -// GC_TODO: Buffer - add argument and description to function comment -{ - return EFI_SUCCESS; -} - -EFI_STATUS -EFIAPI -BootScriptSaveIoReadWrite ( - IN UINT16 TableName, - IN EFI_BOOT_SCRIPT_WIDTH Width, - IN UINT64 Address, - IN VOID *Data, - IN VOID *DataMask - ) -/*++ - -Routine Description: - - Save I/O write to boot script - -Arguments: - - TableName - Desired boot script table - - (Standard EFI IO read write script parameter) - -Returns: - - EFI_NOT_FOUND - BootScriptSave Protocol not exist. - - EFI_STATUS - BootScriptSave Protocol exist, always returns EFI_SUCCESS - ---*/ -// GC_TODO: Width - add argument and description to function comment -// GC_TODO: Address - add argument and description to function comment -// GC_TODO: Data - add argument and description to function comment -// GC_TODO: DataMask - add argument and description to function comment -{ - return EFI_SUCCESS; -} - -EFI_STATUS -EFIAPI -BootScriptSaveMemWrite ( - IN UINT16 TableName, - IN EFI_BOOT_SCRIPT_WIDTH Width, - IN UINT64 Address, - IN UINTN Count, - IN VOID *Buffer - ) -/*++ - -Routine Description: - - Save I/O write to boot script - -Arguments: - - TableName - Desired boot script table - - (Standard EFI MEM write script parameter) - -Returns: - - EFI_NOT_FOUND - BootScriptSave Protocol not exist. - - EFI_STATUS - BootScriptSave Protocol exist, always returns EFI_SUCCESS - ---*/ -// GC_TODO: Width - add argument and description to function comment -// GC_TODO: Address - add argument and description to function comment -// GC_TODO: Count - add argument and description to function comment -// GC_TODO: Buffer - add argument and description to function comment -{ - return EFI_SUCCESS; -} - -EFI_STATUS -EFIAPI -BootScriptSaveMemReadWrite ( - IN UINT16 TableName, - IN EFI_BOOT_SCRIPT_WIDTH Width, - IN UINT64 Address, - IN VOID *Data, - IN VOID *DataMask - ) -/*++ - -Routine Description: - - Save I/O write to boot script - -Arguments: - - TableName - Desired boot script table - - (Standard EFI MEM read write script parameter) - -Returns: - - EFI_NOT_FOUND - BootScriptSave Protocol not exist. - - EFI_STATUS - BootScriptSave Protocol exist, always returns EFI_SUCCESS - ---*/ -// GC_TODO: Width - add argument and description to function comment -// GC_TODO: Address - add argument and description to function comment -// GC_TODO: Data - add argument and description to function comment -// GC_TODO: DataMask - add argument and description to function comment -{ - return EFI_SUCCESS; -} - -EFI_STATUS -EFIAPI -BootScriptSavePciCfgWrite ( - IN UINT16 TableName, - IN EFI_BOOT_SCRIPT_WIDTH Width, - IN UINT64 Address, - IN UINTN Count, - IN VOID *Buffer - ) -/*++ - -Routine Description: - - Save I/O write to boot script - -Arguments: - - TableName - Desired boot script table - - (Standard EFI PCI write script parameter) - -Returns: - - EFI_NOT_FOUND - BootScriptSave Protocol not exist. - - EFI_STATUS - BootScriptSave Protocol exist, always returns EFI_SUCCESS - ---*/ -// GC_TODO: Width - add argument and description to function comment -// GC_TODO: Address - add argument and description to function comment -// GC_TODO: Count - add argument and description to function comment -// GC_TODO: Buffer - add argument and description to function comment -{ - return EFI_SUCCESS; -} - -EFI_STATUS -EFIAPI -BootScriptSavePciCfgReadWrite ( - IN UINT16 TableName, - IN EFI_BOOT_SCRIPT_WIDTH Width, - IN UINT64 Address, - IN VOID *Data, - IN VOID *DataMask - ) -/*++ - -Routine Description: - - Save I/O write to boot script - -Arguments: - - TableName - Desired boot script table - - (Standard EFI PCI read write script parameter) - -Returns: - - EFI_NOT_FOUND - BootScriptSave Protocol not exist. - - EFI_STATUS - BootScriptSave Protocol exist, always returns EFI_SUCCESS - ---*/ -// GC_TODO: Width - add argument and description to function comment -// GC_TODO: Address - add argument and description to function comment -// GC_TODO: Data - add argument and description to function comment -// GC_TODO: DataMask - add argument and description to function comment -{ - return EFI_SUCCESS; -} - -EFI_STATUS -EFIAPI -BootScriptSaveSmbusExecute ( - IN UINT16 TableName, - IN EFI_SMBUS_DEVICE_ADDRESS SlaveAddress, - IN EFI_SMBUS_DEVICE_COMMAND Command, - IN EFI_SMBUS_OPERATION Operation, - IN BOOLEAN PecCheck, - IN UINTN *Length, - IN VOID *Buffer - ) -/*++ - -Routine Description: - - Save I/O write to boot script - -Arguments: - - TableName - Desired boot script table - - (Standard EFI Smbus execute script parameter) - -Returns: - - EFI_NOT_FOUND - BootScriptSave Protocol not exist. - - EFI_STATUS - BootScriptSave Protocol exist, always returns EFI_SUCCESS - ---*/ -// GC_TODO: SlaveAddress - add argument and description to function comment -// GC_TODO: Command - add argument and description to function comment -// GC_TODO: Operation - add argument and description to function comment -// GC_TODO: PecCheck - add argument and description to function comment -// GC_TODO: Length - add argument and description to function comment -// GC_TODO: Buffer - add argument and description to function comment -{ - return EFI_SUCCESS; -} - -EFI_STATUS -EFIAPI -BootScriptSaveStall ( - IN UINT16 TableName, - IN UINTN Duration - ) -/*++ - -Routine Description: - - Save I/O write to boot script - -Arguments: - - TableName - Desired boot script table - - (Standard EFI stall script parameter) - -Returns: - - EFI_NOT_FOUND - BootScriptSave Protocol not exist. - - EFI_STATUS - BootScriptSave Protocol exist, always returns EFI_SUCCESS - ---*/ -// GC_TODO: Duration - add argument and description to function comment -{ - return EFI_SUCCESS; -} - -EFI_STATUS -EFIAPI -BootScriptSaveDispatch2 ( - IN UINT16 TableName, - IN EFI_PHYSICAL_ADDRESS EntryPoint, - IN EFI_PHYSICAL_ADDRESS Context - ) -/*++ - -Routine Description: - - GC_TODO: Add function description - -Arguments: - - TableName - GC_TODO: add argument description - EntryPoint - GC_TODO: add argument description - -Returns: - - EFI_NOT_FOUND - GC_TODO: Add description for return value - EFI_SUCCESS - GC_TODO: Add description for return value - ---*/ -{ - return EFI_SUCCESS; -} - -EFI_STATUS -EFIAPI -BootScriptSaveInformation ( - IN UINT16 TableName, - IN UINT32 Length, - IN EFI_PHYSICAL_ADDRESS Buffer - ) -/*++ - -Routine Description: - - GC_TODO: Add function description - -Arguments: - - TableName - GC_TODO: add argument description - EntryPoint - GC_TODO: add argument description - -Returns: - - EFI_NOT_FOUND - GC_TODO: Add description for return value - EFI_SUCCESS - GC_TODO: Add description for return value - ---*/ -{ - return EFI_SUCCESS; -} - -EFI_STATUS -EFIAPI -BootScriptSaveInformationUnicodeString ( - IN UINT16 TableName, - IN CONST CHAR16 *String - ) - /*++ - -Routine Description: - - Save unicode string information specified by Buffer to - boot script with opcode EFI_BOOT_SCRIPT_INFORMATION_OPCODE - -Arguments: - - TableName - Desired boot script table - - FfsName - The file name of the code to be dispatched. - - Context - The data that will be passed into code. - - ParentHandle - The caller's image handle. - -Returns: - - EFI_NOT_FOUND - BootScriptSave Protocol not exist. - - EFI_STATUS - BootScriptSave Protocol exist, always returns EFI_SUCCESS - ---*/ -{ - return EFI_SUCCESS; -} - -EFI_STATUS -EFIAPI -BootScriptSaveInformationAsciiString ( - IN UINT16 TableName, - IN CONST CHAR8 *String - ) - /*++ - -Routine Description: - - Save ASCII string information specified by Buffer to - boot script with opcode EFI_BOOT_SCRIPT_INFORMATION_OPCODE - -Arguments: - - TableName - Desired boot script table - - FfsName - The file name of the code to be dispatched. - - Context - The data that will be passed into code. - - ParentHandle - The caller's image handle. - -Returns: - - EFI_NOT_FOUND - BootScriptSave Protocol not exist. - - EFI_STATUS - BootScriptSave Protocol exist, always returns EFI_SUCCESS - ---*/ -{ - return EFI_SUCCESS; -} - - -EFI_STATUS -EFIAPI -BootScriptSaveDispatch ( - IN UINT16 TableName, - IN EFI_PHYSICAL_ADDRESS EntryPoint - ) -/*++ - -Routine Description: - - GC_TODO: Add function description - -Arguments: - - TableName - GC_TODO: add argument description - EntryPoint - GC_TODO: add argument description - -Returns: - - EFI_NOT_FOUND - GC_TODO: Add description for return value - EFI_SUCCESS - GC_TODO: Add description for return value - ---*/ -{ - return EFI_SUCCESS; -} - -EFI_STATUS -EFIAPI -BootScriptSaveDispatch2Image ( - IN UINT16 TableName, - IN EFI_GUID *FfsName, - IN EFI_PHYSICAL_ADDRESS Context, - IN EFI_HANDLE ParentHandle - ) -/*++ - -Routine Description: - - Save dispatching specified arbitrary code to boot script with opcode - EFI_BOOT_SCRIPT_DISPATCH_OPCODE - -Arguments: - - TableName - Desired boot script table - - FfsName - The file name of the code to be dispatched. - - Context - The data that will be passed into code. - - ParentHandle - The caller's image handle. - -Returns: - - EFI_NOT_FOUND - BootScriptSave Protocol not exist. - - EFI_STATUS - BootScriptSave Protocol exist, always returns EFI_SUCCESS - ---*/ -{ - return EFI_SUCCESS; -} diff --git a/IntelFrameworkPkg/Library/DxeBootScriptLibNull/DxeBootScriptLibNull.inf b/IntelFrameworkPkg/Library/DxeBootScriptLibNull/DxeBootScriptLibNull.inf deleted file mode 100644 index 5d7fdb5b69..0000000000 --- a/IntelFrameworkPkg/Library/DxeBootScriptLibNull/DxeBootScriptLibNull.inf +++ /dev/null @@ -1,61 +0,0 @@ -#/** @file -# BootScriptLib instance that always produces NOP operation. -# -# This library is primarily used by platform that does not support ACPI S3 resume. -# All the library interfaces simply return EFI_SUCCESS without performing any operation. -# -# Copyright (c) 2006 - 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. -# -# -#**/ - -################################################################################ -# -# Defines Section - statements that will be processed to create a Makefile. -# -################################################################################ -[Defines] - INF_VERSION = 0x00010005 - BASE_NAME = DxeBootScriptLibNull - FILE_GUID = 9A6DC1AC-94C0-43b1-8714-4C70FD58A815 - MODULE_TYPE = DXE_DRIVER - VERSION_STRING = 1.0 - LIBRARY_CLASS = BootScriptLib - EDK_RELEASE_VERSION = 0x00020000 - EFI_SPECIFICATION_VERSION = 0x00020000 - - -# -# The following information is for reference only and not required by the build tools. -# -# VALID_ARCHITECTURES = IA32 X64 IPF EBC -# - -################################################################################ -# -# Sources Section - list of files that are required for the build to succeed. -# -################################################################################ - -[Sources.common] - BootScriptLib.c - - -################################################################################ -# -# Package Dependency Section - list of Package files that are required for -# this module. -# -################################################################################ - -[Packages] - MdePkg/MdePkg.dec - IntelFrameworkPkg/IntelFrameworkPkg.dec - diff --git a/IntelFrameworkPkg/Library/DxeBootScriptLibNull/DxeBootScriptLibNull.msa b/IntelFrameworkPkg/Library/DxeBootScriptLibNull/DxeBootScriptLibNull.msa deleted file mode 100644 index 43728f2f5e..0000000000 --- a/IntelFrameworkPkg/Library/DxeBootScriptLibNull/DxeBootScriptLibNull.msa +++ /dev/null @@ -1,45 +0,0 @@ - - - - DxeBootScriptLibNull - DXE_DRIVER - 9A6DC1AC-94C0-43b1-8714-4C70FD58A815 - 1.0 - BootScriptLib instance that always produces NOP operation. - This library is primarily used by platform that does not support ACPI S3 resume. - All the library interfaces simply return EFI_SUCCESS without performing any operation. - Copyright (c) 2006 - 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. - - FRAMEWORK_BUILD_PACKAGING_SPECIFICATION 0x00000052 -
- - IA32 X64 IPF EBC - false - DxeBootScriptLibNull - - - - BootScriptLib - - - - BootScriptLib.c - - - - - - - - EFI_SPECIFICATION_VERSION 0x00020000 - EDK_RELEASE_VERSION 0x00020000 - -
-- cgit v1.2.3