Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: src/sys/arch/usermode
Module Name: src
Committed By: jmcneill
Date: Sat Sep 3 18:42:13 UTC 2011
Modified Files:
src/sys/arch/usermode/conf: Makefile.usermode files.usermode
src/sys/arch/usermode/include: thunk.h
src/sys/arch/usermode/usermode: pmap.c thunk.c
Log Message:
Let NetBSD/usermode build & link on a Linux host:
- Need to add options CPU_HOST=i386 or CPU_HOST=amd64 for membar & atomic_ops
- Don't use MAP_* and PROT_* with thunk API since the kernel and host
might not be the same; add THUNK_MAP_* and THUNK_PROT_* and translate them
- Add thunk_posix_memalign
- allocate mem_uvm with thunk_posix_memalign instead of thunk_malloc
- Fix thunk_mmap callers to always pass either THUNK_MAP_PRIVATE or
THUNK_MAP_SHARED
- mkstemp on Linux requires exactly 6 "X" characters at the end of the
template string, so add an X
To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/sys/arch/usermode/conf/Makefile.usermode
cvs rdiff -u -r1.8 -r1.9 src/sys/arch/usermode/conf/files.usermode
cvs rdiff -u -r1.24 -r1.25 src/sys/arch/usermode/include/thunk.h
cvs rdiff -u -r1.52 -r1.53 src/sys/arch/usermode/usermode/pmap.c
cvs rdiff -u -r1.27 -r1.28 src/sys/arch/usermode/usermode/thunk.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