UefiCpuPkg/AmdSvsmLib: add AmdSvsmQueryProtocol
AmdSvsmQueryProtocol() is a helper function for QUERY_PROTOCOL calls of the core svsm protocol. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
committed by
mergify[bot]
parent
bdca3681e9
commit
a72e6fe7ab
@@ -139,4 +139,13 @@ AmdSvsmVtpmCmd (
|
||||
IN OUT UINT8 *Buffer
|
||||
);
|
||||
|
||||
BOOLEAN
|
||||
EFIAPI
|
||||
AmdSvsmQueryProtocol (
|
||||
IN UINT32 ProtocolId,
|
||||
IN UINT32 ProtocolVersion,
|
||||
OUT UINT32 *ProtocolMin,
|
||||
OUT UINT32 *ProtocolMax
|
||||
);
|
||||
|
||||
#endif
|
||||
|
||||
@@ -153,3 +153,15 @@ AmdSvsmVtpmCmd (
|
||||
{
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
BOOLEAN
|
||||
EFIAPI
|
||||
AmdSvsmQueryProtocol (
|
||||
IN UINT32 ProtocolId,
|
||||
IN UINT32 ProtocolVersion,
|
||||
OUT UINT32 *ProtocolMin,
|
||||
OUT UINT32 *ProtocolMax
|
||||
)
|
||||
{
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user