mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-07-27 20:33:54 -06:00
exec: Split out variable page size support to exec-vary.c
The next patch will play a trick with "const" that will confuse the compiler about the uses of target_page_bits within exec.c. Moving everything to a new file prevents this confusion. No functional change so far. Reviewed-by: Alex Bennée <alex.bennee@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Reviewed-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
50276a79aa
commit
7886cefe5d
4 changed files with 64 additions and 35 deletions
|
@ -74,6 +74,12 @@ void cpu_exec_step_atomic(CPUState *cpu);
|
|||
*/
|
||||
bool set_preferred_target_page_bits(int bits);
|
||||
|
||||
/**
|
||||
* finalize_target_page_bits:
|
||||
* Commit the final value set by set_preferred_target_page_bits.
|
||||
*/
|
||||
void finalize_target_page_bits(void);
|
||||
|
||||
/**
|
||||
* Sends a (part of) iovec down a socket, yielding when the socket is full, or
|
||||
* Receives data into a (part of) iovec from a socket,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue