summaryrefslogtreecommitdiff
path: root/src/include/cpu/x86/mp.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/cpu/x86/mp.h')
-rw-r--r--src/include/cpu/x86/mp.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/include/cpu/x86/mp.h b/src/include/cpu/x86/mp.h
index 8ee7d02431..343bd9c4fa 100644
--- a/src/include/cpu/x86/mp.h
+++ b/src/include/cpu/x86/mp.h
@@ -57,6 +57,9 @@ struct mp_ops {
/*
* Optional function to use to trigger SMM to perform relocation. If
* not provided, smm_initiate_relocation() is used.
+ * This function is called on each CPU.
+ * On platforms that select CONFIG(X86_SMM_SKIP_RELOCATION_HANDLER) to
+ * not relocate in SMM, this function can be used to relocate CPUs.
*/
void (*per_cpu_smm_trigger)(void);
/*
@@ -66,6 +69,7 @@ struct mp_ops {
* running the relocation handler, current SMBASE of relocation handler,
* and the pre-calculated staggered CPU SMBASE address of the permanent
* SMM handler.
+ * This function is only called with !CONFIG(X86_SMM_SKIP_RELOCATION_HANDLER) set.
*/
void (*relocation_handler)(int cpu, uintptr_t curr_smbase,
uintptr_t staggered_smbase);