Commit Graph

80625 Commits

Author SHA1 Message Date
riz b602094b15 Fix some RCS IDs, and the comments including them. 2006-04-14 18:38:50 +00:00
christos 147a6ae8fb If __COVERITY__ is defined, turn on KASSERT and _DIAGASSERT. 2006-04-14 18:24:56 +00:00
christos 53daf02156 Coverity CID 1103: Avoid NULL pointer deref. 2006-04-14 17:58:01 +00:00
christos cbf7d00ad2 Coverity CID 2439: Remove bogus test. 2006-04-14 17:54:26 +00:00
christos 7fad94d825 Coverity CID 1111: Fix cut'n'paste bug! 2006-04-14 17:50:27 +00:00
christos 4be84f7cdb Coverity CID 1112: If we did not get a packet, bail out early. 2006-04-14 17:46:29 +00:00
christos af27d5132b Coverity CID 773: Add a KASSERT to appease coverity. 2006-04-14 17:42:29 +00:00
christos c6bb3943dd Coverity CID 1100: Avoid NULL pointer dereferences. 2006-04-14 17:36:51 +00:00
christos 30baf54001 Coverity CID 1101: Protect against address argument being NULL. 2006-04-14 17:33:10 +00:00
christos 9a52196c1d Coverity CID 1131: Avoid NULL pointer dereference. 2006-04-14 17:27:08 +00:00
christos b6fca780b3 Coverity CID 729: Remove dead code. 2006-04-14 17:21:17 +00:00
christos 4656123e9c Use c instead of s->cur. 2006-04-14 17:18:59 +00:00
christos 24da938ec7 Coverity CID 1115: It is quite pointless to have a DIAGNOSTIC panic that
checks a variable for being NULL, and if we are not in DIAGNOSTIC code, to
just dereference it causing a crash!
2006-04-14 17:07:23 +00:00
christos d8ff0a7b54 Coverity CID 1132: avoid NULL derefs. 2006-04-14 17:04:06 +00:00
christos 96408ef538 Coverity CID 730: Ifdef dead code appropriately. 2006-04-14 17:00:55 +00:00
christos a2b69f5e33 Coverity CID 1354: Add a KASSERT to convince coverity that there is no NULL
pointer dereference.
2006-04-14 16:41:53 +00:00
christos 457f653f3f Coverity CID 1355: Add a KASSERT to convince coverity that this is not NULL. 2006-04-14 16:39:33 +00:00
christos 2fa8f13ac7 Coverity CID 1133: Abort quickly if we don't have a buffer in all the cases. 2006-04-14 16:31:27 +00:00
christos cd2eb11f45 Coverity CID 2330: Spell out that we are going to use the memory we allocated. 2006-04-14 16:26:46 +00:00
christos 1b815db766 Coverity CID 1084: Don't call suser if we don't have a process context. 2006-04-14 16:19:44 +00:00
blymn eb5227b874 Functions to support io statistics collection. 2006-04-14 13:17:20 +00:00
blymn 3c0adb7d99 Make i/o statistics collection more generic, include tape drives and
nfs mounts in the set of devices that statistics will be reported on.
2006-04-14 13:09:05 +00:00
rpaulo 650c02ea97 s/#ifdef DEBUG/#ifdef AUICH_DEBUG/ 2006-04-14 13:02:57 +00:00
simonb f4dfb02e67 Bump SYMTAB_SPACE. 2006-04-14 10:36:56 +00:00
jmmv fc2fbdf255 biosextmem comes before biosbasemem in the stack passed by the boot loader.
Fixes e.g. APM initialization.  Problem spotted by Kurt Schreiner.
2006-04-14 09:50:16 +00:00
nonaka 370cb08389 Added FARADAY FA526 ID. 2006-04-14 09:28:17 +00:00
nonaka 5918a2e057 Always _LOCORE is defined for standalone program. 2006-04-14 09:23:01 +00:00
dyoung 410808adf0 Remove a call, pxe_call(PXENV_UNLOAD_STACK), that causes Soekris
net45x1 boards to hang at boot---the call never returns.  This
fixes PR/25174 for me.
2006-04-14 05:32:26 +00:00
garbled 2355e5cd00 Fix a typo. fin->fin->fr should be fin->fin_fr 2006-04-14 04:32:26 +00:00
perseant 81ded5df65 Make lfs_vref/lfs_vunref not need to know about VXLOCK and VFREEING
explicitly (especially since we didn't know about VFREEING at all before),
but notice the EBUSY return from vget() instead.

Fix some more MP locking protocol issues, most of which were pointed out by
Christian Ehrhardt this morning on tech-kern.
2006-04-13 23:46:28 +00:00
christos d7e1743903 PR/29683: Sergey Svishchev: Make this compile again.. 2006-04-13 23:16:33 +00:00
oster 79a8ee2f0f Populate /usr/include/m68k with both pmap_motorola.h and pte_motorola.h.
/usr/include/m68k/pmap.h expects to find pmap_motorola.h, and
/usr/include/machine/pte.h wants pte_motorola.h.
2006-04-13 19:51:09 +00:00
garbled fc8134ddce Disable some things to make it a wee bit smaller. 2006-04-13 19:38:10 +00:00
garbled e8e7f1b118 Stop building installboot. I'm not sure if it works or not, but it looks
like it wouldn't.  Keep the sources around in case I get around to fixing it.
2006-04-13 19:02:19 +00:00
christos 0a1c2ab0b8 Coverity CID 2855: If fin->fin_fr is NULL, return 0, don't crash. 2006-04-13 18:59:58 +00:00
garbled 3869624bdd Fix a bug in the printing of the "image too big" message, and make it
stop printing when building standalone images.
2006-04-13 18:57:24 +00:00
christos e26a0c7cb1 Coverity CID 2352: Protect all l2 accesses inside the if statement. 2006-04-13 18:55:49 +00:00
garbled ccad384049 More major bootblock changes:
1) Rewrite vreset.c completely.  Saves about 1k, and now it sets the
screen up much better.  Previously the resulting video mode looked bad on
my CRT, and my LCD wouldn't even recognize it as a valid mode.  Now it
looks reasonably good and my LCD can talk to it.

2) Call vga_reset unconditionally in the setup process to fix the onboard
VGA.  If you have a VGA and use the serial console, this will allow you
to still use the VGA device for getty/wscons.  Tested on a 7248 with VGA
and a 7043 without VGA.

3) Change filesystem.c to use nullfs rather than ufs and cd9660.  We
don't actually need an fs at all, but it would take a major rewrite to
get rid of them completely.  This saves about 6KB on the bootloader.

4) Bump version to 1.7.
2006-04-13 18:46:46 +00:00
christos 5cf38f035b Strip the chrooted portion of the path from the reported pty path. Reported
and tested by Lasse Kliemann. Thanks!
2006-04-13 17:44:24 +00:00
hannken 3d3a6761ea fss_bs_thread: add FSS_LOCK() in two error cases so the lock is held
on top of the loop.

From Christian Ehrhardt (netbsd-kern AT c--e.de) via tech-kern@
2006-04-13 15:56:53 +00:00
macallan 8cbf5c2542 bump kernel version because of wscons API changes 2006-04-13 13:50:14 +00:00
macallan 313752a79e add a framebuffer type for generic PCI devices 2006-04-13 13:30:25 +00:00
cube b08283e19d Fix grammar in a comment, and use named constants for better readability. 2006-04-13 09:47:19 +00:00
tron f0ad84f7e8 Add makphy(4). Tested with an Intel PRO/1000 MT in a Tadpole Voyager. 2006-04-13 09:29:51 +00:00
hannken c9b4801ced Make it compile again by adding a second cookie to ioctl and mmap
wsdisplay accessops.
2006-04-13 09:29:05 +00:00
kochi 62f4a841c7 Fix return without free (resource leakage).
Detected by Coverity (CID 2309).
2006-04-13 08:43:17 +00:00
yamt 4dec4ffdcb uvm_page_own: more assertions. 2006-04-13 08:33:18 +00:00
kochi bde9af0a6f NULL check for a parameter of AcpiOsSignal().
The upper layer (ACPI-CA) might call with NULL pointer.

This should resolve Coverity CID 1114.
2006-04-13 08:27:09 +00:00
kochi 656c03f555 This is better fix than the previous commit for
saner cleanup path.
2006-04-13 07:31:29 +00:00
kochi 691e781111 Fix usage after free of NextWalkState.
Closes Coverity CID 2672 and this is reported to intel people.
2006-04-13 07:21:20 +00:00