[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 27/32] include: move page_size_init() to include/hw/core/cpu.h
From: |
marcandre . lureau |
Subject: |
[PATCH 27/32] include: move page_size_init() to include/hw/core/cpu.h |
Date: |
Wed, 23 Mar 2022 19:57:38 +0400 |
From: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
---
include/hw/core/cpu.h | 2 ++
include/qemu-common.h | 2 --
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/hw/core/cpu.h b/include/hw/core/cpu.h
index 13adb251b2ab..466bed604727 100644
--- a/include/hw/core/cpu.h
+++ b/include/hw/core/cpu.h
@@ -1035,6 +1035,8 @@ void cpu_exec_unrealizefn(CPUState *cpu);
*/
bool target_words_bigendian(void);
+void page_size_init(void);
+
#ifdef NEED_CPU_H
#ifdef CONFIG_SOFTMMU
diff --git a/include/qemu-common.h b/include/qemu-common.h
index a271cac66a1b..65483f70d4fe 100644
--- a/include/qemu-common.h
+++ b/include/qemu-common.h
@@ -24,6 +24,4 @@
int qemu_main(int argc, char **argv, char **envp);
#endif
-void page_size_init(void);
-
#endif
--
2.35.1.273.ge6ebfd0e8cbb
- [PATCH 23/32] include: move target page bits declaration to page-vary.h, (continued)
- [PATCH 23/32] include: move target page bits declaration to page-vary.h, marcandre . lureau, 2022/03/23
- [PATCH 24/32] include: move progress API to qemu-progress.h, marcandre . lureau, 2022/03/23
- [PATCH 25/32] include: move qemu_get_vm_name() to sysemu.h, marcandre . lureau, 2022/03/23
- [PATCH 26/32] include: move os_*() to os-foo.h, marcandre . lureau, 2022/03/23
- [PATCH 29/32] Move fcntl_setfl() to oslib-posix, marcandre . lureau, 2022/03/23
- [PATCH 27/32] include: move page_size_init() to include/hw/core/cpu.h,
marcandre . lureau <=
- [PATCH 28/32] Move CPU softfloat unions to cpu-float.h, marcandre . lureau, 2022/03/23
- [PATCH 30/32] qga: remove explicit environ argument from exec/spawn, marcandre . lureau, 2022/03/23
- [PATCH 31/32] RFC: Simplify softmmu/main.c, marcandre . lureau, 2022/03/23
- [PATCH 32/32] Remove qemu-common.h include from most units, marcandre . lureau, 2022/03/23
- Re: [PATCH 00/32] Misc cleanups, Stefan Hajnoczi, 2022/03/24