17 #include <soc/iomap.h>
20 _Static_assert(CONFIG_MAX_CPUS == 16,
"Do not override MAX_CPUS. To reduce the number of "
21 "available cores, use the downcore_mode and disable_smt devicetree settings instead.");
59 "mp_init_with_smm failed. Halting.\n");
static int acpi_is_wakeup_s3(void)
@ CB_SUCCESS
Call completed successfully.
#define die_with_post_code(value, fmt,...)
void amd_update_microcode_from_cbfs(void)
void smm_relocation_handler(int cpu, uintptr_t curr_smbase, uintptr_t staggered_smbase)
enum cb_err mp_init_with_smm(struct bus *cpu_bus, const struct mp_ops *mp_ops)
void x86_mtrr_check(void)
void mtrr_use_temp_range(uintptr_t begin, size_t size, int type)
void x86_setup_mtrrs_with_detect_no_above_4gb(void)
void global_smi_enable(void)
Set the EOS bit and enable SMI generation from southbridge.
#define POST_HW_INIT_FAILURE
Hardware initialization failure.
static const struct cpu_driver zen_2_3 __cpu_driver
void mp_init_cpus(struct bus *cpu_bus)
static void zen_2_3_init(struct device *dev)
_Static_assert(CONFIG_MAX_CPUS==16, "Do not override MAX_CPUS. To reduce the number of " "available cores, use the downcore_mode and disable_smt devicetree settings instead.")
static void pre_mp_init(void)
static struct cpu_device_id cpu_table[]
static struct device_operations cpu_dev_ops
static void post_mp_init(void)
void set_cstate_io_addr(void)
static void get_smm_info(uintptr_t *perm_smbase, size_t *perm_smsize, size_t *smm_save_state_size)
struct device_operations * ops
void(* init)(struct device *dev)
void(* pre_mp_init)(void)