Displaying 1 result from an estimated 1 matches for "shadow_foreach_l1".
Did you mean:
shadow_foreach_l1e
2012 Jul 26
3
About revoke write access of all the shadows
...ed_shadow(d, sp, t)
{
According to sp->u.sh.type, (like SH_type_l1_32_shadow ......), get each entry (shadow_l1e_get_flags) of the page table. Changes the flags to read only and then write the page table entry back (shadow_set_l1e).
When going through the page table, I can use SHADOW_FOREACH_L1E (L2E, L3E, L4E) macro.
However, I have one question. When dealing with shadow page table L2, L3, L4, can I use the same way as L1 page table to change flags and set flags ?
}
}
Do you think my idea is possible? Thanks for giving me some suggestions.
Best,
Ming