diff options
Diffstat (limited to 'src/lib/cbfs.c')
-rw-r--r-- | src/lib/cbfs.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/cbfs.c b/src/lib/cbfs.c index 977141236c..c0a61b4ea1 100644 --- a/src/lib/cbfs.c +++ b/src/lib/cbfs.c @@ -19,6 +19,7 @@ */ +#include <program_loading.h> #include "cbfs_core.h" #ifndef __SMM__ @@ -111,6 +112,8 @@ void *cbfs_load_stage_by_offset(struct cbfs_media *media, ssize_t offset) media->unmap(media, data); } + arch_program_segment_loaded(stage.load, stage.memlen); + arch_program_loaded(); DEBUG("stage loaded\n"); return (void *)(uintptr_t)stage.entry; |