Get the pmbase from the BIOS resource list

When the STM is setup by the BIOS, the pmbase is placed in the
BIOS resource list.  The pmbase value is obtained by calling the
platform's setup function and is the first item in the IO address
section of the BIOS resource list.
This commit is contained in:
Eugene D Myers 2020-04-27 17:34:33 -04:00
parent 4c86f8727f
commit 946f5c850a
1 changed files with 8 additions and 8 deletions

View File

@ -1922,15 +1922,15 @@ RegisterBiosResource (
RegisterBiosResource ((STM_RSC *)(UINTN)Resource->End.ResourceListContinuation);
}
}
/**^M
^M
This function returns the first STM resource of resource type.^M
^M
@param Resource STM resource list^M
/**
This function returns the first STM resource of resource type.
@param Resource STM resource list^
@param RscType resource type
^M
@return STM resource^M
^M
@return STM resource
**/
STM_RSC *