175035 Commits

Author SHA1 Message Date
ad
c5122072aa _KERNEL_OPT 2008-11-14 13:10:33 +00:00
pooka
e489c3824a fix typographical snafu 2008-11-14 13:10:13 +00:00
ad
8537937e0b Wrap sigframe_sigcontext in _KERNEL 2008-11-14 13:05:34 +00:00
ad
8fe49e035f PR kern/39913 exec, fork, exit hooks need locking
Acquire exec_lock where needed.
2008-11-14 13:01:18 +00:00
pooka
39beb124fd In case writing past EOF, fail if extending the file fails (most
likely due to the file system being full).

Otherwise we'd fail in VOP_PUTPAGES(), which might not happen during
VOP_WRITE(), thus giving the caller the wrong impression that
writing was succesful.
2008-11-14 12:59:44 +00:00
ad
c475578182 Remove some compat ifdefs that aren't really needed. 2008-11-14 12:53:18 +00:00
pooka
fe762e15b2 Clearly state that VOP_BMAP panic in putpages is because I'm a lazy bum.
(although I can't really think of any scenario where VOP_BMAP could
legally fail)
2008-11-14 11:57:07 +00:00
hira
842ca3f635 Add missing newline to usage. 2008-11-14 09:55:38 +00:00
cegger
b23cd354e0 merge BIOS memmap code from i386/i386/machdep.c:init386() and amd64/amd64/machdep.c:init_x86_64 into x86/x86/x86_machdep.c 2008-11-14 00:41:36 +00:00
martin
e6d2ca8863 Pass SIOCAIFADDR to ifioctl_common, fixes PR kern/39900. 2008-11-13 22:22:24 +00:00
bouyer
c0e4281b32 Remove a debug printf(). It will call splx(), which may panic in spllowwer()
on KASSERT(psl == 0);
2008-11-13 21:39:29 +00:00
dyoung
087533b28c Only define 'struct device' if _KERNEL is #defined, so that I can
add a kmutex_t and a kcondvar_t to struct device, later, without
breaking userland.  Userland does not use struct device.
2008-11-13 21:15:01 +00:00
apb
c89f08d79b Add support for new MAKEVERBOSE levels 3 and 4. The complete list is now:
0   Minimal output ("quiet")
 1   Describe what is occurring
 2   Describe what is occurring and echo the actual command
 3   Ignore the effect of the "@" prefix in make commands
 4   Trace shell commands using the shell's -x flag

The default remains MAKEVERBOSE=2.
2008-11-13 20:40:11 +00:00
dyoung
4c565dbf95 Bump kernel version to 5.99.02 for ifioctl changes. 2008-11-13 20:24:17 +00:00
dyoung
90a821d0b5 To fix compilation, consistently use 'cmd' instead of 'command'
for the ioctl command code.  Thanks he@.
2008-11-13 19:44:02 +00:00
cegger
5bed9654a4 Finish preparation to new interface.
New interface not yet used by default. It needs some testing first.
2008-11-13 18:44:51 +00:00
cegger
f3a877306a add platform_op hypercall (already exists for amd64) 2008-11-13 18:35:20 +00:00
phx
8fea32b8ab Reverted my last modification, because it included GPLv3 code. Sorry. 2008-11-13 18:10:56 +00:00
christos
d5e5a2c9eb PR/39912: Jukka Salmi: Logger eats the first word because of incorrect
syslogp invocation.
2008-11-13 15:51:07 +00:00
ad
f34e8d4f6b ndis module. Deliberately not enabled as part of the build. 2008-11-13 12:11:54 +00:00
ad
a682ddf568 Make it build again. 2008-11-13 12:09:52 +00:00
blymn
a920095679 Actually declare the structures used in iwn_scan_hdr instead of using
pointer arithmetic to create the elements on the fly.

Other changes to scan routine taken from FreeBSD driver.
2008-11-13 12:04:09 +00:00
ad
2f839a2253 These depend on ffs. 2008-11-13 11:10:41 +00:00
ad
bed0008a9a Remove #ifdef LFS from the ufs code. 2008-11-13 11:09:45 +00:00
ad
5b57d1bcce LKM -> MODULAR 2008-11-13 10:51:23 +00:00
ad
05844d020c PR kern/39263 $ufs kernel module dependency problems
Pull in the ufs stuff and enable features to make this module useful.
2008-11-13 10:50:26 +00:00
ad
d7360a07e4 _KERNEL_OPT 2008-11-13 10:48:52 +00:00
njoly
666b1f282d mdoc warning fix. 2008-11-13 10:25:15 +00:00
ad
03dacfd7f4 +compat_ossaudio 2008-11-13 10:15:52 +00:00
ad
669263e5c2 _KERNEL_OPT 2008-11-13 10:14:55 +00:00
ad
c3499e89ad Add a note:
Do not automatically install modules that would fundamentally alter system
behaviour or create a security hole, as the system may automatically load
modules.
2008-11-13 10:06:46 +00:00
ad
b11cbdbb9d compat_ossaudio module, so others can depend on it. 2008-11-13 10:05:52 +00:00
ad
57d1c37e21 Add missing ksem makefile. 2008-11-13 10:03:22 +00:00
cliff
0fbe2f865b add option GEMINI_BUSBASE to define kernel offset between
kernel physical addr and (DMA master) bus addr
2008-11-13 07:21:59 +00:00
matt
b0aa811639 Sort the kernel objects. 2008-11-13 06:48:38 +00:00
cliff
06c16f2497 on the Slave CPU where memory is remaped, use 'struct arm32_dma_range'
to manage kernel physical address unequal to DMA master bus address.

when Slave CPU configures PCI bus, program PCI memory window
to allow only bus addresses into memory owned by the Slave CPU.

Note: this code assumes that the CPU performing
PCI bus configuration has exclusive use of that bus.
2008-11-13 05:03:05 +00:00
cegger
cc63733c55 prepare move to new interface 2008-11-13 01:45:48 +00:00
cliff
3370523d4f - add "wm" interface and "makphy"
- add "re" interface and "rgephy"
2008-11-13 01:39:23 +00:00
cliff
54739f3c1c - comment out wdc, atabus, wd by default; can turn these on if/when wanted.
- add "wm" interface and "makphy"
2008-11-13 01:38:09 +00:00
cliff
bd82d08586 add gemini_cpu1_start() so Master CPU can release Slave to boot.
this gets called early in initarm(); this is as early as reasonable
for now; we might have to puch it back if the Slave ever depends
on the Master to do some setup work or something.
2008-11-13 01:32:48 +00:00
thorpej
7077ca222a Don't use sizeof(struct gpt_hdr). It will pad the structure on x86-64,
which causes some systems to reject the GPT.

kern/38997
2008-11-12 22:50:22 +00:00
phx
b933ea4d67 Fixed jump table bugs (e.g. detected when compiling lang/php5 for m68k).
The patch was suggested by Gunther Nikl <gnikl@baltic.net> and is part
of gcc 4.3.x.

	Backport from mainline (SVN 128601):
	2007-09-19  Roman Zippel <zippel@linux-m68k.org>

	* config/m68k/m68k.c (output_move_himode): Remove jump table
	recognition.
	config/m68k/m68k.md (lea): Likewise.
	* config/m68k/m68k.c (print_operand_address): Use simple pc
	relative addressing.
2008-11-12 21:40:03 +00:00
phx
3e7e644efc Added missing #include <net/if_ether.h> for ether_ioctl(). 2008-11-12 21:15:49 +00:00
uwe
7d798e4789 Add commented out "options MODULAR" (doesn't work yet). 2008-11-12 19:41:30 +00:00
joerg
4c4dba8748 Cache wpi firmware in memory, free it only on invalid content or when
the last user is detached. This stops wpi from accessing the disk on
resume.
2008-11-12 18:23:08 +00:00
njoly
7712a0fc6c Regen for nanosleep(2) fix. 2008-11-12 18:09:22 +00:00
njoly
cf19223289 Fix nanosleep(2) on 64-bit archs. Do not call native nanosleep
syscall, but rather a modified version the will take care of `struct
timespec' conversions.
2008-11-12 18:07:40 +00:00
tsutsui
7181375540 Create USB devices on all_md target. 2008-11-12 15:57:29 +00:00
apb
39e209a580 intFile.fd should be initialised to -1, not 0. 2008-11-12 15:56:57 +00:00
christos
f7d6936d24 avoid using c99 struct named initializers because this is a host tool and
needs to be compiled by a host compiler which might not be c99 compliant.
2008-11-12 15:45:32 +00:00