pk
0e39bfc32c
remove duplicate line in copyright.
1999-04-06 19:28:41 +00:00
pk
5a47d424ae
Fix garbled word in copyright statement.
1999-04-06 19:27:48 +00:00
pk
23c3e1a4a1
Fix garbled words in copyright statement.
1999-04-06 19:26:32 +00:00
cgd
ff54a19cef
build/install this binary as bootxx.old, so that users won't get the
...
idea that they should be using it. (no point in renaming the whole
directory since it should be dead soon enough.)
1999-04-06 18:43:18 +00:00
mark
46b87f5da5
Changed the way in which virtual address space is reserved for the SA110
...
fast cache clean area as the recent pmap changes mean that the existing
approach no longer works. Fixes PR7272.
1999-04-06 06:57:00 +00:00
mark
c05b9ed27a
When handling a page fault, panic if the map is NULL so that we don't
...
dereference it when doing handled or modified emulation. This can happen
if fault are taken during early parts of the bootstrap, resulting in
recursive faulting.
1999-04-06 06:35:03 +00:00
simonb
b1ec416993
Don't build a.out kernels anymore.
1999-04-06 06:16:07 +00:00
scottr
e169535fc2
Include zsc.h so that SCC soft interrupts have a chance. Fixes PR 7313.
1999-04-06 05:55:06 +00:00
scottr
dc9ec7ace3
Sync with hp300.
1999-04-06 04:04:45 +00:00
scottr
fdd8445219
Prototype kvtop() here.
1999-04-06 03:40:23 +00:00
gwr
bcd555184b
Add the address of the DMA gate array (used by the esp driver).
1999-04-06 02:07:51 +00:00
cgd
1fddfb80a5
consistency in boot message printouts
1999-04-05 22:03:56 +00:00
cgd
54b5d8e275
always -D NETBSD_VERS
1999-04-05 22:03:48 +00:00
scw
e20f288fe5
Add a check to my last 'fix' which ensures the fault really
...
did happen in kernel mode.
1999-04-05 17:17:04 +00:00
gwr
95e8060c58
Move VM_PHYSSEG_MAX to the common vmparam.h (needed by LKMs).
1999-04-05 14:35:13 +00:00
gwr
2cc28dc7b6
Make it clear that MSGBUFSIZE is not user-adjustable.
1999-04-05 14:34:18 +00:00
mark
9ea7a42377
Added installation configuration for CATS kernels.
1999-04-05 07:30:43 +00:00
mark
e9dc39c682
Fix this so that it compiles when IRQSTATS is not defined.
1999-04-05 07:04:17 +00:00
cgd
ba10f0ca12
now that boot.c does the bootstrap name with a -D, the newvers scripts
...
are all the same, so eliminate the redundancy. also, use mrg's
"Version:" trick to find the version rather than using the RCS ID.
(I must have been having a ... bad day.) Also, bump boot and netboot
versions for all the changes that have been happening lately.
1999-04-05 06:56:23 +00:00
cgd
d4e15df542
don't get the name from newvers, get it from a bootstrap-specific -D
...
in the Makefile. also, print the banner before we do things that
might cause us to print error messages.
1999-04-05 06:42:14 +00:00
scottr
bc071709f2
Pull in the many and various hp300 pmap changes that Jason's done
...
so far this year. There are very few appreciable differences left
between this code and the hp300 version.
1999-04-05 06:34:01 +00:00
cgd
d430800515
GC all support except contiguous block mode. the new installboot
...
takes care of it all better.
1999-04-05 05:48:12 +00:00
cgd
f8eb5f4b98
trim off unnecessary bits
1999-04-05 05:07:04 +00:00
cgd
b774b1837d
fix disk write size check
1999-04-05 05:01:44 +00:00
cgd
ebca60d395
come a little closer to compiling with warnings turned on
1999-04-05 04:39:42 +00:00
cgd
ae79d52642
i was fooling myself to believe that these would build with all warnings
1999-04-05 04:38:27 +00:00
cgd
f8fcd4d2be
-I goes in CPPFLAGS, not CFLAGS
1999-04-05 03:42:50 +00:00
cgd
bf165cb8fc
install bootxx_cd9660 and bootxx_ffs
1999-04-05 03:37:28 +00:00
cgd
6603c44a84
reorganize Makefiles so that warning flags aren't accidentally omitted,
...
and so that all programs and boot blocks are built.
1999-04-05 03:35:24 +00:00
cgd
a50cfa8576
add a new from-scratch (actually, from mkbootimage, but that's close
...
enough) implementation of installboot(8) which installs the new file
system specific boot blocks.
1999-04-05 03:07:37 +00:00
cgd
180d6f8b19
Moved to sys/arch/alpha/stand/installboot.old/installboot.c,v
1999-04-05 03:02:07 +00:00
cgd
b76e58f09c
Moved from sys/arch/alpha/stand/installboot/installboot.c,v
1999-04-05 03:02:06 +00:00
cgd
80eba52649
Moved to sys/arch/alpha/stand/installboot.old/extern.h,v
1999-04-05 03:02:05 +00:00
cgd
acb2102a7c
Moved from sys/arch/alpha/stand/installboot/extern.h,v
1999-04-05 03:02:04 +00:00
cgd
5549a89389
Moved to sys/arch/alpha/stand/installboot.old/cd9660.c,v
1999-04-05 03:02:03 +00:00
cgd
2e3c73533f
Moved from sys/arch/alpha/stand/installboot/cd9660.c,v
1999-04-05 03:02:02 +00:00
cgd
84d60a245d
Moved to sys/arch/alpha/stand/installboot.old/Makefile,v
1999-04-05 03:02:01 +00:00
cgd
5863b697a0
Moved from sys/arch/alpha/stand/installboot/Makefile,v
1999-04-05 03:02:00 +00:00
cgd
6ab8a12347
clean up, use disklabel.h boot block checksum macro, exit with
...
EXIT_SUCCESS and EXIT_FAILURE rather than 0 and 1.
1999-04-05 02:56:33 +00:00
cgd
eb5c725722
clean up for compiler warning flags
1999-04-05 02:55:38 +00:00
cgd
7a2f0695dd
clean up slightly, do a little #define trick to make checksumming
...
the boot block a little easier/more 'clean', and provide a macro to
checksum the boot block.
1999-04-05 02:45:47 +00:00
scw
f7a019c61a
Fix a problem I noticed a while back but had too many other things
...
in the air to deal with it.
Basically, following a kernel fault (eg. dereferencing a NULL pointer
in kernel mode) a DDB 'trace' did not show the function where the
fault occurred. For example:
db> trace
_Debugger()
_panic()
_trap()
faultstkadj()
_pool_drain()
_uvm_pageout()
_start_pagedaemon()
_proc_trampoline()
db>
The 'faultstkadj()' line here is bogus. It is shown because the return
address to 'trap()' happens to point there, and since faultstkadj() has
no stack frame, DDB assumes it was the faulting function. In this example,
the _real_ function was pool_reclaim(), but you would have to look at
the program counter at the time of the fault to figure that one out.
This fix makes the trace command do the dirty work for you by grubbing
around in 'trap()'s argument list to find the *real* PC value at the
time of the fault, replacing the 'faultstkadj()' line with the real
function's name.
1999-04-04 11:33:02 +00:00
mark
f187f77f1e
Update for change to isapnp_devmatch().
...
Fixes PR7303.
1999-04-03 23:53:48 +00:00
scw
dd69ae65fb
Sync with Jason's latest changes to hp300 pmap.
1999-04-03 13:15:16 +00:00
is
2ac445044e
make the Amiga bootblocks link again.
1999-04-03 09:18:41 +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
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
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
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
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
mhitch
94ac6e6084
Show 50ns period instead of 48ns for Ultra.
1999-04-01 17:27:22 +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
minoura
eb2c78dd2d
Typo.
1999-04-01 14:11:21 +00:00
ross
9c323a2d8b
Revert recent changes, which either don't work, or can't be built
...
successfully by ordinary mortals.
1999-04-01 11:08:39 +00:00
soda
009107c3e1
do not include <machine/regdef.h>, but include <mips/regdef.h>,
...
requested by Matthias Drochner and Toru Nishimura.
1999-04-01 09:02:53 +00:00
simonb
e6ab4443a2
Mention a few other (not implemented) space saving ideas in case we
...
get desparate in the future.
1999-04-01 08:47:38 +00:00
simonb
f36bd65f46
Build the full MI libsa for the first stage bootblocks rather than
...
picking the bits we wanted explicitly, taking advantage of some of the
recent code-size trimming from cgd. There's now no duplication if libsa
code in sys/arch/pmax/stand.
As a bonus, we now have 416 bytes free in stage one (up from 80), and
will all of Chris' space saving options enabled (these are commented out
in scsiboot/Makefile), theres over a 1kB free.
1999-04-01 06:05:04 +00:00
simonb
971284a4ed
Add support for LIBSA_SINGLE_DEVICE and LIBSA_SINGLE_FILESYSTEM.
1999-04-01 05:52:38 +00:00
thorpej
2f832df90c
Do proc0's TSS and LDT initialization at the end of configure() (i.e.
...
once the FPU has been attached).
1999-04-01 00:37:50 +00:00
thorpej
967b8c433c
Don't call configure() from cpu_startup().
1999-04-01 00:17:45 +00:00
cgd
bd44d9c286
as pointed out by simonb, since we've moved to ELF __main() calls
...
aren't emittid anymore.
1999-03-31 16:12:51 +00:00
minoura
35b6e71f52
Enable rnd.
1999-03-31 15:38:32 +00:00
minoura
004b01c5ba
Some trivial size reductions.
1999-03-31 15:38:06 +00:00
scottr
0848c89c55
The last change wasn't quite enough to build libc during a 'make build'.
...
Bump DFLDSIZ, too.
1999-03-31 14:58:15 +00:00
mycroft
83cb600015
Enable rnd.
1999-03-31 14:29:33 +00:00
minoura
d264521334
Mapped copy was always disabled.
1999-03-31 14:22:21 +00:00
minoura
e58c614810
CADDR1 and CADDR2 should not be used here.
1999-03-31 14:18:49 +00:00
mycroft
94590084d7
Enable rnd.
1999-03-31 14:16:20 +00:00
pk
65707bd131
* Pull in more uvm prototypes.
...
* Retrieve MID on all modules.
1999-03-31 14:09:09 +00:00
leo
98732be4ba
Export mtpr.h :-( This is because cpu.h depends on it. Probably userland
...
should not need cpu.h...
1999-03-31 10:48:00 +00:00
leo
968286a826
From Julian Coleman:
...
- there are a couple of registers that are reset after the X server finishes,
which do not have the same values as they do when the machine is powered
on. If the two are mismatched you can't write to the video memory.
- video memory is mapped at offset 4MB to keep the X server happy
- there is now a VGA memory mapping
- DEBUG_ET4000 is now a bit more useful for debugging!
1999-03-31 10:44:15 +00:00
simonb
ff2206f6df
G/C UFS_NOSYMLINK, UFS_NOCLOSE and UFS_NOWRITE and use new LIBSA_NO_FS_*.
1999-03-31 07:43:39 +00:00
simonb
4c9bbd20fb
Don't define errno expliticly, use libsa/errno.c in first stage and
...
${LIBSA} in the second stage.
1999-03-31 07:23:27 +00:00
scottr
9c8f206e65
Bump DFLSSIZ so that we can build libc.so.*, and limit MAXSSIZ independently
...
of MAXDSIZ.
1999-03-31 06:53:56 +00:00
cgd
801906b363
GC; unused
1999-03-31 06:37:13 +00:00
cgd
be6a1d529a
separate defns for primary and unified boot blocks
1999-03-31 06:28:41 +00:00
simonb
febdc0ddf2
Use recent LIBSA_NO_TWIDDLE support.
1999-03-31 04:30:11 +00:00
cgd
77a9cb81ff
implement NO_GETCHAR, to remove getchar(), and NO_PUTCHAR_HALT to remove
...
the check in putchar() for character input (specifically control-c, which
causes a halt).
1999-03-31 03:34:21 +00:00