X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=include%2Fqfw.h;h=cea8e11d4431eb664609632f56554762dbcfb19c;hb=915f15ac5746739da0aa2ee2840c2d00dc65aaaa;hp=b0b3b5945ef09ba67ac4e700741ec687f5537d51;hpb=2ee490a0245b65826a8ce8e42e34c9bf805d3656;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