ross
16bf3552bb
Save a0 during bss clear.
1998-10-15 01:02:55 +00:00
ross
9f7ca48f3b
Delete prom_open() wrapper routine. Other clients of prom_open
...
can use the prom.h dispatch macros instead, especially since they
all presently expect the raw return bits.
1998-10-15 01:02:15 +00:00
ross
c84b7f501e
Delete bogus prom_open() prototype.
1998-10-15 01:00:56 +00:00
ross
412f6ae85b
Grab booted_dev_fd parameter from bootxx. It won't be there for netboot
...
but there should be no harm done.
1998-10-15 01:00:07 +00:00
thorpej
34a8ac8484
Set the primary CPU's PAL revision to the OSF/1 PAL revision after switching
...
to it, per the Green Book (pointed out by Chris Demetriou).
1998-09-28 21:21:55 +00:00
ross
5fb9c16f05
While we are here in alpha/stand, bail out on ^C during boot.
1998-09-22 00:41:13 +00:00
thorpej
d5df55112a
vm_offset_t -> {paddr_t,vaddr_t}, vm_size_t -> vsize_t
1998-08-14 16:50:00 +00:00
drochner
dabc8eb436
Implement the 'i' flag which makes the bootloader ask for the file to
...
load (as in OSF/1).
Useful for netboot where "-file" doesn't work as needed.
1998-08-07 10:38:37 +00:00
ross
de27f1befc
Don't bother reading the ELF string table out of a stripped /netbsd[.gz].
...
In this case, all it has in it are the never-referenced printable names
for the ELF sections themselves. It's located at the end of the (ramdisk)
netbsd.gz file, so it is a very expensive seek and read for only 85 bytes.
Boot floppy load time:
before: 5 minutes
now: 3 minutes
1998-06-25 06:45:46 +00:00
ross
6c1e8f5b20
Use the new LOCATE_PCS() macro.
1998-06-24 01:33:19 +00:00
cgd
c0ac8bae67
GC alpha's ECOFF_TOOLCHAIN make variable, and related bits. Nobody
...
should be using an ECOFF toolchain on NetBSD/alpha any more.
1998-03-28 00:50:41 +00:00
ross
2170c2a46d
Force elf symbol sections to an addressable boundary.
1998-02-28 10:38:55 +00:00
cgd
92d17b5b50
clean up the way bootinfo information is passed and used: move the version
...
number passed by the boot block into a register, change the kernel's
bootinfo handing so that it always uses bootinfo to get bootinfo-ish values
(filling them in if the boot blocks didn't pass them), and make versioning
a small bit more sane.
1998-02-12 01:53:18 +00:00
ross
43a3471986
While here in alpha/stand, add a technically required imb coherency op
...
just before transferring to the kernel entry point.
1998-01-29 22:13:25 +00:00
ross
c1972a428c
Avoid VMS palcode ops by using a different technique for cpu_number(),
...
and don't execute the VMS->OSF palcode switch if the OSF palcode
is already running...which will be the case if the console is not
the venerable SRM.
1998-01-29 22:09:37 +00:00
perry
015e898c02
RCSID Police.
1998-01-05 07:02:46 +00:00
cjs
bcced1d9be
Check return values from lseek; use SEEK_SET instead of 0.
1997-10-18 22:27:46 +00:00
drochner
80d9738db8
-Wall fixes
1997-09-06 14:03:55 +00:00
drochner
d99aa8efc0
Collect prototypes here.
1997-09-06 14:02:51 +00:00
thorpej
7df7a43ce7
When loading a symbol section, make sure it is aligned.
1997-09-05 21:50:34 +00:00
cgd
9d532f482c
don't forget to set hwrpbsize to zero explicitly
1997-08-13 20:49:56 +00:00
cgd
d86134ca68
fill in the new pointers in the bootinfo_v1 structure.
1997-07-25 07:00:42 +00:00
thorpej
8e341ad358
If loading an Elf kernel, load the symbol table immediately after
...
the kernel image.
1997-07-25 00:09:01 +00:00
thorpej
f65454b2a6
Set up a version 1 bootinfo for the kernel.
1997-07-25 00:07:56 +00:00
cjs
ecada6375b
bzero() wants pointers, not ints, for its first arg.
1997-06-20 07:06:43 +00:00
cgd
562fa9b97d
clean up NetBSD RCS ID strings
1997-04-06 08:39:37 +00:00
cgd
00c2c62911
use strerror() to print errors, rather than just printing error numbers
1997-01-25 01:06:30 +00:00
cgd
21ad990583
reorganize Alpha boot block sources: put common sources in a 'common'
...
directory (so they don't clutter up the arch/alpha/stand), and put
not-common sources in programs' directories.
1997-01-24 01:52:35 +00:00