simonb
1e80ec96a0
Only include the dec disklabel at the start of BOOTXX is defined.
1999-03-25 05:23:48 +00:00
simonb
fb11e9e236
Remove unused debugging code, and clean up an error message.
1999-03-25 05:22:44 +00:00
simonb
f490a639c9
Not needed at the moment - may be resurrected when netboot comes along.
1999-03-25 05:19:44 +00:00
simonb
a160a47e1b
Fix header botch in previous.
1999-03-25 05:17:49 +00:00
simonb
e213504efd
Call main instead of _main.
1999-03-25 05:17:27 +00:00
simonb
c80fb4ccb8
Change from loading an a.out kernel to an ELF /boot.
1999-03-25 05:16:06 +00:00
simonb
0e44e536a0
Include <machine/stdarg.h> and not <stdarg.h> - found by adding
...
-nostdinc to CPPFLAGS.
1999-03-25 05:13:15 +00:00
simonb
7607cac7b3
CVS repository copy to bootxx.c
1999-03-25 04:42:06 +00:00
simonb
70bc63765d
CVS repositary copied to ../scsiboot. These are small routines and/or
...
PROM callbacks used only by the first-stage disk bootblocks. Other
bootloaders use libsa/libkern.
1999-03-25 04:34:03 +00:00
simonb
ec6b2370d9
CVS repositary copied to ../lib.
1999-03-25 04:22:04 +00:00
simonb
e6469a71aa
Makefile* of pmax specific SA library - based on i386/stand/lib Makefile.
1999-03-25 04:16:15 +00:00
simonb
88eed19213
Oops, forgot RCS header and copyright.
1999-03-25 04:14:03 +00:00
simonb
50e9ee5706
Assembly routine that takes an entry point, new stack pointer address
...
and six extra arguments. Sets up the stack pointer with the arguments
in the right registers/stack positions and calls the entry point.
1999-03-25 04:08:59 +00:00
simonb
c7c8021a29
Basic putchar() implentation in terms of the PROM's printf() callback.
...
Not really effecient, but there isn't that much printf'ing down by SA
programs and we can use the libsa printf() so things like "%ld" work.
1999-03-25 04:02:57 +00:00
simonb
0f203c7d99
Use "make ... echo ${MACHINE}" to get the machine name so
...
that this script is MI. Just need to find the right place
for it now - suggestions welcome...
1999-03-25 03:56:00 +00:00
simonb
246f0aacde
Copy of sys/arch/sparc/common/newvers.sh.
1999-03-25 03:52:12 +00:00
simonb
c06d325aaa
Copy of sys/arch/i386/lib/loadfile.h with tweaks for the pmax.
1999-03-25 03:41:58 +00:00
simonb
6c24c1c864
When loading an a.out kernel and keeping the exec header, if it's OMAGIC
...
put the exec header below kernel text.
1999-03-25 03:38:53 +00:00
simonb
4ba6c44ef4
s/BOOTINFO_MAXSIZE/BOOTINFO_SIZE/
1999-03-25 03:35:39 +00:00
simonb
afc2e41e04
Change multiple spaces to tabs.
1999-03-25 03:34:28 +00:00
simonb
be62523806
Remove trailing whitespace.
1999-03-25 03:33:58 +00:00
simonb
674c1ff8f1
Check KN03_INTR_PROD_JUMPER in the IOASIC INTR register to test if we
...
are running on a 5000/2x0 or a 5900, and set cpu_model accordingly.
(Test from Tohru Nishimura).
1999-03-25 03:03:59 +00:00
simonb
3a2b42eeca
Add KN03_INTR_PROD_JUMPER (from Tohru Nishimura).
1999-03-25 03:00:18 +00:00
simonb
03ca5d05cf
Remove trailing whitespace.
1999-03-25 01:17:51 +00:00
simonb
50897b84e0
Direct copy of sys/arch/i386/stand/lib/loadfile.c.
...
XXX: This should probably be MI in sys/lib/libsa. After 1.4...
1999-03-24 23:51:26 +00:00
simonb
b4848d6b90
Code to initialise and add bootinfo records.
1999-03-24 23:47:37 +00:00
simonb
71bb7683db
Initiailise to bootinfo pointer to NULL. In lookup_bootinfo(), if the
...
bootinfo pointer is NULL, just return instead of trying to make use of it.
1999-03-24 12:59:15 +00:00
mrg
ca5f9685bb
clean up kernel/config files files for machVM lossage.
1999-03-24 06:06:09 +00:00
mrg
d2397ac5f7
completely remove Mach VM support. all that is left is the all the
...
header files as UVM still uses (most of) these.
1999-03-24 05:50:49 +00:00
simonb
0ba02670be
New bootblock directory structure.
1999-03-24 02:07:22 +00:00
simonb
0074502b0a
o Add bootinfo support by checking the fifth and sixth arguments for a
...
magic number and a pointer to the bootinfo data.
XXX: A bootinfo_magic record is not checked for at the moment, even
though test bootblocks initialise the bootinfo data with one.
o Use the bootinfo symtab information in preference to searching for a
valid a.out exec header after _end for initialising DDB.
XXX: Should retire a.out exec header support altogether. Loosing the
ability to load symbols from old bootblocks isn't much of a loss.
After 1.4?
o Add "booted kernel" machdep sysctl.
1999-03-24 01:49:10 +00:00
simonb
729eda4324
Define a bootinfo record and initial structures that the pmax will use.
...
Modeled on i386 and bebox bootinfo.h.
1999-03-23 22:53:02 +00:00
simonb
c9e3b47a0f
Don't build anything while bootblocks are being updated.
1999-03-23 22:23:11 +00:00
simonb
41febd3a3c
Move DB_{AOUT,ELF}_SYMBOLS (and DB_ELFSIZE) definition to port-specific
...
db_machdep.h file.
1999-03-23 22:07:06 +00:00
drochner
76fa1751fe
Add a macro to check for sufficient pointer alignment in bus.h context,
...
"BUS_SPACE_ALIGNED_POINTER()".
Equal to the param.h "ALIGNED_POINTER()" normally, but obeys additional
requirements of the bus_space_xxx_n() macros. (BUS_SPACE_DEBUG)
1999-03-23 21:29:03 +00:00
mrg
8fcaa99d1b
KNF nits.
1999-03-22 13:08:51 +00:00
ad
3ce634a350
Added support for cursor keys, function keys and friends. kbdMapChar now
...
returns 'char *' to do this. Codes returned for the various keys match
what 'rcons' termcap entry expects.
1999-03-22 03:25:29 +00:00
simonb
46c6663ce4
Don't prototype ioasicprint() - the prototype is now in
...
dev/tc/ioasicvar.h and we don't use it here anyway.
1999-03-18 06:37:35 +00:00
sommerfe
bc533621ed
defopt MINIROOTSIZE
1999-03-17 18:59:21 +00:00
nisimura
ed09809062
- Final cut of TC decoulping.
1999-03-16 05:59:01 +00:00
nisimura
bfdc9ed402
- Remove a verbose local variable.
1999-03-15 12:03:50 +00:00
nisimura
eed42e945e
- 'DECstation 5100' -> 'DECsysytem 5100'.
1999-03-15 11:45:16 +00:00
nisimura
5871c2b95d
- Fix config option name for 3MAX+.
1999-03-15 11:41:25 +00:00
jonathan
c72be5c489
Eliminate a divide by 40 from the microtime() path on 50Mhz decstatinos
...
by approximation using 41/2048. Gains one bit in NTP precision.
1999-03-15 09:47:36 +00:00
jonathan
5965639381
Do lk201 non-keyclick setup even when LK_KEY_CLICK not configured.
1999-03-15 09:40:56 +00:00
nisimura
6335e6c176
- Rearrangement for TC decoupling with some typo fixes.
1999-03-15 07:52:05 +00:00
nisimura
210ea7eabe
- Decouple "ibus" from TURBOchannel.
...
- Nuke mainbus_softc definition (it's empty).
1999-03-15 07:43:05 +00:00
nisimura
10b5625b87
- Nuke old leftover; round three. Remove never-used functions.
...
XXX Needs to eliminate TURBOchannel exposure here.
1999-03-15 01:54:56 +00:00
jonathan
ef79649fc1
MI ioasic softc and child-device structs, gc duplicate struct definitions.
...
Add MI ioasic functions, but dont enable on alpha until tested.
1999-03-15 01:25:26 +00:00
mrg
c1122adb50
delete netbsd.aout and netbsd.ecoff in "make clean"
1999-03-15 01:12:00 +00:00