he
2df25715bb
Need to include <sys/module.h> when using the MODULE() macro.
2008-11-21 19:55:38 +00:00
he
8c94f52d9b
Wrap includes of opt* header files with _KERNEL_OPT. It is not entirely
...
clear to me that this will end up doing the right thing, because there
surely is a reason for the opt* headers.
Also, replace one "ksyms.h" with <sys/ksyms.h>.
Fixes build problems when this is built as part of a module.
2008-11-21 19:48:56 +00:00
pooka
dbeec14d9d
Make sure we write a positive length of data.
2008-11-21 18:02:17 +00:00
matt
3157816ae9
Switch to CFATTACH_DECL_NEW. Use device_* accessors. etc.
2008-11-21 17:13:07 +00:00
joerg
ba1c83c8cc
Fix indentation.
2008-11-21 16:08:57 +00:00
ad
44ea47f214
Remove the following from i386 GENERIC since they are also provided by
...
modules. Shrinks the kernel by 1278kB. XXX Need to further investigate
situation with vcoda and nsmb.
- all file systems
- all exec formats
- all compat code
- POSIX AIO
- the NFS server
- accept filters
2008-11-21 15:55:59 +00:00
ad
5b8ba55f76
Switch the i386 installation CDs away from RAM disks and instead use the
...
CD-ROM as the root file system. It contains a limited subset of $DESTDIR
along with sysinst. This will help to massively reduce the amount of memory
needed to install from CD or netboot, and allow us to continue using the
generic kernel on the CDs.
2008-11-21 15:49:51 +00:00
ad
ab165b17f6
Create a dynamically linked sysinst as part of the build process, but don't
...
install it.
2008-11-21 15:39:29 +00:00
ad
389c672366
Don't ask for set location if:
...
- installing from CD-ROM or NFS
- and the root file system is of that type
- and the root file system contains sets
2008-11-21 15:31:20 +00:00
he
b9e9d5c919
Commit regenerated files after this change to syscalls.master:
...
sys_nfssvc() is actually only defined when NFSSERVER is defined,
not when only NFS is defined, according to sys/nfs/files.nfs.
Adapt accordingly. Fixes build of amiga INSTALL kernel.
2008-11-21 15:15:31 +00:00
he
5ed8abf7d9
sys_nfssvc() is actually only defined when NFSSERVER is defined,
...
not when only NFS is defined, according to sys/nfs/files.nfs.
Adapt accordingly. Fixes build of amiga INSTALL kernel.
2008-11-21 15:14:56 +00:00
ad
708504e914
filesystem -> file system
2008-11-21 15:05:40 +00:00
ad
b58caf3fac
- Add CDRUNTIME variable that copies files from ${DESTDIR} onto the CD.
...
- Add image_md_pre target.
2008-11-21 14:49:45 +00:00
ad
e70fa4cfa1
_KERNEL_OPT
2008-11-21 14:03:41 +00:00
jnemeth
f11160b8b4
update compat libc to 12.164
2008-11-21 13:35:23 +00:00
tsutsui
a40510af14
No need to install kern.ldscript since /usr/lkm is gone and
...
modload(8) no longer uses a linker script.
2008-11-21 11:46:36 +00:00
ad
bf92e35013
Don't warn about missing MAKEDEV.local. It doesn't exist in some
...
environments.
2008-11-21 11:44:38 +00:00
sketch
66fc26f77b
what could possibly go wrong
2008-11-21 11:32:21 +00:00
pooka
5863246694
note librumpvfs
2008-11-21 11:19:07 +00:00
ad
91ca02fc89
PR port-amd64/39991 modules/compat_linux: build fix
2008-11-21 10:05:41 +00:00
ad
d9d57112d9
PR port-amd64/39990 modules/compat_linux32: build fix
2008-11-21 10:04:58 +00:00
ad
577910fbd3
Make the allow-multidot option useful.
2008-11-21 10:02:12 +00:00
pooka
2d18baefd2
Silly-rename child to worker (no pun intended .. maybe).
...
nfsd is threading these days.
2008-11-21 07:48:35 +00:00
pooka
c02ede9188
use varargs macro to make -DDDEBUG compile
2008-11-21 07:42:30 +00:00
pooka
b5321c4efc
document modular. no functional change.
2008-11-21 07:34:46 +00:00
he
b8ed284744
Only include opt_* headers under _KERNEL_OPT.
2008-11-21 06:57:35 +00:00
he
c132c098c7
Don't define struct grf_softc unless _KERNEL is defined, because it
...
depends on struct device which is also not defined unless _KERNEL is
defined. Fixes usr.sbin/videomode build.
2008-11-21 06:11:11 +00:00
pooka
945e7d735e
rump_vfs_load -> rump_module_load
2008-11-21 06:10:15 +00:00
pooka
bedcc68e65
rump_vfs_load() is really rump_module_load(), so call it that and
...
move it from rumpvfs to rumpkern.
2008-11-21 06:09:51 +00:00
pooka
9c035d43d1
dlerror() resets the error message, so save it since we want to
...
access it twice.
2008-11-21 06:07:23 +00:00
jnemeth
e971cab0ab
fix build in _STANDALONE case
2008-11-21 03:23:43 +00:00
matt
4de7478cea
Make lint happy (stupid lint).
2008-11-21 01:58:41 +00:00
he
4b10ac9fb3
Rename sendsig() to sendsig_siginfo(), so that we don't conflict
...
with the newly added sendsig() in kern_sig.c.
2008-11-21 01:57:33 +00:00
matt
c98b2a2f4e
Add a commented out option of PROCESS_ID_IS_CURCPU
2008-11-21 00:18:57 +00:00
matt
0ad7281825
Add new ptree (Patricia / RADIX tree) implementation to NetBSD.
2008-11-20 23:50:08 +00:00
cliff
e3d7c50f06
add gpio driver
2008-11-20 23:31:35 +00:00
cliff
063fc09eca
evaluate RMCR correctly for single proc gemini
2008-11-20 23:27:10 +00:00
phx
1872c0f94c
Applied a patch from Roman Zippel to fix jump table addressing in the M68k
...
codegen.
Taken from the gcc mailing list January 2007:
http://gcc.gnu.org/ml/gcc-patches/2007-01/msg02476.html
2007-01-30 Roman Zippel <zippel@linux-m68k.org>
* config/m68k/m68k.c (output_move_himode)
config/m68k/m68k.md: remove jump table recognition
* config/m68k/m68k.c (ASM_OUTPUT_CASE_FETCH): use simple pc
relative addressing
Approved by Christos Zoulas, Alistair Crooks and Matthew Green.
2008-11-20 22:53:17 +00:00
martin
53e6514de6
remove duplicate prototype (sys/signalvar.h is authoritive)
2008-11-20 22:50:52 +00:00
cliff
5aec566f7e
add GPIO driver for Gemini
2008-11-20 22:36:36 +00:00
dyoung
a38f380ef4
Update comment for last.
2008-11-20 21:55:15 +00:00
dyoung
67852fcbc2
In the new ifioctl order, tun_ioctl() can call itself through
...
ifioctl_common(). Since the first tun_ioctl() call already holds
the simplelock, the second tun_ioctl() call will wait forever to
acquire it: deadlock.
To fix this, wait to acquire the lock until tuninit().
2008-11-20 21:54:42 +00:00
jdc
7892af0d0c
Read the chip revision from the Sbus register.
2008-11-20 20:56:56 +00:00
jdc
7c6c93a6fb
Note root partition size limitations on certain sparc and sparc64 models
...
(taken from the boot(8) manual pages).
2008-11-20 20:52:17 +00:00
cliff
c20cc9bcb9
use CFATTACH_DECL_NEW, make device in softc type device_t, etc.
2008-11-20 20:23:04 +00:00
hans
6e50d3937a
Fix unibus interrupts on SBI machines. OK by matt.
2008-11-20 17:08:03 +00:00
tsutsui
0fe756618b
It looks the ARC BIOS has another limit which prevents loading
...
a kernel larger than 8MB (it is not emulated by gxemul BTW),
so disable several devices in GENERIC and shrink RAMDISK kernel again
by sprinkled "no" keywords etc.
2008-11-20 13:57:09 +00:00
tsutsui
d02a8caa63
Use vt100 rather than wsvt25 for TERM since the latter makes
...
both FG/BG colors white during sysinst on Express5800/230 with tga(4).
2008-11-20 13:43:28 +00:00
njoly
f924710dd2
Fix mdoc warning: Empty input line.
2008-11-20 13:31:11 +00:00
tron
709a35c482
Make it possible to compile a kernel with COMPAT_NETBSD32 but without
...
COMPAT_40. This fixes PR port-amd64/39967.
2008-11-20 11:56:40 +00:00