TianoCore EDK2 master
Loading...
Searching...
No Matches
SmmIoLib.h File Reference

Go to the source code of this file.

Functions

BOOLEAN EFIAPI SmmIsMmioValid (IN EFI_PHYSICAL_ADDRESS BaseAddress, IN UINT64 Length, IN EFI_GUID *Owner OPTIONAL)
 

Detailed Description

Provides services for SMM IO Operation.

The SMM IO Library provides function for checking if IO resource is accessible inside of SMM.

Copyright (c) 2017, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file SmmIoLib.h.

Function Documentation

◆ SmmIsMmioValid()

BOOLEAN EFIAPI SmmIsMmioValid ( IN EFI_PHYSICAL_ADDRESS  BaseAddress,
IN UINT64  Length,
IN EFI_GUID *Owner  OPTIONAL 
)

This function check if the MMIO resource is valid per processor architecture and valid per platform design.

Parameters
BaseAddressThe MMIO start address to be checked.
LengthThe MMIO length to be checked.
OwnerA GUID representing the owner of the resource. This GUID may be used by producer to correlate the device ownership of the resource. NULL means no specific owner.
Return values
TRUEThis MMIO resource is valid per processor architecture and valid per platform design.
FALSEThis MMIO resource is not valid per processor architecture or valid per platform design.

Definition at line 95 of file SmmIoLib.c.