From 94271b428e95d3709352b455b9e6443ff769ec49 Mon Sep 17 00:00:00 2001 From: Aaron Durbin Date: Thu, 17 Mar 2016 23:13:34 -0500 Subject: 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 Reviewed-on: https://review.coreboot.org/14139 Tested-by: build bot (Jenkins) Reviewed-by: Furquan Shaikh Reviewed-by: Andrey Petrov --- src/include/rmodule.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/include') diff --git a/src/include/rmodule.h b/src/include/rmodule.h index a2612d1110..c0c062cf80 100644 --- a/src/include/rmodule.h +++ b/src/include/rmodule.h @@ -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. */ -- cgit v1.2.3