Re: [Qemu-devel] [PATCH] ARM MMU translation - fix small (4k) page access

2007-02-02 Thread Scott Oom
Justin Fletcher wrote: > > I may be confused on this, but it still doesn't seem right to me. > > You have... > > -ap = (desc >> (4 + ((address >> 13) & 6))) & 3; > +ap = (desc >> (4 + ((address >> 11) & 6))) & 3; /* SRO */ > > For 4K pages, the L2 table is ... >

[Qemu-devel] [PATCH] ARM MMU translation - fix small (4k) page access

2007-02-01 Thread Scott Oom
Hello, Found a problem when using small pages and getting permission faults. This patch corrects the decoding of access permissions for small pages on ARM, was just off by 2 bits. -Scott Index: target-arm/helper.c === RCS file: /sourc