23 .skip = !
CONFIG(USE_FSP_NOTIFY_PHASE_POST_PCI_ENUM),
31 .skip = !
CONFIG(USE_FSP_NOTIFY_PHASE_READY_TO_BOOT),
39 .skip = !
CONFIG(USE_FSP_NOTIFY_PHASE_END_OF_FIRMWARE),
53 die(
"Unknown FSP notify phase %u\n", phase);
68 if (!
fsps_hdr.notify_phase_entry_offset)
69 die(
"Notify_phase_entry_offset is zero!\n");
81 ret = fspnotify(¬ify_params);
91 die(
"FspNotify returned with error 0x%08x!\n", ret);
#define printk(level,...)
void __noreturn die(const char *fmt,...)
asmlinkage void display_mtrrs(void)
void fsp_before_debug_notify(fsp_notify_fn notify, const struct fsp_notify_params *notify_params)
void fsp_debug_after_notify(uint32_t status)
asmlinkage uint32_t(* fsp_notify_fn)(struct fsp_notify_params *)
void fsp_handle_reset(uint32_t status)
void timestamp_add_now(enum timestamp_id id)
#define BIOS_INFO
BIOS_INFO - Expected events.
static int protected_mode_call_1arg(void *func, uint32_t arg1)
static void fsp_notify_dummy(void *arg)
BOOT_STATE_INIT_ENTRY(BS_DEV_ENABLE, BS_ON_ENTRY, fsp_notify_dummy,(void *) AFTER_PCI_ENUM)
static const struct fsp_notify_phase_data * get_notify_phase_data(enum fsp_notify_phase phase)
__weak void platform_fsp_notify_status(enum fsp_notify_phase phase)
static const struct fsp_notify_phase_data notify_data[]
static void fsp_notify(enum fsp_notify_phase phase)
#define POST_FSP_NOTIFY_BEFORE_FINALIZE
Before calling FSP Notify (ready to boot)
#define POST_FSP_NOTIFY_BEFORE_ENUMERATE
Before calling FSP Notify (after PCI enumeration)
#define POST_FSP_NOTIFY_AFTER_END_OF_FIRMWARE
After calling FSP Notify (end of firmware)
#define POST_FSP_NOTIFY_AFTER_ENUMERATE
After calling FSP Notify (after PCI enumeration)
#define POST_FSP_NOTIFY_BEFORE_END_OF_FIRMWARE
Before calling FSP Notify (end of firmware)
#define POST_FSP_NOTIFY_AFTER_FINALIZE
After calling FSP Notify (ready to boot)
const struct smm_save_state_ops *legacy_ops __weak
enum fsp_notify_phase phase
enum timestamp_id timestamp_after
enum fsp_notify_phase notify_phase
enum timestamp_id timestamp_before
@ TS_FSP_END_OF_FIRMWARE_END
@ TS_FSP_END_OF_FIRMWARE_START