linux/arch/x86/boot/startup/exports.h
Ard Biesheuvel 05ce314ba5 x86/sev: Export startup routines for later use
Create aliases that expose routines that are part of the startup code to
other code in the core kernel, so that they can be called later as well.

Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Link: https://lore.kernel.org/20250828102202.1849035-38-ardb+git@google.com
2025-09-03 17:59:49 +02:00

15 lines
685 B
C

/*
* The symbols below are functions that are implemented by the startup code,
* but called at runtime by the SEV code residing in the core kernel.
*/
PROVIDE(early_set_pages_state = __pi_early_set_pages_state);
PROVIDE(early_snp_set_memory_private = __pi_early_snp_set_memory_private);
PROVIDE(early_snp_set_memory_shared = __pi_early_snp_set_memory_shared);
PROVIDE(get_hv_features = __pi_get_hv_features);
PROVIDE(sev_es_terminate = __pi_sev_es_terminate);
PROVIDE(snp_cpuid = __pi_snp_cpuid);
PROVIDE(snp_cpuid_get_table = __pi_snp_cpuid_get_table);
PROVIDE(svsm_issue_call = __pi_svsm_issue_call);
PROVIDE(svsm_process_result_codes = __pi_svsm_process_result_codes);