![]() |
coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
Go to the source code of this file.
Data Structures | |
struct | sbi_device_message |
struct | blocker |
struct | hls_t |
Macros | |
#define | MENTRY_FRAME_SIZE (HLS_SIZE + 37 * __SIZEOF_POINTER__) |
#define | MACHINE_STACK_TOP() |
#define | HLS() ((hls_t*)(MACHINE_STACK_TOP() - HLS_SIZE)) |
#define | OTHER_HLS(id) ((hls_t*)((void*)HLS() + RISCV_PGSIZE * ((id) - HLS()->hart_id))) |
#define | MACHINE_STACK_SIZE RISCV_PGSIZE |
Functions | |
_Static_assert (sizeof(hls_t)==HLS_SIZE, "HLS_SIZE must equal to sizeof(hls_t)") | |
void | hls_init (uint32_t hart_id, void *fdt) |
void | mtime_init (void) |
void | set_msip (int hartid, int val) |
#define HLS | ( | ) | ((hls_t*)(MACHINE_STACK_TOP() - HLS_SIZE)) |
#define MACHINE_STACK_TOP | ( | ) |
#define MENTRY_FRAME_SIZE (HLS_SIZE + 37 * __SIZEOF_POINTER__) |
Referenced by bios_mmap_init(), bootblock_mainboard_early_init(), fast_spi_enable_ext_bios(), lockdown_intel_txt(), and vboot_extend_pcr().
Definition at line 7 of file mcall.c.
References HLS, memset(), and mtime_init().
Definition at line 8 of file clint.c.
References FU540_CLINT, HLS, QEMU_VIRT_CLINT, and SPIKE_CLINT_BASE.
Referenced by hls_init().
void set_msip | ( | int | hartid, |
int | val | ||
) |
Definition at line 15 of file clint.c.
References FU540_CLINT, QEMU_VIRT_CLINT, SPIKE_CLINT_BASE, val, and write32().
Referenced by send_ipi(), smp_pause(), and smp_resume().