diff options
author | yshang1 <yshang1@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-07-12 03:31:34 +0000 |
---|---|---|
committer | yshang1 <yshang1@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-07-12 03:31:34 +0000 |
commit | 30ef62bf42029db8e6b215f06c2c50e308388f8e (patch) | |
tree | 252d9338107f6c5d3c2264d46f23734fc8940f25 | |
parent | 9cd3448c755e87bc7cd9c43d1e4d81560a4e0450 (diff) | |
download | edk2-30ef62bf42029db8e6b215f06c2c50e308388f8e.zip edk2-30ef62bf42029db8e6b215f06c2c50e308388f8e.tar.gz edk2-30ef62bf42029db8e6b215f06c2c50e308388f8e.tar.bz2 |
Remove BootScriptLib from IntelFrameworkPkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2/IntelFrameworkPkg@3204 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r-- | Include/Library/BootScriptLib.h | 530 | ||||
-rw-r--r-- | Library/DxeBootScriptLibNull/BootScriptLib.c | 506 | ||||
-rw-r--r-- | Library/DxeBootScriptLibNull/DxeBootScriptLibNull.inf | 61 | ||||
-rw-r--r-- | Library/DxeBootScriptLibNull/DxeBootScriptLibNull.msa | 45 |
4 files changed, 0 insertions, 1142 deletions
diff --git a/Include/Library/BootScriptLib.h b/Include/Library/BootScriptLib.h deleted file mode 100644 index e1f84e8..0000000 --- a/Include/Library/BootScriptLib.h +++ /dev/null @@ -1,530 +0,0 @@ -/*++
-
- Copyright (c) 2006 - 2007, Intel Corporation<BR>
- 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:
-
- EfiScriptLib.h
-
-Abstract:
-
-
---*/
-
-#ifndef _BOOT_SCRIPT_LIB_H_
-#define _BOOT_SCRIPT_LIB_H_
-
-#include <PiPei.h>
-#include <Ppi/BootScriptExecuter.h>
-
-#include <IndustryStandard/SmBus.h>
-
-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 with opcode EFI_BOOT_SCRIPT_IO_WRITE_OPCODE
-
-Arguments:
-
- TableName - Desired boot script table
-
- Width - The width of the I/O operations.
-
- Address - The base address of the I/O operations.
-
- Count - The number of I/O operations to perform.
-
- Buffer - The source buffer from which to write data.
-
-Returns:
-
- EFI_NOT_FOUND - BootScriptSave Protocol not exist.
-
- EFI_STATUS - BootScriptSave Protocol exist, always returns 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 modify to boot script with opcode EFI_BOOT_SCRIPT_IO_READ_WRITE_OPCODE
-
-Arguments:
-
- TableName - Desired boot script table
-
- Width - The width of the I/O operations.
-
- Address - The base address of the I/O operations.
-
- Data - A pointer to the data to be OR-ed.
-
- DataMask - A pointer to the data mask to be AND-ed with the data read from the register.
-
-Returns:
-
- EFI_NOT_FOUND - BootScriptSave Protocol not exist.
-
- EFI_STATUS - BootScriptSave Protocol exist, always returns 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 memory write to boot script with opcode EFI_BOOT_SCRIPT_MEM_WRITE_OPCODE
-
-Arguments:
-
- TableName - Desired boot script table
-
- Width - The width of the memory operations.
-
- Address - The base address of the memory operations.
-
- Count - The number of memory operations to perform.
-
- Buffer - The source buffer from which to write the data.
-
-Returns:
-
- EFI_NOT_FOUND - BootScriptSave Protocol not exist.
-
- EFI_STATUS - BootScriptSave Protocol exist, always returns 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 memory modify to boot script with opcode EFI_BOOT_SCRIPT_MEM_READ_WRITE_OPCODE
-
-Arguments:
-
- TableName - Desired boot script table
-
- Width - The width of the memory operations.
-
- Address - The base address of the memory operations.
-
- Data - A pointer to the data to be OR-ed.
-
- DataMask - A pointer to the data mask to be AND-ed with the data read from the register.
-
-Returns:
-
- EFI_NOT_FOUND - BootScriptSave Protocol not exist.
-
- EFI_STATUS - BootScriptSave Protocol exist, always returns 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 PCI configuration space write operation to boot script with opcode
- EFI_BOOT_SCRIPT_PCI_CONFIG_WRITE_OPCODE
-
-Arguments:
-
- TableName - Desired boot script table
-
- Width - The width of the PCI operations
-
- Address - The address within the PCI configuration space.
-
- Count - The number of PCI operations to perform.
-
- Buffer - The source buffer from which to write the data.
-
-Returns:
-
- EFI_NOT_FOUND - BootScriptSave Protocol not exist.
-
- EFI_STATUS - BootScriptSave Protocol exist, always returns 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 PCI configuration space modify operation to boot script with opcode
- EFI_BOOT_SCRIPT_PCI_CONFIG_READ_WRITE_OPCODE
-
-Arguments:
-
- TableName - Desired boot script table
-
- Width - The width of the PCI operations
-
- Address - The address within the PCI configuration space.
-
- Data - A pointer to the data to be OR-ed.
-
- DataMask - A pointer to the data mask to be AND-ed with the data read from the register.
-
-Returns:
-
- EFI_NOT_FOUND - BootScriptSave Protocol not exist.
-
- EFI_STATUS - BootScriptSave Protocol exist, always returns 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 SMBus command execution to boot script with opcode
- EFI_BOOT_SCRIPT_SMBUS_EXECUTE_OPCODE
-
-Arguments:
-
- TableName - Desired boot script table
- SlaveAddress - The SMBus address for the slave device that the operation is targeting.
- Command - The command that is transmitted by the SMBus host controller to the
- SMBus slave device.
- Operation - Indicates which particular SMBus protocol it will use to execute the
- SMBus transactions.
- PecCheck - Defines if Packet Error Code (PEC) checking is required for this operation.
- Length - A pointer to signify the number of bytes that this operation will do.
- Buffer - Contains the value of data to execute to the SMBUS slave device.
-
-Returns:
-
- EFI_NOT_FOUND - BootScriptSave Protocol not exist.
-
- EFI_STATUS - BootScriptSave Protocol exist, always returns EFI_SUCCESS
-
---*/
-;
-
-EFI_STATUS
-EFIAPI
-BootScriptSaveStall (
- IN UINT16 TableName,
- IN UINTN Duration
- )
-/*++
-
-Routine Description:
-
- Save execution stall on the processor to boot script with opcode
- EFI_BOOT_SCRIPT_STALL_OPCODE
-
-Arguments:
-
- TableName - Desired boot script table
-
- Duration - Duration in microseconds of the stall.
-
-Returns:
-
- EFI_NOT_FOUND - BootScriptSave Protocol not exist.
-
- EFI_STATUS - BootScriptSave Protocol exist, always returns EFI_SUCCESS
-
---*/
-;
-
-EFI_STATUS
-EFIAPI
-BootScriptSaveDispatch (
- IN UINT16 TableName,
- IN EFI_PHYSICAL_ADDRESS EntryPoint
- )
-/*++
-
-Routine Description:
-
- Save dispatching specified arbitrary code to boot script with opcode
- EFI_BOOT_SCRIPT_DISPATCH_OPCODE
-
-Arguments:
-
- TableName - Desired boot script table
-
- EntryPoint - Entry point of the code to be dispatched.
-
-Returns:
-
- EFI_NOT_FOUND - BootScriptSave Protocol not exist.
-
- EFI_STATUS - BootScriptSave Protocol exist, always returns EFI_SUCCESS
-
---*/
-;
-
-EFI_STATUS
-EFIAPI
-BootScriptSaveDispatch2 (
- IN UINT16 TableName,
- IN EFI_PHYSICAL_ADDRESS EntryPoint,
- IN EFI_PHYSICAL_ADDRESS Context
- )
-/*++
-
-Routine Description:
-
- Save dispatching specified arbitrary code to boot script with opcode
- EFI_BOOT_SCRIPT_DISPATCH_OPCODE
-
-Arguments:
-
- TableName - Desired boot script table
-
- EntryPoint - Entry point of the code to be dispatched.
-
- Context - The data that will be passed into code.
-
-Returns:
-
- EFI_NOT_FOUND - BootScriptSave Protocol not exist.
-
- EFI_STATUS - BootScriptSave Protocol exist, always returns 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
-
---*/
-;
-
-EFI_STATUS
-EFIAPI
-BootScriptSaveInformation (
- IN UINT16 TableName,
- IN UINT32 Length,
- IN EFI_PHYSICAL_ADDRESS Buffer
- )
- /*++
-
-Routine Description:
-
- Save information specified by Buffer, length is specified by Length, 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
-
---*/
-;
-
-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
-
---*/
-;
-
-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
-
---*/
-;
-
-EFI_STATUS
-EFIAPI
-BootScriptSaveInitialize (
- IN EFI_HANDLE ImageHandle,
- IN EFI_SYSTEM_TABLE *SystemTable
- )
-/*++
-
-Routine Description:
-
- Intialize Boot Script Lib if it has not yet been initialized.
-
-Arguments:
-
- ImageHandle - The firmware allocated handle for the EFI image.
-
- SystemTable - A pointer to the EFI System Table.
-
-Returns:
-
- EFI_STATUS always returns EFI_SUCCESS
-
---*/
-;
-#endif
-
-
diff --git a/Library/DxeBootScriptLibNull/BootScriptLib.c b/Library/DxeBootScriptLibNull/BootScriptLib.c deleted file mode 100644 index 09366a1..0000000 --- a/Library/DxeBootScriptLibNull/BootScriptLib.c +++ /dev/null @@ -1,506 +0,0 @@ -/*++
-
- Copyright (c) 2006 - 2007, Intel Corporation<BR>
- 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 <PiDxe.h>
-//
-// The protocols, PPI and GUID defintions for this module
-//
-//
-// The Library classes this module consumes
-//
-#include <Library/BootScriptLib.h>
-
-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/Library/DxeBootScriptLibNull/DxeBootScriptLibNull.inf b/Library/DxeBootScriptLibNull/DxeBootScriptLibNull.inf deleted file mode 100644 index 5d7fdb5..0000000 --- a/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<BR>
-# 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/Library/DxeBootScriptLibNull/DxeBootScriptLibNull.msa b/Library/DxeBootScriptLibNull/DxeBootScriptLibNull.msa deleted file mode 100644 index 43728f2..0000000 --- a/Library/DxeBootScriptLibNull/DxeBootScriptLibNull.msa +++ /dev/null @@ -1,45 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?>
-<ModuleSurfaceArea xmlns="http://www.TianoCore.org/2006/Edk2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <MsaHeader>
- <ModuleName>DxeBootScriptLibNull</ModuleName>
- <ModuleType>DXE_DRIVER</ModuleType>
- <GuidValue>9A6DC1AC-94C0-43b1-8714-4C70FD58A815</GuidValue>
- <Version>1.0</Version>
- <Abstract>BootScriptLib instance that always produces NOP operation.</Abstract>
- <Description>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.</Description>
- <Copyright>Copyright (c) 2006 - 2007, Intel Corporation<BR></Copyright>
- <License>
- 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.
- </License>
- <Specification>FRAMEWORK_BUILD_PACKAGING_SPECIFICATION 0x00000052</Specification>
- </MsaHeader>
- <ModuleDefinitions>
- <SupportedArchitectures>IA32 X64 IPF EBC</SupportedArchitectures>
- <BinaryModule>false</BinaryModule>
- <OutputFileBasename>DxeBootScriptLibNull</OutputFileBasename>
- </ModuleDefinitions>
- <LibraryClassDefinitions>
- <LibraryClass Usage="ALWAYS_PRODUCED">
- <Keyword>BootScriptLib</Keyword>
- </LibraryClass>
- </LibraryClassDefinitions>
- <SourceFiles>
- <Filename>BootScriptLib.c</Filename>
- </SourceFiles>
- <PackageDependencies>
- <Package PackageGuid="5e0e9358-46b6-4ae2-8218-4ab8b9bbdcec"/>
- <Package PackageGuid="68169ab0-d41b-4009-9060-292c253ac43d"/>
- <Package PackageGuid="bea835f9-fd62-464a-81ff-f3a806360c6b"/>
- </PackageDependencies>
- <Externs>
- <Specification>EFI_SPECIFICATION_VERSION 0x00020000</Specification>
- <Specification>EDK_RELEASE_VERSION 0x00020000</Specification>
- </Externs>
-</ModuleSurfaceArea>
|