Source-Changes archive

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

CVS commit: src/sys/arch/xen



Module Name:    src
Committed By:   bouyer
Date:           Sat Sep 10 18:00:49 UTC 2005

Modified Files:
        src/sys/arch/xen/i386: pmap.c
        src/sys/arch/xen/include: pmap.h
        src/sys/arch/xen/xen: privcmd.c xbdback.c xennetback.c

Log Message:
Add a vm_prot_t parameter to pmap_remap_pages(), and use it for the new PTE
instead to always trying PG_RW and falling back to PG_RO if this fails.
Use uvm_map_checkprot() in IOCTL_PRIVCMD_MMAP and IOCTL_PRIVCMD_MMAP_BATCH
to compute the appropriate vm_prot_t for pmap_remap_pages().
Thanks to Jed Davis for pointing out uvm_map_checkprot().


To generate a diff of this commit:
cvs rdiff -r1.13 -r1.14 src/sys/arch/xen/i386/pmap.c
cvs rdiff -r1.4 -r1.5 src/sys/arch/xen/include/pmap.h
cvs rdiff -r1.5 -r1.6 src/sys/arch/xen/xen/privcmd.c
cvs rdiff -r1.14 -r1.15 src/sys/arch/xen/xen/xbdback.c
cvs rdiff -r1.11 -r1.12 src/sys/arch/xen/xen/xennetback.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index