On Sun, Jan 31, 2010 at 04:10:10AM -0500, Maciej W. Rozycki wrote: > On Fri, 29 Jan 2010, Guenter Roeck wrote: > > > > I suspect you are hitting a maximum valid address bits limit and getting > > > the Address Exception. Limiting VMALLOC_END so that you don't hit the > > > limit seems to be the solution. I don't have the manual for the sibyte, > > > so I don't know what the limit is. The architecture specification > > > doesn't state a fixed limit, although it tells what should happen when > > > the limit is reached. > > > > > You mean there might be a CPU-specific limit ? I hope not - that would be quite messy. > > The size of the address space can be probed via CP0 registers (for MIPS > architecture processors that is). No need to add any CPU dependencies > (except from legacy 64-bit MIPS processors perhaps). > That would help. Do you happen to know which CP0 register(s) to look for ? I browsed through the MIPS 5K and 20Kc manuals, but didn't find it. Guenter