1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #include <program_loading.h>
6 /* For each segment of a program loaded this function is called*/
7 void prog_segment_loaded(uintptr_t start
, size_t size
, int flags
)
9 platform_segment_loaded(start
, size
, flags
);
10 arch_segment_loaded(start
, size
, flags
);
13 void __weak
platform_segment_loaded(uintptr_t start
,
14 size_t size
, int flags
)
19 void __weak
arch_segment_loaded(uintptr_t start
, size_t size
,
25 void prog_run(struct prog
*prog
)
27 platform_prog_run(prog
);
31 void __weak
platform_prog_run(struct prog
*prog
)