lib/rmodule: export parameters in struct rmod_stage_load
In order for a caller to utilize an rmodule's parameters section after calling rmodule_stage_load() export the rmodule's parameter pointer in struct rmod_stage_load. Change-Id: I9cd51652cf8cdb3fae773256989851638aa1a60f Signed-off-by: Aaron Durbin <adurbin@chromium.org> Reviewed-on: https://review.coreboot.org/14139 Tested-by: build bot (Jenkins) Reviewed-by: Furquan Shaikh <furquan@google.com> Reviewed-by: Andrey Petrov <andrey.petrov@intel.com>
This commit is contained in:
@ -55,6 +55,7 @@ struct prog;
|
||||
struct rmod_stage_load {
|
||||
uint32_t cbmem_id;
|
||||
struct prog *prog;
|
||||
void *params;
|
||||
};
|
||||
|
||||
/* Both of the following functions return 0 on success, -1 on error. */
|
||||
|
Reference in New Issue
Block a user