2 #ifndef PROGRAM_LOADING_H
3 #define PROGRAM_LOADING_H
52 #define PROG_INIT(type_, name_) \
bootmem_type
Bootmem types match to LB_MEM tags, except for the following: BM_MEM_RAMSTAGE : Memory where any kind...
cb_err
coreboot error codes
static void romstage(void)
static void prog_set_arg(struct prog *prog, void *arg)
bool selfload_mapped(struct prog *payload, void *mapping, enum bootmem_type dest_type)
static void * prog_entry(const struct prog *prog)
void fit_payload(struct prog *payload, void *data)
enum cb_err legacy_romstage_select_and_load(struct prog *romstage)
int payload_arch_usable_ram_quirk(uint64_t start, uint64_t size)
static void * prog_entry_arg(const struct prog *prog)
static enum cbfs_type prog_cbfs_type(const struct prog *prog)
bool selfload(struct prog *payload)
void arch_segment_loaded(uintptr_t start, size_t size, int flags)
void prog_segment_loaded(uintptr_t start, size_t size, int flags)
static void prog_chain_rdev(const struct prog *prog, struct region_device *rdev_out)
static void prog_set_entry(struct prog *prog, void *e, void *arg)
void payload_preload(void)
static const char * prog_name(const struct prog *prog)
static void * prog_start(const struct prog *prog)
int prog_locate_hook(struct prog *prog)
void platform_prog_run(struct prog *prog)
void platform_segment_loaded(uintptr_t start, size_t size, int flags)
static size_t prog_size(const struct prog *prog)
void preload_ramstage(void)
void prog_run(struct prog *prog)
void arch_prog_run(struct prog *prog)
static void prog_set_area(struct prog *prog, void *start, size_t size)
bool selfload_check(struct prog *payload, enum bootmem_type dest_type)
int rdev_chain_mem(struct region_device *child, const void *base, size_t size)
unsigned long long uint64_t
typedef void(X86APIP X86EMU_intrFuncs)(int num)