zx_pmt_unpin
Summary
Unpin pages and revoke device access to them.
Declaration
#include <zircon/syscalls.h>
zx_status_t zx_pmt_unpin(zx_handle_t handle);
Description
zx_pmt_unpin()
unpins pages that were previously pinned by zx_bti_pin()
,
and revokes the access that was granted by the pin call.
Always consumes handle. It is invalid to use handle afterwards, including
to call zx_handle_close()
on it.
Rights
TODO(https://fxbug.dev/42107318)
Return value
On success, zx_pmt_unpin()
returns ZX_OK
.
In the event of failure, a negative error value is returned.
Errors
ZX_ERR_BAD_HANDLE
handle is not a valid handle.
ZX_ERR_WRONG_TYPE
handle is not a PMT handle.
See also
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-01-29 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-01-29 UTC."],[],[]]