qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] Question about the source code.


From: Toni Nedialkov
Subject: [Qemu-devel] Question about the source code.
Date: Fri, 6 Nov 2015 03:27:07 +0200

Hello, I have a question pertaining the source code, wondering if I've discovered a bug or am just simply confused.

It's about this function in translate-all.c

static void page_flush_tb(void)
{
    int i;

    for (i = 0; i < V_L1_SIZE; i++) {
        page_flush_tb_1(V_L1_SHIFT / V_L2_BITS - 1, l1_map + i);
    }
}

Was wondering if l1_map + i is correct, or whether it should be l1_map + i*sizeof(i).

Thank you.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]