mirror of https://review.coreboot.org/STM.git
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:
parent
4c86f8727f
commit
946f5c850a
|
@ -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 *
|
||||
|
|
Loading…
Reference in New Issue