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