OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
CVS: cvs.openbsd.org: src

From: Artur Grabowski (artcvs.openbsd.org)
Date: Fri May 27 2005 - 14:32:39 CDT


CVSROOT: /cvs
Module name: src
Changes by: artcvs.openbsd.org 2005/05/27 13:32:39

Modified files:
        sys/arch/amd64/amd64: db_memrw.c locore.S mem.c pmap.c
        sys/arch/amd64/include: pmap.h

Log message:
Stop pretending that amd64 is i386. We're insulting the cpu by not even
pretending to use all the address space it gives us.

- Map all physical memory 1-1 and implement PMAP_DIRECT
- Remove the vast magic we do to map pages for pmap_zero_page,
pmap_copy_page, pv allocation, magic while bootstrapping,
reading of /dev/mem, etc.
- implement a fast pmap_zero_page based on sse instructions.

I love removing code. More to come.

deraadt ok tested by many.