Zephyr Project API 4.4.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
fwargs.h File Reference

Firmware argument handling hooks. More...

#include <stddef.h>
#include <stdint.h>

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.

Detailed Description

Firmware argument handling hooks.

Function Documentation

◆ fwargs_handler_hook()

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.

Parameters
argsArchitecture-provided firmware argument array.
argcNumber of entries in args.