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.