51 __asm__ __volatile__ (
"inb %w1,%b0" :
"=a" (Data) :
"d" ((UINT16)Port));
91 __asm__ __volatile__ (
"outb %b0,%w1" : :
"a" (Value),
"d" ((UINT16)Port));
126 ASSERT ((Port & 1) == 0);
133 __asm__ __volatile__ (
"inw %w1,%w0" :
"=a" (Data) :
"d" ((UINT16)Port));
169 ASSERT ((Port & 1) == 0);
176 __asm__ __volatile__ (
"outw %w0,%w1" : :
"a" (Value),
"d" ((UINT16)Port));
211 ASSERT ((Port & 3) == 0);
218 __asm__ __volatile__ (
"inl %w1,%0" :
"=a" (Data) :
"d" ((UINT16)Port));
254 ASSERT ((Port & 3) == 0);
261 __asm__ __volatile__ (
"outl %0,%w1" : :
"a" (Value),
"d" ((UINT16)Port));
UINT8 EFIAPI IoWrite8(IN UINTN Port, IN UINT8 Value)
UINT8 EFIAPI IoRead8(IN UINTN Port)
UINT16 EFIAPI IoRead16(IN UINTN Port)
UINT32 EFIAPI IoRead32(IN UINTN Port)
UINT32 EFIAPI IoWrite32(IN UINTN Port, IN UINT32 Value)
UINT16 EFIAPI IoWrite16(IN UINTN Port, IN UINT16 Value)
UINT16 EFIAPI TdIoRead16(IN UINTN Port)
UINT32 EFIAPI TdIoWrite32(IN UINTN Port, IN UINT32 Value)
UINT16 EFIAPI TdIoWrite16(IN UINTN Port, IN UINT16 Value)
UINT32 EFIAPI TdIoRead32(IN UINTN Port)
BOOLEAN EFIAPI IsTdxGuest(VOID)
UINT8 EFIAPI TdIoWrite8(IN UINTN Port, IN UINT8 Value)
UINT8 EFIAPI TdIoRead8(IN UINTN Port)
VOID EFIAPI FilterAfterIoRead(IN FILTER_IO_WIDTH Width, IN UINTN Address, IN VOID *Buffer)
BOOLEAN EFIAPI FilterBeforeIoWrite(IN FILTER_IO_WIDTH Width, IN UINTN Address, IN VOID *Buffer)
VOID EFIAPI FilterAfterIoWrite(IN FILTER_IO_WIDTH Width, IN UINTN Address, IN VOID *Buffer)
BOOLEAN EFIAPI FilterBeforeIoRead(IN FILTER_IO_WIDTH Width, IN UINTN Address, IN OUT VOID *Buffer)