Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Arm Trusted Firmware
Commits
a92d02d6
Commit
a92d02d6
authored
May 26, 2020
by
Mark Dykes
Committed by
TrustedFirmware Code Review
May 26, 2020
Browse files
Merge "doc: Fix plat_sdei_validate_entry_point() documentation" into integration
parents
28059a9a
b62a5313
Changes
1
Hide whitespace changes
Inline
Side-by-side
docs/getting_started/porting-guide.rst
View file @
a92d02d6
...
...
@@ -1956,23 +1956,27 @@ be higher than Normal |SDEI| priority.
Functions
.........
Function: int plat_sdei_validate_entry_point(
uintptr_t ep
) [optional]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
^^^^^^^^^^^^
Function: int plat_sdei_validate_entry_point() [optional]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
::
Argument: uintptr_t
Argument: uintptr_t
ep, unsigned int client_mode
Return: int
This function validates the address of client entry points provided for both
event registration and *Complete and Resume* |SDEI| calls. The function
takes one argument, which is the address of the handler the |SDEI| client
requested to register. The function must return ``0`` for successful validation,
or ``-1`` upon failure.
This function validates the entry point address of the event handler provided by
the client for both event registration and *Complete and Resume* |SDEI| calls.
The function ensures that the address is valid in the client translation regime.
The second argument is the exception level that the client is executing in. It
can be Non-Secure EL1 or Non-Secure EL2.
The function must return ``0`` for successful validation, or ``-1`` upon failure.
The default implementation always returns ``0``. On Arm platforms, this function
is implemented to translate the entry point to physical address, and further to
ensure that the address is located in Non-secure DRAM.
translates the entry point address within the client translation regime and
further ensures that the resulting physical address is located in Non-secure
DRAM.
Function: void plat_sdei_handle_masked_trigger(uint64_t mpidr, unsigned int intr) [optional]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment