|
Zephyr Project API 4.4.99
A Scalable Open Source RTOS
|
Firmware argument handling hooks. More...
Go to the source code of this file.
Functions | |
| void | fwargs_handler_hook (const uintptr_t *args, size_t argc) |
| Handle firmware arguments preserved by the architecture. | |
Firmware argument handling hooks.
| void fwargs_handler_hook | ( | const uintptr_t * | args, |
| size_t | argc ) |
Handle firmware arguments preserved by the architecture.
This hook is implemented by platform-specific code that understands the architecture's firmware argument convention. It receives firmware arguments preserved by the architecture during initialization.
This hook runs on the primary CPU after BSS and data initialization, but before normal kernel initialization. Implementations must not assume that memory translation, devices, allocation, or scheduling services are available.
The argument array is valid for the duration of the call. Copy any values needed later. The lifetime of memory referenced by those values depends on the platform's boot protocol.
| args | Architecture-provided firmware argument array. |
| argc | Number of entries in args. |