summaryrefslogtreecommitdiff
path: root/doc/develop
diff options
context:
space:
mode:
authorIlias Apalodimas <[email protected]>2021-12-24 10:08:41 +0200
committerHeinrich Schuchardt <[email protected]>2021-12-31 06:44:29 +0100
commit2707610eb7d3068dbd131401dcde65a57ddc0018 (patch)
tree3e7ae84ab05db35831364720cbc15c5111f6277e /doc/develop
parent40e5b53ea0dc67cdff3e6e7d8cac7b258a9d885b (diff)
efi_loader: Don't limit the StMM buffer size explicitly
Currently we allow and explicitly check a single shared page with StandAloneMM. This is dictated by OP-TEE which runs the application. However there's no way for us dynamically discover the number of pages we are allowed to use. Since writing big EFI signature list variable requires more than a page, OP-TEE has bumped the number of shared pages to four. Let's remove our explicit check and allow the request to reach OP-TEE even if it's bigger than what it supports. There's no need to sanitize the number of pages internally. OP-TEE will fail if we try to write more than it's allowed. The error will just trigger later on, during the StMM access. While at it add an error message to help users figure out what failed. Signed-off-by: Ilias Apalodimas <[email protected]> Tested-by: Ying-Chun Liu (PaulLiu) <[email protected]> Signed-off-by: Ilias Apalodimas <[email protected]>
Diffstat (limited to 'doc/develop')
0 files changed, 0 insertions, 0 deletions