mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 15:23:53 -06:00
accel/tcg: Remove page_protect
Merge the user-only page_protect function with the user-only implementation of tb_lock_page0. This avoids pulling page-protection.h into tb-internal.h. Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
aa6f138aba
commit
b103cc6e74
3 changed files with 4 additions and 10 deletions
|
@ -657,7 +657,7 @@ target_ulong page_find_range_empty(target_ulong min, target_ulong max,
|
|||
}
|
||||
}
|
||||
|
||||
void page_protect(tb_page_addr_t address)
|
||||
void tb_lock_page0(tb_page_addr_t address)
|
||||
{
|
||||
PageFlagsNode *p;
|
||||
target_ulong start, last;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue