Port-i386 archive

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

Re: [PAE support] patch review




To: Jean-Yves Migeon <jeanyves.migeon%free.fr@localhost>

Subject: Re: [PAE support] patch review

From: Manuel Bouyer <bouyer%antioche.eu.org@localhost>

Date: Tue, 20 Jul 2010 21:30:39 +0200


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
--


Follow-Ups:

Re: [PAE support] patch review
From: Jean-Yves Migeon


References:

[PAE support] patch review
From: Jean-Yves Migeon

Re: [PAE support] patch review
From: Jean-Yves Migeon




Prev by Date: Re: [PAE support] patch review

Next by Date: Re: [PAE support] patch review

Previous by Thread: Re: [PAE support] patch review

Next by Thread: Re: [PAE support] patch review

Indexes:

reverse Date

reverse Thread

Old Index



Home | Main Index | Thread Index | Old Index