-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Produce EFI memory attribute protocol #5939
Produce EFI memory attribute protocol #5939
Conversation
aa97276
to
51fb29d
Compare
Addressed the review comments. Please review again. |
51fb29d
to
e0b1a68
Compare
@niruiyu I have addressed the review comments. Please review it again. |
e0b1a68
to
bcebeb3
Compare
@niruiyu I have addressed the review comments. Please review it again. |
Hi @niruiyu Could you let us know if there are any further concerns on this PR |
Hi @niruiyu We would like to see the changes in this PR in the upcoming tag. Could you let us know if there are any others concerns to be addressed here. |
@jyao1 , have you any comments for this patch? |
I have no comments for this change. If UefiCpuPkg maintainer or reviewer agree this change, I would like to merge it. |
Produce the protocol introduced in UEFI v2.10 that permits the caller to manage mapping permissions in the page tables. Cc: Felix Polyudov <[email protected]> Cc: David Hsieh <[email protected]> Cc: James Wang <[email protected]> Signed-off-by: Crystal Lee <[email protected]>
SplitPage may return OUT_OF_RESOURCES if no memory resource to split page entry. ConvertMemoryPageAttributes should also return OUT_OF_RESOURCES instead of override the status to UNSUPPORTED. Then EfiSetMemoryAttributes and EfiClearMemoryAttributes can return correct status of OUT_OF_RESOURCES when requested attributes cannot be applied due to lack of system resource. Cc: Felix Polyudov <[email protected]> Cc: David Hsieh <[email protected]> Cc: James Wang <[email protected]> Signed-off-by: Crystal Lee <[email protected]>
bcebeb3
to
6591f3c
Compare
Description
Produce the EFI memory attribute protocol introduced in UEFI v2.10 that permits the caller to
manage mapping permissions in the page tables.