On 23 June 2017 at 16:02, ali saeedi wrote:
> thank you for answer
> So. why do we have right shift in qemu by "TARGET_PAGE_BITS" ? for exampe
> in below code, what does it mean?
>
> static inline void cpu_physical_memory_set_dirty_range(ram_addr_t start,
>
thank you for answer
So. why do we have right shift in qemu by "TARGET_PAGE_BITS" ? for exampe
in below code, what does it mean?
static inline void cpu_physical_memory_set_dirty_range(ram_addr_t start,
ram_addr_t length)
{
unsigned long en
ali saeedi writes:
> Hello
> What does TARGET_PAGE_BITS mean in qemu code?
It's the page size of the target. e.g.
TARGET_PAGE_BITS 12
1 << 12 = 4096 = 4k pages
> thanks a lot
--
Alex Bennée
Hello
What does TARGET_PAGE_BITS mean in qemu code?
thanks a lot
On 22.05.2017 14:54, ali saeedi wrote:
> Hello
> What is TARGET_PAGE_BITS in ram.c?
12, on average, see:
grep TARGET_PAGE_BITS target/*/cpu.h
> thanks a lot
You're welcome.
Thomas
Hello
What is TARGET_PAGE_BITS in ram.c?
thanks a lot