coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
boot.c File Reference
#include <program_loading.h>
#include <vm.h>
#include <arch/boot.h>
#include <arch/encoding.h>
#include <arch/smp/smp.h>
#include <mcall.h>
#include <cbfs.h>
#include <console/console.h>
Include dependency graph for boot.c:

Go to the source code of this file.

Data Structures

struct  arch_prog_run_args
 

Functions

static void do_arch_prog_run (struct arch_prog_run_args *args)
 
void arch_prog_run (struct prog *prog)
 

Function Documentation

◆ arch_prog_run()

void arch_prog_run ( struct prog prog)

Definition at line 46 of file boot.c.

References args, BM_MEM_OPENSBI, CONFIG, die(), do_arch_prog_run(), ENV_RAMSTAGE, arch_prog_run_args::prog, PROG_INIT, PROG_OPENSBI, selfload_check(), and smp_resume().

Here is the call graph for this function:

◆ do_arch_prog_run()

static void do_arch_prog_run ( struct arch_prog_run_args args)
static

Definition at line 24 of file boot.c.

References arg, args, CBFS_TYPE_FIT, CONFIG, die(), ENV_RAMSTAGE, HLS, prog_cbfs_type(), prog_entry(), prog_entry_arg(), PROG_PAYLOAD, RISCV_PAYLOAD_MODE_S, run_payload(), run_payload_opensbi(), and void().

Referenced by arch_prog_run().

Here is the call graph for this function:
Here is the caller graph for this function: