History log of /netbsd-current/sys/arch/usermode/conf/Makefile.usermode
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: isaki-audio2-base pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930
# 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


Revision tags: pgoyette-compat-0906
# 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.


Revision tags: pgoyette-compat-0728 phil-wifi-base pgoyette-compat-0625
# 1.42 01-Jun-2018 reinoud

Compile NetBSD/userland without CTF for the linker doesn't allow for a single
file compiled without CTF


Revision tags: pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base
# 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


Revision tags: netbsd-8-0-RELEASE netbsd-8-0-RC2 netbsd-8-0-RC1 tls-maxphys-base-20171202 matt-nb8-mediatek-base nick-nhusb-base-20170825 perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 jdolecek-ncq-base pgoyette-localcount-20170320 nick-nhusb-base-20170204 bouyer-socketcan-base pgoyette-localcount-20170107 nick-nhusb-base-20161204 pgoyette-localcount-20161104 nick-nhusb-base-20161004 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base nick-nhusb-base-20160907 nick-nhusb-base-20160529 nick-nhusb-base-20160422 nick-nhusb-base-20160319 nick-nhusb-base-20151226 nick-nhusb-base-20150921
# 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}


Revision tags: nick-nhusb-base-20150606 nick-nhusb-base-20150406 nick-nhusb-base
# 1.35 15-Nov-2014 uebayasi

branches: 1.35.2;
Use LINKSCRIPT.


Revision tags: netbsd-7-2-RELEASE netbsd-7-1-2-RELEASE netbsd-7-1-1-RELEASE netbsd-7-1-RELEASE netbsd-7-1-RC2 netbsd-7-nhusb-base-20170116 netbsd-7-1-RC1 netbsd-7-0-2-RELEASE netbsd-7-nhusb-base netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 rmind-smpnet-nbase rmind-smpnet-base tls-maxphys-base
# 1.34 10-Nov-2013 jmcneill

use MACHINE_CPU instead of uname -p; create symlink for arm headers


Revision tags: riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base agc-symver-base
# 1.33 06-Mar-2013 yamt

branches: 1.33.6;
fix include dir
add some dependencies


Revision tags: yamt-pagecache-base8 yamt-pagecache-base7 yamt-pagecache-base6
# 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.


Revision tags: netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE netbsd-6-1-1-RELEASE netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 netbsd-6-1-RC2 netbsd-6-1-RC1 netbsd-6-0-1-RELEASE matt-nb6-plus-nbase netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 jmcneill-usbmp-base10 yamt-pagecache-base5 jmcneill-usbmp-base9 yamt-pagecache-base4 jmcneill-usbmp-base8 jmcneill-usbmp-base7 jmcneill-usbmp-base6 jmcneill-usbmp-base5 jmcneill-usbmp-base4 jmcneill-usbmp-base3 jmcneill-usbmp-base2 netbsd-6-base
# 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


Revision tags: jmcneill-usbmp-pre-base2 jmcneill-usbmp-base jmcneill-audiomp3-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
# 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


Revision tags: rmind-uvmplock-nbase cherry-xenmp-base uebayasi-xip-base7 bouyer-quota2-nbase bouyer-quota2-base rmind-uvmplock-base jym-xensuspend-nbase jym-xensuspend-base
# 1.4 21-Jan-2011 joerg

Switch remaining platforms to modern CPP for assembler.


Revision tags: netbsd-5-2-3-RELEASE netbsd-5-1-5-RELEASE netbsd-5-2-2-RELEASE netbsd-5-1-4-RELEASE netbsd-5-2-1-RELEASE netbsd-5-1-3-RELEASE netbsd-5-2-RELEASE netbsd-5-2-RC1 netbsd-5-1-2-RELEASE netbsd-5-1-1-RELEASE jruoho-x86intr-base matt-mips64-premerge-20101231 matt-nb5-mips64-premerge-20101231 matt-nb5-pq3-base uebayasi-xip-base6 uebayasi-xip-base5 netbsd-5-1-RELEASE uebayasi-xip-base4 uebayasi-xip-base3 yamt-nfs-mp-base11 netbsd-5-1-RC4 matt-nb5-mips64-k15 uebayasi-xip-base2 yamt-nfs-mp-base10 netbsd-5-1-RC3 netbsd-5-1-RC2 uebayasi-xip-base1 netbsd-5-1-RC1 yamt-nfs-mp-base9 uebayasi-xip-base netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-premerge-20091211 yamt-nfs-mp-base8 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 yamt-nfs-mp-base7 netbsd-5-0-1-RELEASE jymxensuspend-base yamt-nfs-mp-base6 yamt-nfs-mp-base5 yamt-nfs-mp-base4 yamt-nfs-mp-base3 nick-hppapmap-base4 nick-hppapmap-base3 netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 nick-hppapmap-base2 netbsd-5-0-RC2 netbsd-5-0-RC1 haad-dm-base2 haad-nbase2 ad-audiomp2-base netbsd-5-base nick-hppapmap-base matt-mips64-base2 haad-dm-base1 wrstuden-revivesa-base-4 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 haad-dm-base wrstuden-revivesa-base-1 simonb-wapbl-nbase yamt-pf42-base4 simonb-wapbl-base yamt-pf42-base3 hpcarm-cleanup-nbase hpcarm-cleanup-base yamt-pf42-baseX yamt-pf42-base2 yamt-nfs-mp-base2 wrstuden-revivesa-base yamt-nfs-mp-base yamt-pf42-base ad-socklock-base1 yamt-lazymbuf-base15 yamt-lazymbuf-base14 keiichi-mipv6-nbase mjf-devfs2-base nick-net80211-sync-base keiichi-mipv6-base mjf-devfs-base matt-armv6-base bouyer-xeni386-base matt-armv6-nbase bouyer-xeni386-nbase
# 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.41 13-Jan-2018 reinoud

Make NetBSD/usermode link again!


# 1.40 10-Dec-2017 christos

- Allow multiple .BEGIN targets
- Make their protection consistent


Revision tags: tls-maxphys-base-20171202 matt-nb8-mediatek-base nick-nhusb-base-20170825 perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 jdolecek-ncq-base pgoyette-localcount-20170320 nick-nhusb-base-20170204 bouyer-socketcan-base pgoyette-localcount-20170107 nick-nhusb-base-20161204 pgoyette-localcount-20161104 nick-nhusb-base-20161004 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base nick-nhusb-base-20160907 nick-nhusb-base-20160529 nick-nhusb-base-20160422 nick-nhusb-base-20160319 nick-nhusb-base-20151226 nick-nhusb-base-20150921
# 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}


Revision tags: nick-nhusb-base-20150606 nick-nhusb-base-20150406 nick-nhusb-base
# 1.35 15-Nov-2014 uebayasi

branches: 1.35.2;
Use LINKSCRIPT.


Revision tags: netbsd-7-1-1-RELEASE netbsd-7-1-RELEASE netbsd-7-1-RC2 netbsd-7-nhusb-base-20170116 netbsd-7-1-RC1 netbsd-7-0-2-RELEASE netbsd-7-nhusb-base netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 rmind-smpnet-nbase rmind-smpnet-base tls-maxphys-base
# 1.34 10-Nov-2013 jmcneill

use MACHINE_CPU instead of uname -p; create symlink for arm headers


Revision tags: riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base agc-symver-base
# 1.33 06-Mar-2013 yamt

branches: 1.33.6;
fix include dir
add some dependencies


Revision tags: yamt-pagecache-base8 yamt-pagecache-base7 yamt-pagecache-base6
# 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.


Revision tags: netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE netbsd-6-1-1-RELEASE netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 netbsd-6-1-RC2 netbsd-6-1-RC1 netbsd-6-0-1-RELEASE matt-nb6-plus-nbase netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 jmcneill-usbmp-base10 yamt-pagecache-base5 jmcneill-usbmp-base9 yamt-pagecache-base4 jmcneill-usbmp-base8 jmcneill-usbmp-base7 jmcneill-usbmp-base6 jmcneill-usbmp-base5 jmcneill-usbmp-base4 jmcneill-usbmp-base3 jmcneill-usbmp-base2 netbsd-6-base
# 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


Revision tags: jmcneill-usbmp-pre-base2 jmcneill-usbmp-base jmcneill-audiomp3-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
# 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


Revision tags: rmind-uvmplock-nbase cherry-xenmp-base uebayasi-xip-base7 bouyer-quota2-nbase bouyer-quota2-base rmind-uvmplock-base jym-xensuspend-nbase jym-xensuspend-base
# 1.4 21-Jan-2011 joerg

Switch remaining platforms to modern CPP for assembler.


Revision tags: netbsd-5-2-3-RELEASE netbsd-5-1-5-RELEASE netbsd-5-2-2-RELEASE netbsd-5-1-4-RELEASE netbsd-5-2-1-RELEASE netbsd-5-1-3-RELEASE netbsd-5-2-RELEASE netbsd-5-2-RC1 netbsd-5-1-2-RELEASE netbsd-5-1-1-RELEASE jruoho-x86intr-base matt-mips64-premerge-20101231 matt-nb5-mips64-premerge-20101231 matt-nb5-pq3-base uebayasi-xip-base6 uebayasi-xip-base5 netbsd-5-1-RELEASE uebayasi-xip-base4 uebayasi-xip-base3 yamt-nfs-mp-base11 netbsd-5-1-RC4 matt-nb5-mips64-k15 uebayasi-xip-base2 yamt-nfs-mp-base10 netbsd-5-1-RC3 netbsd-5-1-RC2 uebayasi-xip-base1 netbsd-5-1-RC1 yamt-nfs-mp-base9 uebayasi-xip-base netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-premerge-20091211 yamt-nfs-mp-base8 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 yamt-nfs-mp-base7 netbsd-5-0-1-RELEASE jymxensuspend-base yamt-nfs-mp-base6 yamt-nfs-mp-base5 yamt-nfs-mp-base4 yamt-nfs-mp-base3 nick-hppapmap-base4 nick-hppapmap-base3 netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 nick-hppapmap-base2 netbsd-5-0-RC2 netbsd-5-0-RC1 haad-dm-base2 haad-nbase2 ad-audiomp2-base netbsd-5-base nick-hppapmap-base matt-mips64-base2 haad-dm-base1 wrstuden-revivesa-base-4 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 haad-dm-base wrstuden-revivesa-base-1 simonb-wapbl-nbase yamt-pf42-base4 simonb-wapbl-base yamt-pf42-base3 hpcarm-cleanup-nbase hpcarm-cleanup-base yamt-pf42-baseX yamt-pf42-base2 yamt-nfs-mp-base2 wrstuden-revivesa-base yamt-nfs-mp-base yamt-pf42-base ad-socklock-base1 yamt-lazymbuf-base15 yamt-lazymbuf-base14 keiichi-mipv6-nbase mjf-devfs2-base nick-net80211-sync-base keiichi-mipv6-base mjf-devfs-base matt-armv6-base bouyer-xeni386-base matt-armv6-nbase bouyer-xeni386-nbase
# 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.