Commit Graph

175345 Commits

Author SHA1 Message Date
he 20bdc3eb41 If COMPAT_13 is defined, be sure to include compat signal
headers to get the native_sigset_to_sigset13() prototype and
related types in scope.
2008-11-22 15:34:18 +00:00
he 33a18bdcf6 Wrap opt* include in #ifdef _KERNEL_OPT. 2008-11-22 15:32:59 +00:00
pgoyette b016fe8ba2 JEDEC has published the DDR3 SPD standard; update driver to match.
Verified on my single DDR3 machine to still produce correct data.
2008-11-22 13:21:21 +00:00
spz beee1d989f pmap_is_referenced_locked() is relevant for non-MULTIPROCESSOR systems too,
says martin@
2008-11-22 13:01:08 +00:00
uwe 67e730e6a0 Sort 2008-11-22 02:12:45 +00:00
uwe 1b438796de Move COMPAT_16 signal stuff to the new compat_16_machdep.c file, so
that it can be built as part of a module.
2008-11-22 01:53:41 +00:00
uwe c2b0ccbf39 Provide COMPAT_16 sigcode for MODULAR kernels too (to avoid the
trouble of adding compat_16_locore.S just for these 20 bytes - at
least for now).
2008-11-22 01:51:22 +00:00
cube f57978ed6d Unbreak expat by providing a proper configuration include for it. Problem
noticed by Jared McNeill.
2008-11-22 00:57:23 +00:00
uwe da6162349a G/c all reloc types except R_SH_DIR32 - which is the only one we
expect from a kmod that only have unresolved external symbols.
2008-11-21 23:18:11 +00:00
cegger 53d5928d58 make this compile 2008-11-21 20:53:28 +00:00
he 593aa4da31 The sendsig_sigcontext() here should most probably be sendsig_siginfo().
Based on hints from other developers.
2008-11-21 20:22:30 +00:00
he c1aefc5a53 Wrap includes of opt* headers in _KERNEL_OPT. 2008-11-21 20:21:47 +00:00
he 005320c975 Wrap includes of opt* headers with _KERNEL_OPT.
Adapt sendsig_sigcontext() to the new prototype, and compute sig
and code patterned after the sparc code.
2008-11-21 20:21:12 +00:00
he 93a4c91cdf Wrap include of opt* header with _KERNEL_OPT. 2008-11-21 20:17:51 +00:00
christos f63c93ecac PR/38735: Jonathan A. Kollasch: add the ability for cgd to be used on top of wedges 2008-11-21 20:14:20 +00:00
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