mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
cpu: Remove page_size_init
Move qemu_host_page_{size,mask} and HOST_PAGE_ALIGN into bsd-user. It should be removed from bsd-user as well, but defer that cleanup. Reviewed-by: Warner Losh <imp@bsdimp.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Tested-by: Ilya Leoshkevich <iii@linux.ibm.com> Acked-by: Helge Deller <deller@gmx.de> Message-Id: <20240102015808.132373-28-richard.henderson@linaro.org>
This commit is contained in:
parent
01e449809b
commit
8c45039f9e
7 changed files with 19 additions and 27 deletions
|
@ -2118,7 +2118,6 @@ static void qemu_create_machine(QDict *qdict)
|
|||
}
|
||||
|
||||
cpu_exec_init_all();
|
||||
page_size_init();
|
||||
|
||||
if (machine_class->hw_version) {
|
||||
qemu_set_hw_version(machine_class->hw_version);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue