coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
boot.c File Reference
#include <cbmem.h>
#include <arch/lib_helpers.h>
#include <arch/stages.h>
#include <arch/transition.h>
#include <bl31.h>
#include <program_loading.h>
Include dependency graph for boot.c:

Go to the source code of this file.

Functions

static void run_payload (struct prog *prog)
 
void arch_prog_run (struct prog *prog)
 
__weak void stage_entry (uintptr_t stage_arg)
 generic stage entry point. More...
 

Function Documentation

◆ arch_prog_run()

void arch_prog_run ( struct prog prog)

Definition at line 25 of file boot.c.

References ENV_RAMSTAGE, prog_entry(), prog_entry_arg(), PROG_PAYLOAD, run_payload(), and void().

Here is the call graph for this function:

◆ run_payload()

static void run_payload ( struct prog prog)
static

Definition at line 10 of file boot.c.

References arg, CONFIG, EL2, get_eret_el(), prog_entry(), prog_entry_arg(), run_bl31(), SPSR_USE_L, transition_to_el2(), and void().

Referenced by arch_prog_run(), and do_arch_prog_run().

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

◆ stage_entry()

__weak void stage_entry ( uintptr_t  stage_arg)

generic stage entry point.

override this if board specific code is needed.

Definition at line 40 of file boot.c.

References _cbmem_top_ptr, ENV_ROMSTAGE_OR_BEFORE, and main().

Here is the call graph for this function: