[PATCH] Support for 64-bit PTEs on n64

Warner Losh imp at bsdimp.com
Mon Jan 10 12:33:08 UTC 2011


On 01/09/2011 22:03, Juli Mallett wrote:
> On Sun, Jan 9, 2011 at 20:51, Jayachandran C.<c.jayachandran at gmail.com>  wrote:
>> Here's my initial code to support>4GB physical memory on MIPS.  This
>> patch adds 64 bit page table entries in n64 compilation.
>>
>> I would like to add this as an optional feature for n32/o32
>> compilation with 'option PHYSADDR_64_BIT' later.
> This is great!  Can you put the PTE-related assembly macros into an
> existing header file instead of in the sources?  That's the only thing
> that really stands out to me.
>

Agreed.  Too many magic constants in magic places.

On question, however.  The 64-bit PTEs won't get in the way when we're 
running 32-bit binaries on a 64-bit kernel, will they?

Warner


More information about the freebsd-mips mailing list