Source-Changes archive

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

Re: CVS commit: src/sys/arch



On Thu, Jan 24, 2008 at 01:33:07PM +0900, YAMAMOTO Takashi wrote:
> > Module Name:        src
> > Committed By:       bouyer
> > Date:               Wed Jan 23 19:46:46 UTC 2008
> > 
> > Modified Files:
> >     src/sys/arch/amd64/include: pmap.h
> >     src/sys/arch/i386/i386: bios32.c locore.S machdep.c
> >     src/sys/arch/i386/include: pmap.h pte.h types.h vmparam.h
> >     src/sys/arch/x86/include: pmap.h
> >     src/sys/arch/x86/x86: pmap.c
> >     src/sys/arch/xen/conf: files.compat
> >     src/sys/arch/xen/include: bus_private.h xenpmap.h
> >     src/sys/arch/xen/include/i386: hypercalls.h
> >     src/sys/arch/xen/include/xen3-public/arch-x86: xen-x86_32.h
> >     src/sys/arch/xen/x86: x86_xpmap.c
> >     src/sys/arch/xen/xen: if_xennet_xenbus.c
> > Added Files:
> >     src/sys/arch/i386/conf: INSTALL_XEN3PAE_DOMU XEN3PAE_DOMU
> > 
> > Log Message:
> > Merge the bouyer-xeni386 branch. This brings in PAE support to NetBSD 
> > xeni386
> > (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).
> 
> why s/pool_cache_put/pool_cache_destruct_object/ for pmap_pdp_cache?

Hum, looks like a bad cut'n'paste. It happened between 1.13.2.11 and
1.13.2.16. I'll fix it.

-- 
Manuel Bouyer, LIP6, Universite Paris VI.           
Manuel.Bouyer%lip6.fr@localhost
     NetBSD: 26 ans d'experience feront toujours la difference
--



Home | Main Index | Thread Index | Old Index