aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2022-04-25 15:50:50 +0200
committerGerd Hoffmann <kraxel@redhat.com>2022-04-27 07:51:01 +0200
commit966f1ca56ffe6e2c4d1333df59bcec233587aabc (patch)
tree26d74437b73252dd06ae1b3df2a15dacc2c0b9f4 /include
parent2aa6a39bc8ec1b94d926fb5a23483a23ff895a2a (diff)
downloadqemu-966f1ca56ffe6e2c4d1333df59bcec233587aabc.zip
qemu-966f1ca56ffe6e2c4d1333df59bcec233587aabc.tar.gz
qemu-966f1ca56ffe6e2c4d1333df59bcec233587aabc.tar.bz2
i386: factor out x86_firmware_configure()
move sev firmware setup to separate function so it can be used from other code paths. No functional change. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Tested-by: Xiaoyao Li <xiaoyao.li@intel.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Acked-by: Michael S. Tsirkin <mst@redhat.com> Message-Id: <20220425135051.551037-3-kraxel@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/hw/i386/x86.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/hw/i386/x86.h b/include/hw/i386/x86.h
index 916cc32..4841a49 100644
--- a/include/hw/i386/x86.h
+++ b/include/hw/i386/x86.h
@@ -140,4 +140,7 @@ void gsi_handler(void *opaque, int n, int level);
void ioapic_init_gsi(GSIState *gsi_state, const char *parent_name);
DeviceState *ioapic_init_secondary(GSIState *gsi_state);
+/* pc_sysfw.c */
+void x86_firmware_configure(void *ptr, int size);
+
#endif