XenevaOS
Loading...
Searching...
No Matches
Functions
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.
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.

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.