summaryrefslogtreecommitdiff
path: root/src/include/program_loading.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/program_loading.h')
-rw-r--r--src/include/program_loading.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/include/program_loading.h b/src/include/program_loading.h
index 65a36b9b2a..5b9a94df06 100644
--- a/src/include/program_loading.h
+++ b/src/include/program_loading.h
@@ -154,6 +154,13 @@ void run_ramstage(void);
int payload_arch_usable_ram_quirk(uint64_t start, uint64_t size);
+/*
+ * Asynchronously preloads the payload.
+ *
+ * This should be called early on to allow the payload to load before
+ * `payload_load` is called.
+ */
+void payload_preload(void);
/* Load payload into memory in preparation to run. */
void payload_load(void);