efi_loader: type of efi_secure_mode
[oweals/u-boot.git] / include / qfw.h
index b0b3b5945ef09ba67ac4e700741ec687f5537d51..cea8e11d4431eb664609632f56554762dbcfb19c 100644 (file)
@@ -1,7 +1,6 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
 /*
  * (C) Copyright 2015 Miao Yan <yanmiaobest@gmail.com>
- *
- * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __FW_CFG__
@@ -173,4 +172,12 @@ bool qemu_fwcfg_file_iter_end(struct fw_cfg_file_iter *iter);
 bool qemu_fwcfg_present(void);
 bool qemu_fwcfg_dma_present(void);
 
+/**
+ * qemu_cpu_fixup() - Fix up the CPUs for QEMU
+ *
+ * @return 0 if OK, -ENODEV if no CPUs, -ENOMEM if out of memory, other -ve on
+ *     on other error
+ */
+int qemu_cpu_fixup(void);
+
 #endif