mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 15:23:53 -06:00
exec/cpu: Rename PAGE_BITS macro to PAGE_RWX
This macro can be used to abbreviate PAGE_READ | PAGE_WRITE | PAGE_EXEC for which PAGE_RWX is a better name and renaming it also shows it is not related to TARGET_PAGE_BITS. Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Message-ID: <20240505121008.44A0D4E602D@zero.eik.bme.hu> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
This commit is contained in:
parent
1072f927f0
commit
86b7c55182
7 changed files with 10 additions and 10 deletions
|
@ -2361,7 +2361,7 @@ static bool zero_bss(abi_ulong start_bss, abi_ulong end_bss,
|
|||
if (start_bss < align_bss) {
|
||||
int flags = page_get_flags(start_bss);
|
||||
|
||||
if (!(flags & PAGE_BITS)) {
|
||||
if (!(flags & PAGE_RWX)) {
|
||||
/*
|
||||
* The whole address space of the executable was reserved
|
||||
* at the start, therefore all pages will be VALID.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue