12#ifndef __S3_IO_LIB_H__
13#define __S3_IO_LIB_H__
UINT64 EFIAPI S3MmioRead64(IN UINTN Address)
UINT8 EFIAPI S3MmioAnd8(IN UINTN Address, IN UINT8 AndData)
UINT64 EFIAPI S3IoWrite64(IN UINTN Port, IN UINT64 Value)
UINT16 EFIAPI S3MmioBitFieldRead16(IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit)
UINT64 EFIAPI S3MmioAnd64(IN UINTN Address, IN UINT64 AndData)
UINT8 EFIAPI S3MmioBitFieldWrite8(IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT8 Value)
UINT64 EFIAPI S3MmioBitFieldRead64(IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit)
UINT16 EFIAPI S3IoBitFieldAndThenOr16(IN UINTN Port, IN UINTN StartBit, IN UINTN EndBit, IN UINT16 AndData, IN UINT16 OrData)
UINT8 EFIAPI S3MmioBitFieldAndThenOr8(IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT8 AndData, IN UINT8 OrData)
UINT32 EFIAPI S3MmioAnd32(IN UINTN Address, IN UINT32 AndData)
UINT32 EFIAPI S3IoRead32(IN UINTN Port)
UINT64 EFIAPI S3MmioBitFieldAndThenOr64(IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT64 AndData, IN UINT64 OrData)
UINT16 EFIAPI S3IoAnd16(IN UINTN Port, IN UINT16 AndData)
UINT8 EFIAPI S3MmioRead8(IN UINTN Address)
UINT32 EFIAPI S3IoAnd32(IN UINTN Port, IN UINT32 AndData)
UINT32 EFIAPI S3IoBitFieldOr32(IN UINTN Port, IN UINTN StartBit, IN UINTN EndBit, IN UINT32 OrData)
UINT8 EFIAPI S3MmioWrite8(IN UINTN Address, IN UINT8 Value)
UINT32 EFIAPI S3IoOr32(IN UINTN Port, IN UINT32 OrData)
UINT64 EFIAPI S3MmioBitFieldWrite64(IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT64 Value)
UINT64 EFIAPI S3IoOr64(IN UINTN Port, IN UINT64 OrData)
UINT16 EFIAPI S3IoBitFieldWrite16(IN UINTN Port, IN UINTN StartBit, IN UINTN EndBit, IN UINT16 Value)
UINT32 EFIAPI S3IoBitFieldWrite32(IN UINTN Port, IN UINTN StartBit, IN UINTN EndBit, IN UINT32 Value)
UINT8 EFIAPI S3IoWrite8(IN UINTN Port, IN UINT8 Value)
UINT64 EFIAPI S3MmioBitFieldAnd64(IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT64 AndData)
UINT8 *EFIAPI S3MmioReadBuffer8(IN UINTN StartAddress, IN UINTN Length, OUT UINT8 *Buffer)
UINT32 EFIAPI S3MmioBitFieldAnd32(IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT32 AndData)
UINT16 EFIAPI S3IoBitFieldOr16(IN UINTN Port, IN UINTN StartBit, IN UINTN EndBit, IN UINT16 OrData)
UINT8 EFIAPI S3IoBitFieldWrite8(IN UINTN Port, IN UINTN StartBit, IN UINTN EndBit, IN UINT8 Value)
UINT16 EFIAPI S3MmioAnd16(IN UINTN Address, IN UINT16 AndData)
UINT16 EFIAPI S3MmioBitFieldAnd16(IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT16 AndData)
UINT8 EFIAPI S3IoBitFieldAnd8(IN UINTN Port, IN UINTN StartBit, IN UINTN EndBit, IN UINT8 AndData)
UINT16 EFIAPI S3MmioRead16(IN UINTN Address)
UINT64 EFIAPI S3IoBitFieldAndThenOr64(IN UINTN Port, IN UINTN StartBit, IN UINTN EndBit, IN UINT64 AndData, IN UINT64 OrData)
UINT16 EFIAPI S3IoOr16(IN UINTN Port, IN UINT16 OrData)
UINT32 EFIAPI S3MmioOr32(IN UINTN Address, IN UINT32 OrData)
UINT32 EFIAPI S3IoAndThenOr32(IN UINTN Port, IN UINT32 AndData, IN UINT32 OrData)
UINT8 EFIAPI S3IoRead8(IN UINTN Port)
UINT8 EFIAPI S3IoBitFieldRead8(IN UINTN Port, IN UINTN StartBit, IN UINTN EndBit)
UINT32 EFIAPI S3MmioBitFieldRead32(IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit)
UINT32 EFIAPI S3IoWrite32(IN UINTN Port, IN UINT32 Value)
UINT32 EFIAPI S3MmioBitFieldOr32(IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT32 OrData)
UINT64 EFIAPI S3IoAndThenOr64(IN UINTN Port, IN UINT64 AndData, IN UINT64 OrData)
UINT64 EFIAPI S3IoRead64(IN UINTN Port)
UINT16 *EFIAPI S3MmioWriteBuffer16(IN UINTN StartAddress, IN UINTN Length, IN CONST UINT16 *Buffer)
UINT16 EFIAPI S3IoBitFieldRead16(IN UINTN Port, IN UINTN StartBit, IN UINTN EndBit)
UINT16 EFIAPI S3MmioAndThenOr16(IN UINTN Address, IN UINT16 AndData, IN UINT16 OrData)
UINT32 EFIAPI S3IoBitFieldAndThenOr32(IN UINTN Port, IN UINTN StartBit, IN UINTN EndBit, IN UINT32 AndData, IN UINT32 OrData)
UINT32 EFIAPI S3MmioBitFieldWrite32(IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT32 Value)
UINT16 EFIAPI S3IoRead16(IN UINTN Port)
UINT16 *EFIAPI S3MmioReadBuffer16(IN UINTN StartAddress, IN UINTN Length, OUT UINT16 *Buffer)
UINT64 *EFIAPI S3MmioReadBuffer64(IN UINTN StartAddress, IN UINTN Length, OUT UINT64 *Buffer)
UINT64 EFIAPI S3MmioWrite64(IN UINTN Address, IN UINT64 Value)
UINT8 EFIAPI S3MmioOr8(IN UINTN Address, IN UINT8 OrData)
UINT16 EFIAPI S3MmioWrite16(IN UINTN Address, IN UINT16 Value)
UINT8 EFIAPI S3MmioAndThenOr8(IN UINTN Address, IN UINT8 AndData, IN UINT8 OrData)
UINT16 EFIAPI S3IoBitFieldAnd16(IN UINTN Port, IN UINTN StartBit, IN UINTN EndBit, IN UINT16 AndData)
UINT64 EFIAPI S3IoBitFieldRead64(IN UINTN Port, IN UINTN StartBit, IN UINTN EndBit)
UINT16 EFIAPI S3IoAndThenOr16(IN UINTN Port, IN UINT16 AndData, IN UINT16 OrData)
UINT16 EFIAPI S3MmioOr16(IN UINTN Address, IN UINT16 OrData)
UINT64 EFIAPI S3MmioOr64(IN UINTN Address, IN UINT64 OrData)
UINT32 EFIAPI S3MmioWrite32(IN UINTN Address, IN UINT32 Value)
UINT64 EFIAPI S3IoAnd64(IN UINTN Port, IN UINT64 AndData)
UINT32 EFIAPI S3MmioAndThenOr32(IN UINTN Address, IN UINT32 AndData, IN UINT32 OrData)
UINT8 EFIAPI S3IoAnd8(IN UINTN Port, IN UINT8 AndData)
UINT8 EFIAPI S3IoBitFieldAndThenOr8(IN UINTN Port, IN UINTN StartBit, IN UINTN EndBit, IN UINT8 AndData, IN UINT8 OrData)
UINT32 EFIAPI S3IoBitFieldAnd32(IN UINTN Port, IN UINTN StartBit, IN UINTN EndBit, IN UINT32 AndData)
UINT64 EFIAPI S3IoBitFieldWrite64(IN UINTN Port, IN UINTN StartBit, IN UINTN EndBit, IN UINT64 Value)
UINT16 EFIAPI S3MmioBitFieldWrite16(IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT16 Value)
UINT8 EFIAPI S3IoOr8(IN UINTN Port, IN UINT8 OrData)
UINT32 EFIAPI S3IoBitFieldRead32(IN UINTN Port, IN UINTN StartBit, IN UINTN EndBit)
UINT32 *EFIAPI S3MmioWriteBuffer32(IN UINTN StartAddress, IN UINTN Length, IN CONST UINT32 *Buffer)
UINT32 *EFIAPI S3MmioReadBuffer32(IN UINTN StartAddress, IN UINTN Length, OUT UINT32 *Buffer)
UINT8 EFIAPI S3IoBitFieldOr8(IN UINTN Port, IN UINTN StartBit, IN UINTN EndBit, IN UINT8 OrData)
UINT8 EFIAPI S3MmioBitFieldRead8(IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit)
UINT64 *EFIAPI S3MmioWriteBuffer64(IN UINTN StartAddress, IN UINTN Length, IN CONST UINT64 *Buffer)
UINT32 EFIAPI S3MmioRead32(IN UINTN Address)
UINT16 EFIAPI S3MmioBitFieldAndThenOr16(IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT16 AndData, IN UINT16 OrData)
UINT8 EFIAPI S3MmioBitFieldOr8(IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT8 OrData)
UINT64 EFIAPI S3IoBitFieldOr64(IN UINTN Port, IN UINTN StartBit, IN UINTN EndBit, IN UINT64 OrData)
UINT64 EFIAPI S3IoBitFieldAnd64(IN UINTN Port, IN UINTN StartBit, IN UINTN EndBit, IN UINT64 AndData)
UINT16 EFIAPI S3IoWrite16(IN UINTN Port, IN UINT16 Value)
UINT8 EFIAPI S3MmioBitFieldAnd8(IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT8 AndData)
UINT32 EFIAPI S3MmioBitFieldAndThenOr32(IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT32 AndData, IN UINT32 OrData)
UINT16 EFIAPI S3MmioBitFieldOr16(IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT16 OrData)
UINT8 EFIAPI S3IoAndThenOr8(IN UINTN Port, IN UINT8 AndData, IN UINT8 OrData)
UINT64 EFIAPI S3MmioAndThenOr64(IN UINTN Address, IN UINT64 AndData, IN UINT64 OrData)
UINT64 EFIAPI S3MmioBitFieldOr64(IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT64 OrData)
UINT8 *EFIAPI S3MmioWriteBuffer8(IN UINTN StartAddress, IN UINTN Length, IN CONST UINT8 *Buffer)