coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
mode_switch.h File Reference
#include <stddef.h>
#include <stdint.h>
Include dependency graph for mode_switch.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

static int protected_mode_call (void *func)
 
static int protected_mode_call_1arg (void *func, uint32_t arg1)
 
static int protected_mode_call_2arg (void *func, uint32_t arg1, uint32_t arg2)
 

Function Documentation

◆ protected_mode_call()

static int protected_mode_call ( void func)
inlinestatic

Definition at line 50 of file mode_switch.h.

References void().

Here is the call graph for this function:

◆ protected_mode_call_1arg()

static int protected_mode_call_1arg ( void func,
uint32_t  arg1 
)
inlinestatic

Definition at line 57 of file mode_switch.h.

Referenced by do_silicon_init(), and fsp_notify().

Here is the caller graph for this function:

◆ protected_mode_call_2arg()

static int protected_mode_call_2arg ( void func,
uint32_t  arg1,
uint32_t  arg2 
)
inlinestatic

Definition at line 64 of file mode_switch.h.

Referenced by do_fsp_memory_init().

Here is the caller graph for this function: