thorpej
701652d81c
In cpu_coredump(), don't bother dumping an HP-UX style u-area. What it
...
produced was useful once, but isn't worth the clutter now.
1997-03-16 09:59:40 +00:00
thorpej
de5a4c2d10
Remove reference to Locore.c
1997-03-16 09:47:48 +00:00
thorpej
611fa5e05b
Old lint helper, not used anymore, and really quite amazingly out of
...
date; this is 4.3 vintage. Just nuke it.
1997-03-16 09:45:38 +00:00
thorpej
5a1149b25d
Nuke MDP_HPUXTRACE.
1997-03-16 09:40:01 +00:00
thorpej
c5b6d5ed07
Prototype hpux_setregs().
1997-03-16 09:14:25 +00:00
thorpej
c9e8e99421
Remove the COMPAT_HPUX stuff from setregs(); the HP-UX compatibility
...
code has its own implementation now.
1997-03-16 09:12:13 +00:00
thorpej
832cc66899
Implement hpux_setregs(). While I'm here, nuke the MDP_HPUXTRACE
...
code. In practice, no one traces NetBSD programs with HP-UX debuggers,
and the evil required to make it work should not be discussed in the
presence of small children.
1997-03-16 09:10:31 +00:00
thorpej
27c7e59344
Define the HP-UX sigcontext structure here, and prototype hpux_sendsig().
1997-03-16 03:45:33 +00:00
thorpej
5a14c36be7
Move all COMPAT_HPUX signal code into hpux_sendsig() and hpux_sys_sigreturn().
1997-03-16 03:43:39 +00:00
thorpej
f5c982a251
In cpu_coredump(), use `fputype' to decide if we dump FP regs.
1997-03-15 23:40:25 +00:00
thorpej
99cc2e1cec
Garbage-collect use of FPCOPROC.
1997-03-15 23:34:32 +00:00
thorpej
bbcda6f26b
- /dev/mem: only allow access to physical RAM
...
- /dev/kmem: disallow access to devices
This is designed to protect device registers from being corrupted
accidentally by "innocent" mem/kmem grovellers.
1997-03-15 23:30:12 +00:00
thorpej
6fa9be2e93
Use `fputype' at run-time rather than FPCOPROC at compile-time.
1997-03-15 23:25:49 +00:00
thorpej
4fd90cefdb
- Garbage-collect doadump(); it hasn't been used for some time.
...
- Supply an `fputype' global. Since all hp300's have an FPU, default
it to FPU_68881, setting it to FPU_68040 if we detect a 68040 CPU.
- Use `fputype' at run-time rathern than FPCOPROC at compile-time.
- Re-arrange locore slightly; move startup code to the beginning, right
after the vector table.
1997-03-15 23:23:55 +00:00
thorpej
2cea1ec9d7
- Make hpux_sys_getcontext() table-driven.
...
- Use `fputype' at run-time rather than FPCOPROC at compile-time.
1997-03-15 23:20:20 +00:00
pk
a372844a7a
Add fix_align() and emulinstr() prototypes.
1997-03-15 22:25:15 +00:00
perry
520b71bb34
From Matthias Drochner:
...
give global constants more meaningful names
1997-03-15 22:20:55 +00:00
perry
5347892165
From Matthias Drochner:
...
give global constants more meaningful names
eliminate code duplication
1997-03-15 22:20:02 +00:00
perry
aa5f5f8441
From Matthias Drochner:
...
use constants from etherdrv.h
1997-03-15 22:18:55 +00:00
perry
6a00e9acc8
From Matthias Drochner:
...
use constants from etherdrv.h
make selection table driven
1997-03-15 22:18:21 +00:00
perry
3824935377
From Matthias Drochner:
...
add constants for media selection
1997-03-15 22:17:35 +00:00
perry
e097564463
From Matthias Drochner:
...
add definition prototype for PCI ROMs
add optional definition for serial console support
1997-03-15 22:16:35 +00:00
perry
817522ff26
From Matthias Drochner:
...
fix prototypes
use CONSDEV_* constants for consistency
1997-03-15 22:15:49 +00:00
perry
86ab882a41
From Matthias Drochner:
...
support for ROMs ala PCI specification
1997-03-15 22:15:02 +00:00
perry
492449d27a
From Matthias Drochner:
...
calculate 16-bit checksum
support for ROMs ala PCI specification
1997-03-15 22:14:02 +00:00
pk
27b2f0ec7c
Fix a `new-ARP' pasto.
1997-03-15 22:13:55 +00:00
thorpej
1023932f47
User text segment begins at 8k, now, to match the other m68k ports.
1997-03-15 22:02:24 +00:00
thorpej
26644d1232
Change MID_MACHINE to MID_M68K; we now use the same executable format as
...
the rest of the m68k ports.
1997-03-15 22:01:02 +00:00
thorpej
0e368d2e40
Don't set __LDPGSZ to 4096; we use 8192 like the rest of m68k-land, now.
1997-03-15 21:59:20 +00:00
pk
cc87278540
Remove trailing comma in enum definition.
1997-03-15 20:54:10 +00:00
pk
ad1f2b7812
Remove call to mmu_pagein4m(), which is of little use.
1997-03-15 20:31:33 +00:00
briggs
4b6b2bb9f8
SONIC driver--originally from pica. Much work done by Dennis Gentry and
...
Takeshi Yanagisawa to get it working. Some minor hacking by me here and
there.
1997-03-15 20:26:35 +00:00
pk
f8918b9be9
Simplify `4m' versions of pmapbootstrap() and mmu_reservemon():
...
allocate and initialize all kernel page tables before looking at the
PROM maps, which allows mmu_reservemon4m() to simply walk the PROM tables
without having to allocate bits and pieces of our own kernel tables.
Slightly optimize getcontext() macros in mutli-arch kernels.
Remove un-needed `4m' version of mmu_pagein().
1997-03-15 20:24:09 +00:00
briggs
6f71d88157
Specify SONIC for 040 powerbooks and for CLASSQ and CLASSQ2 machines.
1997-03-15 20:17:40 +00:00
ragge
10bf322448
Make install docs more up-to-date.
1997-03-15 20:08:33 +00:00
briggs
6fc69ce7cb
Add SONIC driver. Works on my Q700. Untested elsewhere.
1997-03-15 20:07:37 +00:00
scottr
cc391b64de
Remove obsolete MAC68K_BROKEN_VIDEO option.
1997-03-15 18:35:47 +00:00
scottr
702735759b
Defer enabling NuBus slot interrupts until all slots have been probed
...
and drivers attached. This removes the need for the MAC68K_BROKEN_VIDEO
option. From Allen Briggs.
1997-03-15 18:33:44 +00:00
is
07b064e02e
New ARP system, supports IPv4 over any hardware link.
...
Some of the stuff (e.g., rarpd, bootpd, dhcpd etc., libsa) still will
only support Ethernet. Tcpdump itself should be ok, but libpcap needs
lot of work.
For the detailed change history, look at the commit log entries for
the is-newarp branch.
1997-03-15 18:09:08 +00:00
ragge
44936626ed
Make boot compile again.
1997-03-15 16:39:20 +00:00
ragge
abedbf253e
Clean up console autoconfiguration so that the VAXstation DZ11-like
...
console work.
1997-03-15 16:36:17 +00:00
ragge
668632a4df
Change the way boot device is figured out; now only using DEC numbers
...
and done when the device get attached.
1997-03-15 16:32:16 +00:00
ragge
2a79087848
Put in some #ifdef's to compile only for MV2000.
1997-03-15 16:14:23 +00:00
ragge
285002ead6
Cleanup. Prepare for getting memory size from boot (VMB).
1997-03-15 16:11:25 +00:00
ragge
0044b4ccf0
Add a forgotten #ifdef. Remove debug printout.
1997-03-15 16:07:17 +00:00
ragge
1d90a0a507
Add definitions for DEC HW device numbers.
1997-03-15 15:09:40 +00:00
ragge
b5b674f227
Do not use inline functions in boot blocks. Some CPUs doesn't have
...
all instructions.
1997-03-15 15:08:23 +00:00
ragge
8fa1cdb04b
Add routines for network handling and standalone le driver.
...
To make this work nice, big changes to the boot unit handling
was also required. From now only DEC HW unit numbering are used
in boot, to easy match boot device in kernel.
1997-03-15 13:04:22 +00:00
briggs
3d16e320d6
Move physaccess/physunaccess prototypes.
1997-03-15 05:39:45 +00:00
jeremy
54bec78722
Update the 'status' paragraph to reflect the current working programs.
1997-03-15 03:41:01 +00:00
cgd
4f210d58be
patch from Matt Jacob to enable secondary PCI bus support
1997-03-15 03:15:20 +00:00
mhitch
0918e34d85
After opening the disk device to force a disklabel read, it should really
...
be closed rather than opened again.
1997-03-15 02:59:43 +00:00
christos
4b697aa304
add emul.c
1997-03-15 02:36:00 +00:00
thorpej
92796a6d43
Add a mountroothook that prompts the operator to insert a file system
...
floppy, a'la the SPARC port.
1997-03-15 01:34:10 +00:00
christos
358f6940ee
- fix return value in case we failed to write to the destination register.
...
- pretty-print registers.
1997-03-15 00:39:51 +00:00
christos
2c62945461
- move instruction emulation and alignment fixing to emul.c
...
- add sparc-v8 {s,u}{mul,div}{cc,} instruction emulation
1997-03-14 23:57:58 +00:00
christos
d9d8878ed1
Asi instruction struct was missing the immediate bit!
1997-03-14 23:54:07 +00:00
mycroft
f868dff8d3
Define the `cleankernel' target consistently with other ports.
1997-03-14 23:27:29 +00:00
mycroft
cbbcf185ae
Put the genassym.sh output in a temp file, and mv -f it, in case
...
it fails spectacularly and doesn't clean up.
1997-03-14 23:23:45 +00:00
mycroft
44149b42c2
Put the genassym.sh output in a temp file, and mv -f it, in case
...
it fails spectacularly and doesn't clean up.
1997-03-14 23:21:36 +00:00
mycroft
d0c586a17f
Put the genassym.sh output in a temp file, and mv -f it, in case
...
it fails spectacularly and doesn't clean up. Also, remove dependencies for
genassym.o (since it no longer exists).
1997-03-14 23:16:08 +00:00
mycroft
f7ad6fff40
Put the genassym.sh output in a temp file, and mv -f it, in case
...
it fails spectacularly and doesn't clean up. Also, don't depend genassym.c
(since it no longer exists), and remove dependencies for genassym.o (since it
no longer exists).
1997-03-14 23:14:39 +00:00
gwr
40b1a6f68b
No longer need to define SUN_BOOTPARAMS
1997-03-14 21:28:38 +00:00
cjs
ca5f101ba7
Remove code that stops transfers of >63K. The Sun 4 doesn't have this
...
limitation, and minphys() is supposed to catch this on other architectures.
1997-03-14 19:57:20 +00:00
thorpej
76c1d7a5b5
We don't even need to clear the BSS here; it's been done by the boot
...
program for a Long Time, and doing it (correctly :-) here means that
we wipe out, among other things, boothowto. (oops!)
1997-03-14 19:50:06 +00:00
pk
8a5abffaf5
Add some instrumentation to keep track of PMEG allocation.
...
Enabled #if DIAGNOSTIC.
1997-03-14 14:28:45 +00:00
thorpej
a276c4ee15
- Some cosmetic changes to whitespace
...
- make the command parser table-driven
1997-03-14 06:56:27 +00:00
thorpej
6ed34bacd9
Purely cosmetic whitespace changes.
1997-03-14 06:55:07 +00:00
mycroft
e96f48563b
Add netboot.bin to CLEANFILES.
1997-03-14 05:07:27 +00:00
thorpej
63a75dcdcf
Make this work with obj* dirs.
1997-03-14 04:59:34 +00:00
mycroft
3a99046fbb
Update this to new config.
1997-03-14 04:21:13 +00:00
perry
627952867a
Ressurect (not quite, since this is in fact the new boot code Makefile
...
now).
1997-03-14 02:54:14 +00:00
perry
816bb96145
Initial import of new boot code, created by Matthias Drochner with a
...
little hacking by me. This isn't strictly identical to his 920312
release -- I've hacked it a bit -- but since we are taking over change
control it doesn't matter much.
1997-03-14 02:40:32 +00:00
perry
2eb5a59f71
Initial import of new boot code, created by Matthias Drochner with a
...
little hacking by me. This isn't strictly identical to his 920312
release -- I've hacked it a bit -- but since we are taking over change
control it doesn't matter much.
1997-03-14 02:40:29 +00:00
cgd
80bf6049dd
fix from Matt Jacob: configuration accesses need PCI Byte enables just
...
like sparse memory accesses do.
1997-03-13 23:59:36 +00:00
gwr
2f598d011a
Sync with sun3 (Trap 1,2,15 handlers)
1997-03-13 20:46:37 +00:00
gwr
0fefd47a64
Use arch/m68k/m68k/sig_machdep.c
1997-03-13 20:30:19 +00:00
gwr
5c553cfd2f
Factor out sendsig() and sys_sigreturn() from $arch/machdep.c
1997-03-13 19:14:35 +00:00
gwr
de65671490
Ported to the sun3x by Jeremy
1997-03-13 17:52:44 +00:00
gwr
ee531cb3c9
s/sun3x_/_/ in sun3x_(round|trunc)_(page|seg) macros
1997-03-13 17:40:33 +00:00
thorpej
711486fd1b
Fix a typo (oops).
1997-03-13 17:14:45 +00:00
gwr
24120736d8
Import the sun3 version of this on the "vendor branch".
1997-03-13 16:27:27 +00:00
gwr
f3952a7326
No longer need to override DEFS
1997-03-13 16:19:01 +00:00
gwr
032d13fc7d
s/sun3_/_/ in sun3_(round|trunc)_(page|seg) macros
1997-03-13 15:58:49 +00:00
leo
e4a48696a6
Add member to bitmap struct that gives the size of mappable memory.
1997-03-13 12:37:08 +00:00
matthias
d8319f5c75
remove leftover from switch to the mi kgdb interface.
1997-03-13 10:25:25 +00:00
matthias
c6d2740564
Integrate Phil Budne's latest changes to the scn driver. From his README:
...
* Uses Counter/Timer dynamicly for rate generation; You can
have both 19200 and 38400 on one duart, and 57600 on another!
* Improved scninfo program to dump driver internal information.
implemented counters for parity err, framing err, break
* Delays changes until transmitter idle to avoid "glitches"
* Cleaned up scn_softc member names
* Untested support for sc26c92 (I don't yet have any to test with);
+ Will use alternate rate tables (include 115.2kbps and 230.4kbps)
+ Will raise FIFO rx interrupt threshold and watchdog timer
at higher rates.
+ Unknown (to me) how fast pc532 MC145406 driver chips can go
NOTE: It seems like it may be a BAD idea to use a sc26c92 as
a console port for now; the PROM doesn't know to reset the
chip back to scn2692 mode!!
1997-03-13 10:24:14 +00:00
thorpej
8229701876
oops, don't need trap.h here anymore
1997-03-13 09:29:03 +00:00
thorpej
72ba35e689
Don't genassym the trap type values; just include <machine/trap.h>
1997-03-13 09:27:21 +00:00
thorpej
deeac396e7
Use genassym.sh to facilitate cross compiling.
1997-03-13 09:24:21 +00:00
thorpej
f6d3f6c93b
Use the script version to facilitate cross compiling.
1997-03-13 09:22:19 +00:00
mycroft
4913ba5369
V_SWTCH is no longer needed.
1997-03-13 04:37:20 +00:00
mycroft
2f18f33d16
Use genassym.cf, to support cross-compiling.
1997-03-13 04:22:05 +00:00
cgd
a15ede807a
add entries for isp, as isp* at pci? dev ? function ?, for Qlogic ISP 10x0
...
PCI SCSI controllers. Also, add the attached SCSI busses.
1997-03-13 04:15:24 +00:00
cgd
e36a5ca4de
change microcode array definitions from "unsigned short" to the more
...
correct u_int16_t, and remove bogus casts that the old definition
required.
1997-03-13 04:07:44 +00:00
mycroft
919efaeb60
Make the microcode table const.
1997-03-13 03:33:03 +00:00
mycroft
ac3b8b13b7
Don't share the silence block between devices. Make silence filling work for
...
more encodings, and make it device-independent. From Lennart Augustsson, in
PR kern/3305.
1997-03-13 02:19:32 +00:00
cgd
85068c2512
add ahc and bha at EISA
1997-03-13 01:15:52 +00:00
cgd
96153388c0
add in the 'isp' device, for Qlogic ISP 1020-based Sbus SCSI board support
1997-03-13 00:46:13 +00:00
cgd
13a313fd8d
add entries for ahc and bha PCI devices. clean up some
1997-03-13 00:43:37 +00:00