target-i386: Fix mask of pte index in memory mapping
Function walk_pte() needs pte index to calculate virtual address. However, pte index of PAE paging or IA-32e paging is 9 bit, so the mask should be 0x1ff. Signed-off-by: NQiao Nuohan <qiaonuohan@cn.fujitsu.com> Reviewed-by: NJesse Larrew <jlarrew@linux.vnet.ibm.com> Signed-off-by: NAndreas Färber <afaerber@suse.de> Signed-off-by: NLuiz Capitulino <lcapitulino@redhat.com>
Showing
想要评论请 注册 或 登录