Commit Graph

145972 Commits

Author SHA1 Message Date
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
matt
cda5c405e0 Add a KASSERT to document a condition for the PRU_ABORT case. 2006-04-13 04:58:31 +00:00
christos
dd8ade94a0 Coverity CID 1320: Don't try to use drq16 as an index in an array if it is -1 2006-04-13 03:45:44 +00:00
christos
3c0717249d Coverity CID 2853: Return if we cannot establish an interrupt instead
of crashing later.
2006-04-13 03:36:26 +00:00
christos
cb23cf75a0 Coverity CID 1543: Fix buffer off-by-one on error. 2006-04-13 03:34:46 +00:00
christos
14ac201ca2 Change previous to KASSERT per yamt's request. 2006-04-13 02:32:14 +00:00
yamt
047ff68ce8 ubc_fault: don't forget to clear PG_WANTED.
reported by Michael Lorenz on tech-kern@.
2006-04-13 02:17:42 +00:00
tnozaki
9d0aec986d replaced by FreeBSD version wcstod(3) for make it work
with L"inf", L"nan", and hex conversion.
suggested by jeorg AT netbsd DOT org, thanks.
2006-04-13 01:25:13 +00:00
macallan
767a272758 pass the right cookie to ioctl() and mmap() instead of struct wsscreen * 2006-04-13 01:15:27 +00:00
christos
7778288678 Coverity CID 762: Protect against NULL dereferencing entry->object.uvm_obj
like we do a few lines before. Maybe all the tests should be changed
to UVM_ET_ISOBJ(), or the macro should do it internally?
2006-04-13 01:11:08 +00:00
christos
3e31f5d682 Coverity CID 835: Check before dereferencing pg->uanon. 2006-04-13 01:05:17 +00:00
christos
48fc1e1ea4 Regen. 2006-04-13 00:30:43 +00:00
christos
afbea8995b Fix the MPU attachment on Aztech 1020 that has a separate mpu pnp device
instead of having the mpu in io[1]. From doomwarriorx at gmail dot com.
2006-04-13 00:30:19 +00:00
simonb
ad09581b8e Don't access b_fspriv.bf_private in struct buf directly - use the
b_private macro.

OK'd by oster@
2006-04-12 23:33:39 +00:00
macallan
0c6c2553d0 whitespace nits
( no, perry didn't steal my account )
2006-04-12 23:11:56 +00:00
drochner
7b1c6fd9ff second step to retire the useless i386_set_ioperm/i386_get_ioperm
calls: remove declarations from public headers
(it still needs to be built for binary compatibility; one might consider
establishing a separate "compat" department as libc does, but these
little wrapper functions aren't worth the effort yet)
2006-04-12 21:48:08 +00:00
macallan
176b72244c convert to vcons
while there, attach an fb device when running on sparc
2006-04-12 20:35:42 +00:00
sjg
d7df397808 Change ReadMakefile to return 0 on success so that it better meets
the expectations of Lst_Find*.  This way we only read the first sys.mk
found via sysIncPath.
At the same time we need to add a ReadAllMakefiles() for the case
where multiple -f makefile args are provided (uncommon, but documented).
2006-04-12 20:32:27 +00:00
macallan
a6d03d30a7 make this compile again 2006-04-12 20:22:00 +00:00
macallan
9ba325f38a correct typo 2006-04-12 20:13:21 +00:00
jmmv
4652eeb82c Get rid of the memt and memh local variables in the pcdisplay_{get,put}wschar
functions.
2006-04-12 20:08:20 +00:00
jmmv
efbda7406a Convert to ANSI prototypes. 2006-04-12 20:06:16 +00:00
dsl
c0b0ba1f18 If parameter don't have values, then 'continue' after setting the flag bit.
Fixes coverty CID 776 and removes the need for a 'val = NULL' added to
appease gcc's undefined variable tests.
This parsing code sucks though, it doesn't correctly check for the '='
between a parameter and its value, whitespace can be used instead.
2006-04-12 19:49:59 +00:00
jmmv
38d8c6bf5c Document that the ioctl and mmap accessops now take an extra parameter that
points to the screen on which these were called.
2006-04-12 19:45:17 +00:00
jmmv
7a51d4dddc Add an extra cookie to the ioctl and mmap wsdisplay accessops that points
to the screen on which they are being called.  The driver cannot guess
this by itself but it is needed to implement, at least, the getwschar and
putwschar functions in the correct place.  There are no functional changes
yet.

Tested on i386 (vga, vga_raster, machfb, vesafb), macppc and sparc64.
Suggested and reviewed by macallan@.
2006-04-12 19:38:22 +00:00
drochner
76264cfc6a first step to retire the useless i386_set_ioperm/i386_get_ioperm
calls: remove their manpages
2006-04-12 18:35:42 +00:00
rpaulo
fca96e7bd5 Mention wpa_supplicant 0.4.8 and hostapd. 2006-04-12 17:33:47 +00:00
rpaulo
010596a9f2 hostapd 0.4.8 and wpa_supplicant 0.4.8 2006-04-12 17:30:16 +00:00
rpaulo
0d55f26306 Add hostapd man pages. 2006-04-12 16:12:23 +00:00
tsutsui
ad492b4bfe Add MI installboot(8). 2006-04-12 15:53:38 +00:00
rpaulo
eeb16045e8 Add /usr/sbin/hostapd{,cli} 2006-04-12 15:46:39 +00:00
rpaulo
3bffa8df53 Include opensslv.h. 2006-04-12 15:40:03 +00:00
rpaulo
a20cc430b3 Include stdio.h and stdlib.h. 2006-04-12 15:39:39 +00:00
rpaulo
5d6fb58006 Descend into hostapd{,_cli}. 2006-04-12 15:37:48 +00:00