23 memset(cb, 0,
sizeof(*cb));
38 struct sysinfo *cb = &romstage_state;
39 int cbmem_initted = 0;
74 if (cb->
s3resume && !cbmem_initted) {
91 struct sysinfo *cb = &romstage_state;
#define HIGH_ROMSTAGE_STACK_SIZE
static int acpi_is_wakeup_s3(void)
static unsigned int cpuid_eax(unsigned int op)
void run_postcar_phase(struct postcar_frame *pcf)
int postcar_frame_init(struct postcar_frame *pcf, size_t stack_size)
void * memset(void *dstpp, int c, size_t len)
uintptr_t restore_top_of_low_cacheable(void)
void set_ap_entry_ptr(void *entry)
int cbmem_recovery(int s3resume)
#define printk(level,...)
asmlinkage void car_stage_entry(void)
void * cbmem_top_chipset(void)
void __weak board_BeforeAgesa(struct sysinfo *cb)
static void fill_sysinfo(struct sysinfo *cb)
static void romstage_main(void)
static void ap_romstage_main(void)
void agesa_set_interface(struct sysinfo *cb)
int agesa_execute_state(struct sysinfo *cb, AGESA_STRUCT_NAME func)
void __noreturn halt(void)
halt the system reliably
static __always_inline unsigned int initial_lapicid(void)
void timestamp_add_now(enum timestamp_id id)
#define BIOS_DEBUG
BIOS_DEBUG - Verbose output.
#define BIOS_EMERG
BIOS_EMERG - Emergency / Fatal.
void fixup_cbmem_to_UC(int s3resume)
void recover_postcar_frame(struct postcar_frame *pcf, int s3resume)
int romstage_handoff_init(int is_s3_resume)
const struct smm_save_state_ops *legacy_ops __weak