EDK2 doxygen online documents - Firmware Encoding Index 1
EDK2 doxygen online documents - Firmware Encoding Index
Defines | Functions

EdkCompatibilityPkg/Foundation/Library/Dxe/Include/EfiScriptLib.h File Reference

#include "Tiano.h"
#include "EfiCommonLib.h"
#include "EfiBootScript.h"

Go to the source code of this file.

Defines

#define INITIALIZE_SCRIPT(ImageHandle, SystemTable)
#define SCRIPT_IO_WRITE(TableName, Width, Address, Count, Buffer)
#define SCRIPT_IO_READ_WRITE(TableName, Width, Address, Data, DataMask)
#define SCRIPT_MEM_WRITE(TableName, Width, Address, Count, Buffer)
#define SCRIPT_MEM_WRITE_THIS(TableName, Width, Address, Count)
#define SCRIPT_MEM_READ_WRITE(TableName, Width, Address, Data, DataMask)
#define SCRIPT_PCI_CFG_WRITE(TableName, Width, Address, Count, Buffer)
#define SCRIPT_PCI_CFG_READ_WRITE(TableName, Width, Address, Data, DataMask)
#define SCRIPT_SMBUS_EXECUTE(TableName, SlaveAddress, Command, Operation, PecCheck, Length, Buffer)
#define SCRIPT_STALL(TableName, Duration)
#define SCRIPT_DISPATCH(TableName, EntryPoint)
#define SCRIPT_MEM_POLL(TableName, Width, Address, BitMask, BitValue, Duration, LoopTimes)
#define SCRIPT_INFORMATION(TableName, Length, Buffer)
#define SCRIPT_INFORMATION_UNICODE_STRING(TableName, String)
#define SCRIPT_INFORMATION_ASCII_STRING(TableName, String)
#define SCRIPT_INOFRMATION(TableName, Length, Buffer)
#define SCRIPT_INOFRMATION_UNICODE_STRING(TableName, String)
#define SCRIPT_INOFRMATION_ASCII_STRING(TableName, String)

Functions

EFI_STATUS EFIAPI BootScriptSaveInitialize (IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable)
EFI_STATUS EFIAPI BootScriptSaveIoWrite (IN UINT16 TableName, IN EFI_BOOT_SCRIPT_WIDTH Width, IN UINT64 Address, IN UINTN Count, IN VOID *Buffer)
EFI_STATUS EFIAPI BootScriptSaveIoReadWrite (IN UINT16 TableName, IN EFI_BOOT_SCRIPT_WIDTH Width, IN UINT64 Address, IN VOID *Data, IN VOID *DataMask)
EFI_STATUS EFIAPI BootScriptSaveMemWrite (IN UINT16 TableName, IN EFI_BOOT_SCRIPT_WIDTH Width, IN UINT64 Address, IN UINTN Count, IN VOID *Buffer)
EFI_STATUS EFIAPI BootScriptSaveMemReadWrite (IN UINT16 TableName, IN EFI_BOOT_SCRIPT_WIDTH Width, IN UINT64 Address, IN VOID *Data, IN VOID *DataMask)
EFI_STATUS EFIAPI BootScriptSavePciCfgWrite (IN UINT16 TableName, IN EFI_BOOT_SCRIPT_WIDTH Width, IN UINT64 Address, IN UINTN Count, IN VOID *Buffer)
EFI_STATUS EFIAPI BootScriptSavePciCfgReadWrite (IN UINT16 TableName, IN EFI_BOOT_SCRIPT_WIDTH Width, IN UINT64 Address, IN VOID *Data, IN VOID *DataMask)
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)
EFI_STATUS EFIAPI BootScriptSaveStall (IN UINT16 TableName, IN UINTN Duration)
EFI_STATUS EFIAPI BootScriptSaveDispatch (IN UINT16 TableName, IN EFI_PHYSICAL_ADDRESS EntryPoint)
EFI_STATUS EFIAPI BootScriptMemPoll (IN UINT16 TableName, IN EFI_BOOT_SCRIPT_WIDTH Width, IN UINT64 Address, IN VOID *BitMask, IN VOID *BitValue, IN UINTN Duration, IN UINTN LoopTimes)
EFI_STATUS EFIAPI BootScriptSaveInformation (IN UINT16 TableName, IN UINT32 Length, IN EFI_PHYSICAL_ADDRESS Buffer)
EFI_STATUS EFIAPI BootScriptSaveInformationUnicodeString (IN UINT16 TableName, IN CHAR16 *String)
EFI_STATUS EFIAPI BootScriptSaveInformationAsciiString (IN UINT16 TableName, IN CHAR8 *String)

Define Documentation

#define INITIALIZE_SCRIPT (   ImageHandle,
  SystemTable 
)

Definition at line 550 of file EfiScriptLib.h.

#define SCRIPT_DISPATCH (   TableName,
  EntryPoint 
)

Definition at line 570 of file EfiScriptLib.h.

#define SCRIPT_INFORMATION (   TableName,
  Length,
  Buffer 
)

Definition at line 574 of file EfiScriptLib.h.

#define SCRIPT_INFORMATION_ASCII_STRING (   TableName,
  String 
)

Definition at line 578 of file EfiScriptLib.h.

#define SCRIPT_INFORMATION_UNICODE_STRING (   TableName,
  String 
)

Definition at line 576 of file EfiScriptLib.h.

#define SCRIPT_INOFRMATION (   TableName,
  Length,
  Buffer 
)

Definition at line 583 of file EfiScriptLib.h.

#define SCRIPT_INOFRMATION_ASCII_STRING (   TableName,
  String 
)

Definition at line 587 of file EfiScriptLib.h.

#define SCRIPT_INOFRMATION_UNICODE_STRING (   TableName,
  String 
)

Definition at line 585 of file EfiScriptLib.h.

#define SCRIPT_IO_READ_WRITE (   TableName,
  Width,
  Address,
  Data,
  DataMask 
)

Definition at line 554 of file EfiScriptLib.h.

#define SCRIPT_IO_WRITE (   TableName,
  Width,
  Address,
  Count,
  Buffer 
)

Definition at line 552 of file EfiScriptLib.h.

#define SCRIPT_MEM_POLL (   TableName,
  Width,
  Address,
  BitMask,
  BitValue,
  Duration,
  LoopTimes 
)

Definition at line 572 of file EfiScriptLib.h.

#define SCRIPT_MEM_READ_WRITE (   TableName,
  Width,
  Address,
  Data,
  DataMask 
)

Definition at line 560 of file EfiScriptLib.h.

#define SCRIPT_MEM_WRITE (   TableName,
  Width,
  Address,
  Count,
  Buffer 
)

Definition at line 556 of file EfiScriptLib.h.

#define SCRIPT_MEM_WRITE_THIS (   TableName,
  Width,
  Address,
  Count 
)

Definition at line 558 of file EfiScriptLib.h.

#define SCRIPT_PCI_CFG_READ_WRITE (   TableName,
  Width,
  Address,
  Data,
  DataMask 
)

Definition at line 564 of file EfiScriptLib.h.

#define SCRIPT_PCI_CFG_WRITE (   TableName,
  Width,
  Address,
  Count,
  Buffer 
)

Definition at line 562 of file EfiScriptLib.h.

#define SCRIPT_SMBUS_EXECUTE (   TableName,
  SlaveAddress,
  Command,
  Operation,
  PecCheck,
  Length,
  Buffer 
)

Definition at line 566 of file EfiScriptLib.h.

#define SCRIPT_STALL (   TableName,
  Duration 
)

Definition at line 568 of file EfiScriptLib.h.


Function Documentation

EFI_STATUS EFIAPI BootScriptMemPoll ( IN UINT16  TableName,
IN EFI_BOOT_SCRIPT_WIDTH  Width,
IN UINT64  Address,
IN VOID *  BitMask,
IN VOID *  BitValue,
IN UINTN  Duration,
IN UINTN  LoopTimes 
)

Definition at line 549 of file EfiScriptLib.c.

EFI_STATUS EFIAPI BootScriptSaveDispatch ( IN UINT16  TableName,
IN EFI_PHYSICAL_ADDRESS  EntryPoint 
)

Definition at line 510 of file EfiScriptLib.c.

EFI_STATUS EFIAPI BootScriptSaveInformation ( IN UINT16  TableName,
IN UINT32  Length,
IN EFI_PHYSICAL_ADDRESS  Buffer 
)

Definition at line 604 of file EfiScriptLib.c.

EFI_STATUS EFIAPI BootScriptSaveInformationAsciiString ( IN UINT16  TableName,
IN CHAR8 String 
)

Definition at line 680 of file EfiScriptLib.c.

EFI_STATUS EFIAPI BootScriptSaveInformationUnicodeString ( IN UINT16  TableName,
IN CHAR16 String 
)

Definition at line 647 of file EfiScriptLib.c.

EFI_STATUS EFIAPI BootScriptSaveInitialize ( IN EFI_HANDLE  ImageHandle,
IN EFI_SYSTEM_TABLE SystemTable 
)

Definition at line 76 of file EfiScriptLib.c.

EFI_STATUS EFIAPI BootScriptSaveIoReadWrite ( IN UINT16  TableName,
IN EFI_BOOT_SCRIPT_WIDTH  Width,
IN UINT64  Address,
IN VOID *  Data,
IN VOID *  DataMask 
)

Definition at line 163 of file EfiScriptLib.c.

EFI_STATUS EFIAPI BootScriptSaveIoWrite ( IN UINT16  TableName,
IN EFI_BOOT_SCRIPT_WIDTH  Width,
IN UINT64  Address,
IN UINTN  Count,
IN VOID *  Buffer 
)

Definition at line 113 of file EfiScriptLib.c.

EFI_STATUS EFIAPI BootScriptSaveMemReadWrite ( IN UINT16  TableName,
IN EFI_BOOT_SCRIPT_WIDTH  Width,
IN UINT64  Address,
IN VOID *  Data,
IN VOID *  DataMask 
)

Definition at line 263 of file EfiScriptLib.c.

EFI_STATUS EFIAPI BootScriptSaveMemWrite ( IN UINT16  TableName,
IN EFI_BOOT_SCRIPT_WIDTH  Width,
IN UINT64  Address,
IN UINTN  Count,
IN VOID *  Buffer 
)

Definition at line 213 of file EfiScriptLib.c.

EFI_STATUS EFIAPI BootScriptSavePciCfgReadWrite ( IN UINT16  TableName,
IN EFI_BOOT_SCRIPT_WIDTH  Width,
IN UINT64  Address,
IN VOID *  Data,
IN VOID *  DataMask 
)

Definition at line 363 of file EfiScriptLib.c.

EFI_STATUS EFIAPI BootScriptSavePciCfgWrite ( IN UINT16  TableName,
IN EFI_BOOT_SCRIPT_WIDTH  Width,
IN UINT64  Address,
IN UINTN  Count,
IN VOID *  Buffer 
)

Definition at line 313 of file EfiScriptLib.c.

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 
)

Definition at line 413 of file EfiScriptLib.c.

EFI_STATUS EFIAPI BootScriptSaveStall ( IN UINT16  TableName,
IN UINTN  Duration 
)

Definition at line 469 of file EfiScriptLib.c.

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Defines