coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
cpu.h File Reference
#include <stdint.h>
#include <device/device.h>
Include dependency graph for cpu.h:

Go to the source code of this file.

Data Structures

struct  cpu_driver
 
struct  cpuinfo_arm
 

Macros

#define asmlinkage
 

Functions

static void cpu_relax (void)
 
static uint32_t read_midr (void)
 
static uint32_t read_mpidr (void)
 
static uint32_t read_actlr (void)
 
static void write_actlr (uint32_t val)
 
static void wfi (void)
 
static void wfe (void)
 
static void sev (void)
 
static void set_system_mode (void)
 

Macro Definition Documentation

◆ asmlinkage

#define asmlinkage

Definition at line 11 of file cpu.h.

Function Documentation

◆ cpu_relax()

static void cpu_relax ( void  )
inlinestatic

Definition at line 9 of file cpu.h.

◆ read_actlr()

static uint32_t read_actlr ( void  )
inlinestatic

Definition at line 43 of file cpu.h.

References val.

Referenced by enable_smp().

Here is the caller graph for this function:

◆ read_midr()

static uint32_t read_midr ( void  )
inlinestatic

Definition at line 27 of file cpu.h.

References value.

Referenced by configure_secondary_cores(), and low_power_start().

Here is the caller graph for this function:

◆ read_mpidr()

static uint32_t read_mpidr ( void  )
inlinestatic

Definition at line 35 of file cpu.h.

References value.

Referenced by core_start_execution(), and power_down_core().

Here is the caller graph for this function:

◆ set_system_mode()

static void set_system_mode ( void  )
inlinestatic

Definition at line 75 of file cpu.h.

Referenced by core_start_execution(), and low_power_start().

Here is the caller graph for this function:

◆ sev()

static void sev ( void  )
inlinestatic

Definition at line 69 of file cpu.h.

◆ wfe()

static void wfe ( void  )
inlinestatic

Definition at line 63 of file cpu.h.

◆ wfi()

static void wfi ( void  )
inlinestatic

Definition at line 57 of file cpu.h.

◆ write_actlr()

static void write_actlr ( uint32_t  val)
inlinestatic

Definition at line 51 of file cpu.h.

References val.

Referenced by enable_smp().

Here is the caller graph for this function: