chopps
0723de9c6c
deal with failure of malloc NOWAIT by restarting after mallocing with WAIT.
...
don't write beyond the users given buffer size (this happened if there was
enough space for the initial malloc to succeed).
1999-04-02 17:22:21 +00:00
augustss
fdf4fd888e
Fix various buglets.
1999-04-02 16:05:55 +00:00
augustss
6e9632f4a4
Xref audioplay(1) and audiorecord(1).
1999-04-02 15:53:39 +00:00
minoura
fa2cb59e90
SMALL kernel is not included in kern.tgz.
1999-04-02 15:46:34 +00:00
tsubai
5f1a262044
Fix typo. (COPT --> COPTS)
1999-04-02 12:09:44 +00:00
cgd
4cbbc316f2
add ustarboot, a ustar-capable unified bootstrap intended to be
...
mkbootimage'd and slapped on the front of a tar file.
1999-04-02 09:13:27 +00:00
cgd
e16ad7a3e4
this should have been gc'd with the disk->blkdev changes
1999-04-02 08:50:45 +00:00
cgd
b676fcfeca
add mkbootimage, a program to make a bootable image (i.e. prepend a boot
...
block, pad to a block boundary) from a console program (i.e. a boot
block, firmware upgrade executable, etc.)
1999-04-02 08:40:23 +00:00
tron
6b0ab739b7
Documentation for flag values of "we" driver supplied by Martin Husemann.
1999-04-02 08:25:23 +00:00
ross
8969ff9e1e
Fix typo in FILE_FORMAT_CPPFLAGS.
1999-04-02 07:55:06 +00:00
cgd
bfa2f241f4
use 'struct boot_block' from disklabel.h
1999-04-02 07:34:49 +00:00
cgd
5d472dba93
define 'struct boot_block' which is the alpha (SRM) boot block
1999-04-02 07:32:33 +00:00
gwr
5a4e7b6de7
Make this build on Solaris (make -f Makefile.boot)
1999-04-02 06:36:30 +00:00
simonb
770f65cee6
Delete {device,swap,vnode}_pager.h
1999-04-02 03:50:54 +00:00
cgd
bfd7402544
use booted_dev_fd() and booted_dev_close()
1999-04-02 03:50:47 +00:00
cgd
bacc33029f
build the filesystem-specific primaries
1999-04-02 03:45:12 +00:00
cgd
60fb889b92
makefiles for some filesystem-using primary boot blocks. much as
...
i hate to say it, these still contain bugs that can't easily be
addressed yet.
1999-04-02 03:38:20 +00:00
cgd
6db093b04a
puts -> putstr
1999-04-02 03:35:54 +00:00
cgd
3b5c2ed522
a makefile template for filesystem-using primary boot blocks
1999-04-02 03:34:09 +00:00
cgd
47acf988d7
add a template for a filesystem-using primary boot block, just like
...
'boot' is a template for secondary and unified boot blocks.
1999-04-02 03:24:53 +00:00
cgd
1fe5f90d85
add a common putstr() function which just puts()'s the chars in
...
its argument string. implement a broken version of panic() in terms
of it, for cases where we need panic() but can't affort printf().
1999-04-02 03:23:49 +00:00
cgd
e1b1b6b39b
update for booted_dev and disk->blkdev changes.
1999-04-02 03:20:00 +00:00
cgd
f0bdf50326
abstract the prom device open/close into a separate module, which
...
provides the correct functions for primary, secondary, and unified
boot blocks. actually behave correctly (e.g. expect correct arguments,
perform correct operations) depending on which you are. also
some minor cleanup.
1999-04-02 03:19:08 +00:00
cgd
39ea91226c
move the boot/disk.* code to common/blkdev.*, and gut it. The previous
...
guts were actually functionally equivalent to the current guts, but were
much larger, filled with bugs, and indeed poked around at the disklabel
when some of those bugs prevented them from ever using the disklabel!
1999-04-02 03:17:28 +00:00
cgd
7c4cd2bb56
unrevert the changes made last night, now that 'installboot' has
...
had a few bugs fixed that let the problem slip in, and since bootxx's
Makefile now goes out of its way to satisfy installboot's undocumented
and totally unreasonable assumptions about the bootxx file it's operating
on. No point in fixing the assumptions, because sooner rather than later
this incarnation of installboot is going to die.
1999-04-02 03:11:57 +00:00
perry
480ac6a6e5
Update the comments to say 1.4A, too. (slaps own forehead)
1999-04-02 03:08:02 +00:00
perry
7ab8eaeda9
Update trunk to NetBSD 1.4A
1999-04-02 02:57:55 +00:00
perry
e8cff4d606
Update trunk to NetBSD 1.4A, and do similar housekeeping
1999-04-02 02:57:19 +00:00
cgd
701c007366
correctly calculate the space left for block addresses, and avoid
...
assuming that there's always going to be space for the whole boot
block info struct. (the assumption would cause a malloc'd region
to be overrun, if it proved false.)
1999-04-02 02:47:45 +00:00
perseant
7ea5ec6723
Fix buffer handling problems in lfs_vinvalbuf
1999-04-01 23:28:09 +00:00
chopps
87af70d729
user err() not errx()
1999-04-01 23:12:30 +00:00
bouyer
b43b844f6f
- change the interrupt routines to take a 3rd arguments, set to 1 if we
...
are called from the interrupt or timeout handler, 0 otherwise.
- use this to know if we can busy-wait for wait_for_unbusy or wait_for_ready
This fixes a bug where CDs withot the DRQ_INTR capability would not busy-wait
for the CMDOUT phase.
While I'm there change 2 delay() to DELAY() for consistency, and
garbage-collect some old code from wdcintr() which has been ifdef'd out
for some time now.
1999-04-01 21:46:28 +00:00
fvdl
f7ca917a98
Adapt NetBSD/i386 configuration to egcs changes wrt. TARGET_DEFAULT. This
...
should make it stop outputting i387 instructions that the emulator can't
handle.
1999-04-01 21:15:43 +00:00
drochner
39fce9ba9d
remove leftover #endif
1999-04-01 20:50:52 +00:00
ragge
60d4b9c2bd
A bunch of small fixes to make boot work on most VAXen.
1999-04-01 20:40:07 +00:00
ragge
978ab908d4
Slimmed install kernel with md-root.
1999-04-01 20:36:32 +00:00
is
0d8a2e963a
snchronize with reality.
...
Actually, this should have been done months ago, but slipped the cracks.
1999-04-01 20:31:02 +00:00
is
03957f9d56
regenerate
1999-04-01 20:24:29 +00:00
drochner
5d86b86370
#ifdef out the last change for the branch
1999-04-01 19:36:09 +00:00
explorer
3f80ba486e
don't allow /dev/random to be opened (return ENXIO) until there is at least
...
one active entropy source
1999-04-01 19:07:40 +00:00
kim
96139333c2
Added myself, fixed sorting.
1999-04-01 18:44:37 +00:00
drochner
74768f75f4
remove unneeded <vm/*> includes
1999-04-01 18:37:33 +00:00
mhitch
94ac6e6084
Show 50ns period instead of 48ns for Ultra.
1999-04-01 17:27:22 +00:00
veego
d698215572
Define __POOL_EXPOSE for <dev/vndvar.h>.
1999-04-01 17:24:03 +00:00
dbj
2b950ad26f
Add next68k makefile, so "make obj", etc. doesn't fail.
1999-04-01 17:10:35 +00:00
drochner
3497f157fd
On serious boot errors, dont lock the machine. Instead, wait 3 seconds
...
and call the ROM BASIC vector. This might behave differently on different
machines, but normally it allows to reboot without power-cycling.
1999-04-01 17:07:54 +00:00
mhitch
f2edf64867
Turn off some ATAPI debugging output.
1999-04-01 16:22:57 +00:00
tsubai
bee9b5d9ab
Enable "de".
1999-04-01 16:11:45 +00:00
drochner
99a84ef740
sync to changed biosdisk interface again
1999-04-01 16:09:49 +00:00
tsubai
500edb5379
Fix typo. (From PR 7027)
1999-04-01 14:55:25 +00:00