98a8e8b486
(domU only). PAE support is enabled by 'options PAE', see the new XEN3PAE_DOMU and INSTALL_XEN3PAE_DOMU kernel config files. See the comments in arch/i386/include/{pte.h,pmap.h} to see how it works. In short, we still handle it as a 2-level MMU, with the second level page directory being 4 pages in size. pmap switching is done by switching the L2 pages in the L3 entries, instead of loading %cr3. This is almost required by Xen, which handle the last L2 page (the one mapping 0xc0000000 - 0xffffffff) in a very special way. But this approach should also work for native PAE support if ever supported (in fact, the pmap should almost suport native PAE, what's missing is bootstrap code in locore.S).
6 lines
114 B
Plaintext
6 lines
114 B
Plaintext
# $NetBSD: XEN3PAE_DOMU,v 1.2 2008/01/23 19:46:43 bouyer Exp $
|
|
|
|
include "arch/i386/conf/XEN3_DOMU"
|
|
|
|
options PAE
|