Port-i386 archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: [PAE support] patch review



On Tue, Jul 20, 2010 at 09:04:58PM +0200, Jean-Yves Migeon wrote:
> [...]
> There is another limitation I forgot to consider: libkvm does not
> contain code that can handle the PAE memory mappings (see
> lib/libkvm/kvm_i386.c:_kvm_kvatop()). pd_entry_t/pt_entry_t change size
> (8 bytes long), and pl*_pi() macros do not have the same definition
> (masks and shifts are different). The libkvm would have to be recompiled
> with PAE enabled to handle a PAE kernel dump correctly.

I guess libkvm could handle both non-PAE and PAE with properly
abstracted access functions. There would need to be a way to
check the kernel type at run time though (a sysctl ?) 

-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--


Home | Main Index | Thread Index | Old Index