Module Name: src Committed By: jym Date: Thu Feb 10 00:23:15 UTC 2011
Modified Files: src/sys/arch/x86/x86: pmap.c src/sys/arch/xen/include: xenpmap.h src/sys/arch/xen/x86: x86_xpmap.c Log Message: Use only one function to pin pages with Xen, and provide macros to call it for different levels (L1 => L4). Replace all calls to xpq_queue_pin_table(...) in MD code with these new functions, with proper #ifdef'ing depending on $MACHINE. Rationale: - only one function to modify for logging - pushes responsibility to caller for chosing the proper pin level, rather than Xen internal functions; this makes the pin level explicit rather than implicit. Boot tested for dom0 i386/amd64, PAE included. No functional change intended. To generate a diff of this commit: cvs rdiff -u -r1.116 -r1.117 src/sys/arch/x86/x86/pmap.c cvs rdiff -u -r1.24 -r1.25 src/sys/arch/xen/include/xenpmap.h cvs rdiff -u -r1.23 -r1.24 src/sys/arch/xen/x86/x86_xpmap.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.