1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #include <program_loading.h>
5 /* For each segment of a program loaded this function is called*/
6 void prog_segment_loaded(uintptr_t start
, size_t size
, int flags
)
8 platform_segment_loaded(start
, size
, flags
);
9 arch_segment_loaded(start
, size
, flags
);
12 void __weak
platform_segment_loaded(uintptr_t start
,
13 size_t size
, int flags
)
18 void __weak
arch_segment_loaded(uintptr_t start
, size_t size
,
24 void prog_run(struct prog
*prog
)
26 platform_prog_run(prog
);
30 void __weak
platform_prog_run(struct prog
*prog
)