![]() |
coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <arch/barrier.h>
#include <arch/encoding.h>
#include <arch/smp/smp.h>
#include <arch/smp/atomic.h>
#include <console/console.h>
#include <mcall.h>
Go to the source code of this file.
Macros | |
#define | SYNCA (OTHER_HLS(working_hartid)->entry.sync_a) |
#define | SYNCB (OTHER_HLS(working_hartid)->entry.sync_b) |
Functions | |
void | smp_pause (int working_hartid) |
void | smp_resume (void(*fn)(void *), void *arg) |
#define SYNCA (OTHER_HLS(working_hartid)->entry.sync_a) |
#define SYNCB (OTHER_HLS(working_hartid)->entry.sync_b) |
void smp_pause | ( | int | working_hartid | ) |
Definition at line 10 of file smp.c.
References atomic_add(), atomic_read, atomic_set, barrier, HLS, MIP_MSIP, MSTATUS_MIE, set_msip(), SYNCA, and SYNCB.
Referenced by stage_entry().