Home | History | Annotate | Download | only in conf
History log of /src/sys/arch/usermode/conf/Makefile.usermode
RevisionDateAuthorComments
 1.44  22-Sep-2018  rin - Determine KERN_AS automatically depending on whether OPT_MODULAR is
set or not, in the same way as libcompat.

- Specify OPT_MODULAR in the port Makefile instead of KERN_AS.

Now, KERN_AS=library is used for kernels without module(7) for all ports.

OK christos
 1.43  17-Aug-2018  reinoud Start using the kernel ld script.

There are still issues with the .init placement and ./build.sh creating bad
images.
 1.42  01-Jun-2018  reinoud branches: 1.42.2;
Compile NetBSD/userland without CTF for the linker doesn't allow for a single
file compiled without CTF
 1.41  13-Jan-2018  reinoud branches: 1.41.2;
Make NetBSD/usermode link again!
 1.40  10-Dec-2017  christos - Allow multiple .BEGIN targets
- Make their protection consistent
 1.39  27-Aug-2015  uebayasi Tweak previous.
 1.38  27-Aug-2015  uebayasi Echo exact objects (swap*.o etc.) when linking kernel.
 1.37  24-Aug-2015  uebayasi Define ${LINKSCRIPT} in one place.
 1.36  18-Aug-2015  uebayasi ${KERN_LDSCRIPT} -> ${KERNLDSCRIPT}
 1.35  15-Nov-2014  uebayasi branches: 1.35.2;
Use LINKSCRIPT.
 1.34  10-Nov-2013  jmcneill use MACHINE_CPU instead of uname -p; create symlink for arm headers
 1.33  06-Mar-2013  yamt branches: 1.33.6;
fix include dir
add some dependencies
 1.32  30-Jun-2012  reinoud branches: 1.32.2;
Move i386 and amd64 usermode configurations to their respective directories
and make the usermode kernels buildalbe under build.sh.

The resulting kernels are build and packaged correctly as are the associated
modules.
 1.31  07-Jan-2012  reinoud Move target/${USERMODE_CPU} to target/${MACHINE_CPU} to more clearly
distinguish between CPU specific ones and machine specific ones.
 1.30  07-Jan-2012  reinoud Add AMD64 target for NetBSD/usermode next to i386 and reorganize source tree
to have port specific stuff in arch/usermode/target/<port>/
 1.29  06-Jan-2012  reinoud Split machdep.c into a MI part and a MD part.
 1.28  05-Jan-2012  jmcneill Get rid of MAP_NOSYSCALLS usage; now this relies on a separate kmod that
you can get here: http://www.netbsd.org/~jmcneill/syscallemu.tar
 1.27  31-Dec-2011  christos pass ${COPTS} to the build of thunk.c so that it builds on amd64.
 1.26  29-Dec-2011  jmcneill Replace the SDL based genfb driver with a wsdisplay and wskbd driver that
implements the VNC (RFB) protocol.

To enable the VNC server, add 'vnc=640x480,5900' to the kernel command line
(where 640x480 is the desired fb resolution and 5900 is the TCP port).

Screenshot of it here: http://www.netbsd.org/~jmcneill/usermode.tiff
 1.25  20-Dec-2011  jmcneill get rid of urkelvisor, and use same MD majors as the host
 1.24  16-Sep-2011  jmcneill branches: 1.24.2; 1.24.6;
push TEXTADDR option into kernel makefile
 1.23  16-Sep-2011  reinoud Reduce the amount of memory needed to run by default
 1.22  15-Sep-2011  reinoud Adjust default parameters
 1.21  14-Sep-2011  reinoud Implement in-place execution for binaries! No more MKPIE/MKPIC for userland
anymore!
 1.20  08-Sep-2011  jmcneill pass debug compiler parameters to modules built with host sdk
 1.19  03-Sep-2011  jmcneill unbreak build on netbsd
 1.18  03-Sep-2011  jmcneill 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
 1.17  03-Sep-2011  jmcneill Get this compiling (but not quite linking yet) on Linux
 1.16  03-Sep-2011  jmcneill Add usermode kernel supervisor, can be disabled with 'no options URKELVISOR'
 1.15  28-Aug-2011  jmcneill override thunk.d and thunk_sdl.d targets
 1.14  25-Aug-2011  jmcneill - build thunk code with warnings
- add option SDL which pulls in thunk_sdl code and links the kernel to libSDL
- add an experimental framebuffer driver based on thunk_sdl, enable with:
options SDL
genfb* at mainbus?
wsdisplay* at genfb?
options WS_KERNEL_FG=WSCOL_GREEN
options WSEMUL_VT100
- reserve a major # for wsdisplay
- add thunk_getenv()
 1.13  22-Aug-2011  jmcneill build fixes for netbsd-5 and i386
 1.12  22-Aug-2011  reinoud Don't override -O options... we might want to build with another -O setting in
the config file.
 1.11  21-Aug-2011  reinoud Link the usermode kernel staticly to avoid libc littering the virtual space.
 1.10  13-Aug-2011  jmcneill try to use aio_read/aio_write instead of pread/pwrite
 1.9  12-Aug-2011  jmcneill Make GENERIC32 build on amd64
 1.8  12-Aug-2011  jmcneill Clean up extern mess by adding an API for kernel components to call libc
functions. thunk.c is built with special cflags that makes it compile
against standard system headers instead of kernel ones.
 1.7  11-Aug-2011  jmcneill Instead of trying to override vers.o target, set NVFLAGS=-n
 1.6  11-Aug-2011  jmcneill get this linking and running (sorta) again:

soundwave$ ./netbsd
NetBSD/usermode startup
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
2006, 2007, 2008, 2009, 2010, 2011
The NetBSD Foundation, Inc. All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California. All rights reserved.

NetBSD 5.99.55 (GENERIC) #10: Thu Aug 11 14:24:03 EDT 2011
jmcneill@soundwave:/home/jmcneill/branches/HEAD/src/sys/arch/usermode/compile/GENERIC
total memory = 128 MB
avail memory = 124 MB
mainbus0 (root)
cpu0 at mainbus0
clock0 at mainbus0
ttycons0 at mainbus0: console
panic: setcontext failed: 14
rebooting...
Abort (core dumped)
 1.5  10-Aug-2011  jmcneill fix build
 1.4  21-Jan-2011  joerg Switch remaining platforms to modern CPP for assembler.
 1.3  29-Dec-2007  jmcneill branches: 1.3.2; 1.3.4; 1.3.6; 1.3.8; 1.3.40; 1.3.46; 1.3.48;
-Dfree=kernfree, to match -Dmalloc=kernmalloc
 1.2  29-Dec-2007  jmcneill Define init_main's main away to kernmain, and provide our own MD main entry
point. We do this since we don't have a proper bootloader, so we can
instead parse boot arguments here.

$ ./netbsd -h
-h: unknown flag
usage: ./netbsd [-acdqsvx]
(ex. "./netbsd -s")
 1.1  29-Dec-2007  jmcneill Import work-in-progress NetBSD/usermode port.
 1.3.48.1  08-Feb-2011  bouyer Sync with HEAD
 1.3.46.1  06-Jun-2011  jruoho Sync with HEAD.
 1.3.40.1  05-Mar-2011  rmind sync with head
 1.3.8.2  18-Feb-2008  mjf Sync with HEAD.
 1.3.8.1  29-Dec-2007  mjf file Makefile.usermode was added on branch mjf-devfs on 2008-02-18 21:05:11 +0000
 1.3.6.2  21-Jan-2008  yamt sync with head
 1.3.6.1  29-Dec-2007  yamt file Makefile.usermode was added on branch yamt-lazymbuf on 2008-01-21 09:39:43 +0000
 1.3.4.2  09-Jan-2008  matt sync with HEAD
 1.3.4.1  29-Dec-2007  matt file Makefile.usermode was added on branch matt-armv6 on 2008-01-09 01:49:18 +0000
 1.3.2.2  02-Jan-2008  bouyer Sync with HEAD
 1.3.2.1  29-Dec-2007  bouyer file Makefile.usermode was added on branch bouyer-xeni386 on 2008-01-02 21:50:40 +0000
 1.24.6.1  18-Feb-2012  mrg merge to -current.
 1.24.2.3  22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.24.2.2  30-Oct-2012  yamt sync with head
 1.24.2.1  17-Apr-2012  yamt sync with head
 1.32.2.3  03-Dec-2017  jdolecek update from HEAD
 1.32.2.2  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.32.2.1  23-Jun-2013  tls resync from head
 1.33.6.1  18-May-2014  rmind sync with head
 1.35.2.1  22-Sep-2015  skrll Sync with HEAD
 1.41.2.3  30-Sep-2018  pgoyette Ssync with HEAD
 1.41.2.2  06-Sep-2018  pgoyette Sync with HEAD

Resolve a couple of conflicts (result of the uimin/uimax changes)
 1.41.2.1  25-Jun-2018  pgoyette Sync with HEAD
 1.42.2.1  10-Jun-2019  christos Sync with HEAD

RSS XML Feed