tsutsui
fb67a7f5f5
Call zshard() twice in zshard_hb() interrupt handler for workaround
...
otherwise news3400 sometimes losts zs interrupts.
This should fix "serial console hiccups on sysinst" problem
reported by Mauricio <raub at kudria.com> on port-newsmips.
2003-05-10 03:27:33 +00:00
simonb
729eb06bdf
If no files are specified on the command line, put { ".", NULL } in
...
it's own little array instead of writing over argv. Fixes problems
where du shows up in ps as ". fts_open `%s'" (and shorter or longer
combinations of that depending in what argc was).
2003-05-10 02:09:39 +00:00
uwe
2866542ad3
Redo attachment to support proper cnattach.
...
wscons on netwinder almost works now.
2003-05-10 01:51:56 +00:00
salo
b8f5bcd816
Sync ports with reality.
2003-05-10 00:06:09 +00:00
fvdl
b1d933d3cf
Document isa_drq_alloc/free.
2003-05-10 00:02:22 +00:00
fvdl
d88cf589cb
A few ISA sound drivers like to share dma channels, and hence deferred
...
isa_dmamap_create() calls to their open/close entrypoints. This worked
with some luck, but broke on i386 when _bus_dmamap_create started
to allocate bounce buffers upfront, since memory below 16M may well
not be available when the sound devices is opened for the Nth time.
To fix this, create a new simple interface, isa_drq_alloc/isa_drq_free,
wrappers around already existing bitmask macros. These are expected
to be used before an isa_dmamap_create call, and after an
isa_dmamap_destroy call, respectively. For the sb and ad1848 drivers,
they're deferred until open/close.
All isa_dmamap_create calls can now use BUS_DMA_ALLOCNOW and be done
at attach time.
2003-05-09 23:51:25 +00:00
jmc
c9bb642d58
Fix typo
2003-05-09 23:05:53 +00:00
petrov
55e9455400
elf_fake_sections: fix cast sh_name.
2003-05-09 22:15:17 +00:00
christos
16561289af
PR/13653: Onno van der Linden: Set tranceiver media properly.
2003-05-09 20:54:18 +00:00
christos
cc1171039e
PR/21233: Onno van der Linden: -U option does not work as advertised.
2003-05-09 20:50:35 +00:00
christos
ac8c3de3b3
PR/21515: Onno van der Linden: Fix typo preventing %v from working.
2003-05-09 20:43:47 +00:00
tsutsui
dac2b81da3
Remove bogus comments.
2003-05-09 17:39:12 +00:00
bsh
d3681dec8c
Build our own page table which is used during bootstrap, instead of
...
reusing the table prepared by the monitor program on ROM.
This will allow the kernel booted by gzboot at reset vector.
2003-05-09 16:25:46 +00:00
tsutsui
f69620555a
- Define and use struct hb_attach_args rather than struct confargs
...
for hb devices.
- Move declarations for hb functions and macros to dev/hbvar.h.
- Define and use hb_badaddr() macro for hb devices.
- Declare news3400_badaddr() in machine/cpu.h rather than machine/autoconf.h.
- Remove unused stuff from machine/autoconf.h.
2003-05-09 13:36:39 +00:00
dsl
e3d5a4eaaf
Allow for menu 'opt_name' being const char *.
2003-05-09 12:45:01 +00:00
lukem
85a40ebf71
#if 0 out cleanup_dist() (the obsolete file handling function)
...
since we don't ship the obsolete sets on the install media anymore.
Instead, we'll rely upon postinstall to do this for us.
2003-05-09 12:34:42 +00:00
lukem
0760a2583f
remove bad144 - we're desparate for space on this image (again), and
...
this looked to being the least useful tool...
2003-05-09 12:32:42 +00:00
dsl
689ce9ee7c
Force ramdiskbin.mk to be run to update the crunched binary.
...
Explicitly check times on built targets so to stop make rebuilding
the later targets.
nbmake in src/distrib/i386/floppies/ramdisk-big (etc) will now
pick up changes to source files that make the crunched binary.
2003-05-09 12:20:04 +00:00
dsl
13d371ab4c
Make the prog.mk makefile run make in each of the target directories and
...
then build the program itself.
This means that changes to any of the program source files cause the
crunched binary to be rebuilt.
Seems to work ok with the sysinst ramdisks.
2003-05-09 12:10:15 +00:00
lukem
b86763939b
Revert part of previous, and remove "const" from "char *opt_name" and
...
"char *title", since it causes compile problems for the only program
that uses menuc (sysinst).
2003-05-09 12:07:53 +00:00
tsutsui
21358084e4
Rename some variables for readability.
2003-05-09 11:58:21 +00:00
dsl
66fb8e715d
Need 'const' on local variable - since I added const to the structure field.
2003-05-09 10:24:50 +00:00
dsl
13d47d34ac
Finger trouble in previous commit.
2003-05-09 10:21:43 +00:00
wiz
8cf282a707
Use .Nm instead of .Xr mknod, and sort options in HISTORY (incl. mdoc and grammar nit fixes).
2003-05-09 09:15:20 +00:00
lukem
9ca2699e2b
When providing a default DESTDIR & RELEASEDIR in non-expert mode, add
...
these to makeenv so that the generated makewrapper contains these settings...
2003-05-09 09:10:06 +00:00
lukem
8c75c09c1b
pull in <bsd.sys.mk> for HOST_SH
2003-05-09 09:06:14 +00:00
wiz
de2f2d8752
Only fclose file if it is open. From Tim Robbins (tjr@freebsd).
2003-05-09 08:44:57 +00:00
wiz
846b4ae5e2
Join some lines; mdoc improvements; use more macros.
2003-05-09 08:20:27 +00:00
dsl
7eb71f323d
Update man page for recent changes, update code to match man page...
2003-05-09 07:30:50 +00:00
enami
550608176e
- Adjust arguments to pmap_steal_memory() for new interface.
...
- We no longer able to use uvm_pageboot_alloc() before pmap_bootstrap()
is called. Use pmap_steal_memory() directly instead.
Approved by Jason R. Thorpe.
2003-05-09 05:33:52 +00:00
itojun
0230a54dfb
plug memory leak. jgraessley at apple.com
2003-05-09 05:32:36 +00:00
phil
706027816a
Remove extra characters in example strings.
2003-05-09 05:28:30 +00:00
lukem
4989a7a8c6
Don't bother building var/db/obsolete/* files for the install media;
...
this stuff is in the base.tgz distribution, and it's better to have
postinstall fix it up than use the (dodgy) code in sysinst.
2003-05-09 01:45:08 +00:00
lukem
17887a5d2c
#ifdef HOSTPROG then explicitly use {major,minor,makedev}_netbsd
...
macros from pack_dev.h instead of the native versions.
Fixes [toolchain/20051] by Valeriy E. Ushakov.
2003-05-09 01:09:13 +00:00
itojun
f703f13276
use sizeof for safety
2003-05-09 00:56:56 +00:00
itojun
2ab2b66ee8
just for safety - use sizeof
2003-05-09 00:48:59 +00:00
itojun
5397d22f9f
KNF
2003-05-09 00:47:46 +00:00
itojun
830e70f6d0
readlink(3) does not terminate string by \0.
2003-05-09 00:43:46 +00:00
fvdl
e5ad654753
Silence a gcc 3 warning about a 'x = ++x % foo' construct.
2003-05-09 00:16:55 +00:00
augustss
528dbaae90
Remove ksyms before mknod ksyms.
2003-05-09 00:13:50 +00:00
fvdl
daea75d74a
installboot is compiled in native mode on amd64, unlike the other
...
things around here. Hence, the machine/ include dir must actually
point to its own.
2003-05-09 00:11:26 +00:00
lukem
b8984d0017
etc/mail/aliases.db is optional. From [misc/18536] by Jeremy Reed.
2003-05-09 00:10:52 +00:00
lukem
4fc1a075d0
O_NOFOLLOW is another non-standard extension
2003-05-08 23:20:38 +00:00
fvdl
2ade80fac8
A fraglist entry struct must be packed, to make installboot dtrt on amd64.
2003-05-08 23:09:30 +00:00
martin
4e2589a192
We are getting passed an integer value via a void* arg (in an ioctl() like
...
function) - cast it to an intptr_t.
Addresses parts of PR kern/21448 by Frank Kardel.
2003-05-08 21:18:42 +00:00
martin
82f1702c53
Add missing include.
...
Addresses parts of PR kern/21448 by Frank Kardel.
2003-05-08 21:16:19 +00:00
martin
b0290dfbc4
Change a integer value that is passed via a void* in an ioctl() like
...
function to a intptr_t. This makes it compile on sparc64.
Addresses parts of PR kern/21448 by Frank Kardel.
2003-05-08 21:15:13 +00:00
petrov
cc36666171
No need in default label if default case is not processed.
2003-05-08 20:42:39 +00:00
christos
b024767c0c
Fix _HOST_CYGWIN lossage.
2003-05-08 20:39:00 +00:00
fvdl
73324eaa5a
Revert previous until I look at some issues regarding default labels.
2003-05-08 20:36:12 +00:00