X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=include%2Fqfw.h;h=cea8e11d4431eb664609632f56554762dbcfb19c;hb=4d4e4cf7798276bcb047b65cf80fde63fd347903;hp=b0b3b5945ef09ba67ac4e700741ec687f5537d51;hpb=1868659002a6b7ab3b1da7be74f53d3e10e915be;p=oweals%2Fu-boot.git diff --git a/include/qfw.h b/include/qfw.h index b0b3b5945e..cea8e11d44 100644 --- a/include/qfw.h +++ b/include/qfw.h @@ -1,7 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * (C) Copyright 2015 Miao Yan - * - * 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