scottr
54c4c9b37f
Catch up with COMPAT_HPUX changes, and make this compile with -Wall.
1997-04-01 19:59:59 +00:00
scottr
5be5fe416e
Relocate some prototypes needed for COMPAT_HPUX to hilvar.h
1997-04-01 19:29:09 +00:00
cgd
044c6288bf
slightly relax the block size checks; they were a bit to paranoid
1997-04-01 17:27:33 +00:00
cgd
776b6dcbca
hack to fake up disklabel
1997-04-01 17:23:04 +00:00
matthias
e034d53f13
* Add new sysctl "machdep.ieee_disable". This can be used to disable the
...
in kernel ieee trap handler. Then a usermode version of the code can be
used for debugging. Thank's to Ian Dall for this suggestion.
1997-04-01 16:37:43 +00:00
matthias
af88eb9d75
* Fixes from Ian Dall. Make the ieee handler compile with the new gcc warning
...
options, make it compile into a user mode library again and update the
README.
1997-04-01 16:35:08 +00:00
matthias
d0c4177d0c
* Add new sysctl "machdep.ieee_disable". This can be used to disable the
...
in kernel ieee trap handler. Then a usermode version of the code can be
used for debugging. Thank's to Ian Dall for this suggestion.
1997-04-01 16:33:04 +00:00
matthias
d89b0839dc
* Use movsdnu to copy pages.
...
* Just invalidate the tlbs for the affected mappings in pmap_zero_page
and pmap_copy_page.
1997-04-01 16:32:58 +00:00
matthias
43064ade71
* Apply optimizations suggested by gwr & mycroft.
1997-04-01 16:32:52 +00:00
matthias
6231519c48
* Initialize the icu with a table driven method again.
1997-04-01 16:32:47 +00:00
matthias
88128328a9
* Only cosmetic changes.
1997-04-01 16:32:31 +00:00
matthias
9e6c9efed8
* Initialize the icu with a table driven method again.
1997-04-01 16:32:25 +00:00
matthias
9046ff4c6f
* Initialize the icu with a table driven method again.
...
* Fix a bug in microtime that caused the generation of invalid timevals.
Thank's to Ian Dall for finding and fixing this.
1997-04-01 16:32:16 +00:00
matthias
821b15ab3b
* Add some missing casts to make this compile with -Werror when KGDB is
...
defined.
1997-04-01 16:31:53 +00:00
matthias
e2a1653bf0
* Only cosmetic changes.
1997-04-01 16:31:45 +00:00
matthias
b14adada8f
* Include <sys/systm.h> to get printf prototype.
1997-04-01 16:31:37 +00:00
matthias
8a56a74823
* Add versions of movs{d,w,b} that do not update the source and destination
...
pointers.
* Add tlbflush_entry to flush a single tlb entry.
1997-04-01 16:31:19 +00:00
matthias
b78841616b
* Add prototype for icu_init.
...
* Add new sysctl "machdep.ieee_disable". This can be used to disable the
in kernel ieee trap handler. Then a usermode version of the code can be
used for debugging. Thank's to Ian Dall for this suggestion.
1997-04-01 16:31:14 +00:00
matthias
b3d60fed7c
* Add -Werror again.
1997-04-01 16:30:48 +00:00
matthias
6228d0c501
* Add Cabletron EA412/EA419 driver.
1997-04-01 16:30:35 +00:00
briggs
ca0531b7f4
Add DrHW for RasterOps CB264--From Scott Reynolds--and link it in to the
...
proper interrupt routine.
1997-04-01 13:31:38 +00:00
briggs
71bf5ccd79
Remove tag.
1997-04-01 13:31:03 +00:00
mycroft
3018d16337
Enable wdc1 at IRQ 15.
1997-04-01 13:12:13 +00:00
leo
061e737731
Add wd-driver. The driver is basically the driver present in the arm32
...
port (Thanks Mark!) with a few atari specific things and the bad block
handling disabled.
1997-04-01 08:17:44 +00:00
briggs
a3d5b32614
- Support DAFB machines mo' better. Actually detect if a monitor is
...
present and initialize a few things. No color support, yet.
- Properly disable interrupts for DAFB.
- Rearrange for better nubus display card interrupt support. Only register
an interrupt if we know how to clear it.
- Complain if we don't know about a given display card and can not install
an interrupt handler.
- Change MYSTERY stuff to cb264--still need to get the DrSW so we can
actually call the routine to clear an interrupt from this card.
1997-04-01 05:41:59 +00:00
mycroft
3a5d048d44
#ifdef DEBUG a variable to prevent compiler warning.
1997-04-01 03:38:50 +00:00
scottr
698c8410a2
Add prototypes, and make this compile with -Wall. Remove register
...
modifier from all declarations.
1997-04-01 03:12:06 +00:00
scottr
66c9485803
Add prototypes, and make this compile with -Wall.
1997-04-01 03:10:57 +00:00
scottr
43b1b8c08a
Relocate some prototypes needed by other MD code.
1997-04-01 03:07:19 +00:00
scottr
4c6e335897
Add prototypes as appropriate.
1997-04-01 03:03:56 +00:00
jeremy
68755b199e
Physical page status functions pmap_clear_reference()
...
and pmap_clear_modify() weren't testing if the page whose status was being
changed was being managed. This caused kernel panics with X11.
1997-04-01 02:15:33 +00:00
pk
102497370d
Garbage-collect a few items.
1997-03-31 22:03:11 +00:00
pk
9c2ddb4a59
`*_get_fault_status' should not get profiled; use ALTENTRY for now.
1997-03-31 22:00:39 +00:00
gwr
5485e1ff75
Need a common <m68k/pcb.h> for gdb.
1997-03-31 21:39:51 +00:00
gwr
a09110f073
Use <m68k/pcb.h>
1997-03-31 21:35:39 +00:00
gwr
b43ee24829
Need a common <m68k/pcb.h> for gdb.
1997-03-31 21:32:26 +00:00
pk
cd9e3a7b59
Remove bogon from otherwise unused fdchwintr() function.
1997-03-31 20:27:32 +00:00
pk
b8cc0f044e
Deal differently with physical memory gaps resulting from alignment
...
restrictions.
1997-03-31 19:53:41 +00:00
mycroft
9bc200ea19
Fix formatting error in Sun 4 printf().
1997-03-31 17:21:00 +00:00
mycroft
ac89281245
Fix bogus preprocessor conditional that caused the trap page to
...
not be rounded up when it should be.
1997-03-31 16:42:52 +00:00
scottr
c008fc0aa0
Add prototypes, and make this compile with -Wall. Remove register
...
modifier from all declarations.
1997-03-31 07:32:14 +00:00
scottr
ea23ab53c3
Add missing argument to diagnostic printf()
1997-03-31 07:30:41 +00:00
scottr
52cb2d2955
Add prototypes, and make this compile with -Wall. Remove register
...
modifier from all declarations.
Also, handle sc_flags better so that we don't lose track of the
DCM_ISCONSOLE bit.
1997-03-31 07:29:49 +00:00
jeremy
b572daa4dc
In-tree GNU ``as'' does not know of 'pmove <reg>,tt0' instruction. Changed
...
instances of this instruction to hardcoded opcode statements. Thanks to
jthorpe for pointing this out.
1997-03-31 02:22:25 +00:00
thorpej
80631ee3b7
Keep the compile/ directory in the distribution.
1997-03-31 01:23:37 +00:00
thorpej
3878faec9c
Fix a bogus argument to dmafree(), from Scott Reynolds.
1997-03-31 01:05:19 +00:00
thorpej
6a3ca35ec3
Build these kernels with full debugging symbols.
1997-03-31 00:03:10 +00:00
leo
67c47d4b56
Remove a hardcoded interrupt handler. Now uses intr_establish() for the
...
SCSI-drq handler on the Hades.
1997-03-30 21:08:19 +00:00
leo
103e8967c4
Add a space to the attach message.
1997-03-30 21:04:13 +00:00
briggs
2606fe6cbd
Some new SONIC code from Denny Gentry <denny1@home.com> with a couple of
...
tweaks and bug fixes by yours truly.
Here's what Denny had to say:
nubus.h:
- add a drsw entry for my card
[ I also added a couple of constants for more display cards ]
if_sn.c:
- allocate sc->space using malloc (Scott wanted this).
- make csr accesses use NIC_PUT/GET, remove sc->sc_csr.
- add multicast and IFF_PROMISC support. multicast isn't
well tested, but I made sure the unicast case still
works.
- finish the new arp interface, remove sc->sc_enaddr
if_snreg.h:
- remove struct sonic_reg
if_snvar.h:
- add NIC_PUT and NIC_GET macros a la if_ae
- remove sc_txhead, it isn't used.
if_sn_nubus.c:
- clean up support for my SE/30 card.
- Move add_nubus_intr from if_sn.c (to keep if_sn.c MI)
if_sn_obio.c:
- make Q610, C610, Q650, C650, Q800 use EXBUS.
- PB500 had a "return" where "break" was intended. PB500
probably wasn't working.
- move add_nubus_intr from if_sn.c.
- add an "explanation" why Apple's ethernet addr is encoded
in token ring format in the PROM.
1997-03-30 19:51:44 +00:00
christos
dd3f97976c
Comment out DIAGNOSTIC panic in trap code translation. The DIAGNOSTIC is
...
correct, but unfortunately in trap.c trapsignal(p, SIGSEGV, code) passes
the address of the fault in code, instead of the trap code. So we punt for
now doing checking for trap code validity until this gets fixed.
1997-03-30 17:18:19 +00:00
is
1309901ce0
The DraCo has had a com driver for quite a while.
1997-03-30 11:06:40 +00:00
is
2672ddd9d5
ifdef NARP -> if NARP > 0
1997-03-30 10:38:51 +00:00
christos
68b10e62c4
PR/3407: Koji Imada: Modern BIOS's can boot from higher than second hard disk
1997-03-29 21:40:19 +00:00
briggs
e15f7fac43
Fix bug that would have prevented PB5xx series from detecting the SONIC.
...
Bug noticed by Denny Gentry.
1997-03-29 02:34:40 +00:00
christos
519527d9cf
PR/3401 incorrect MANDIR after rule changes
1997-03-28 20:22:55 +00:00
veego
7e75a99bfc
s/ae/le/ for the recent Ariadne changes.
1997-03-27 23:50:39 +00:00
veego
8116aa0fed
Remove the ae entries for the Ariadne, it's now supported bye the le driver
1997-03-27 21:21:11 +00:00
veego
fd019e12b5
if_le supports now the Ariadne card.
1997-03-27 21:15:11 +00:00
thorpej
2268a2c7eb
Don't allocate mclrefcnt[]; it's dead and gone.
1997-03-27 21:01:52 +00:00
thorpej
161f6c6f6b
Don't allocate mclrefcnt[]; it's dead and gone.
1997-03-27 21:01:49 +00:00
thorpej
7a6a8eb391
Don't allocate mclrefcnt[]; it's dead and gone.
1997-03-27 21:01:48 +00:00
thorpej
cb24b0200a
Don't allocate mclrefcnt[]; it's dead and gone.
1997-03-27 21:01:20 +00:00
pk
6fee4ceb1f
viking_cache_enable: clear caches only if not yet on.
...
viking_pcache_flush: don't use flash-clear; use hard-coded parms instead(XXX)
1997-03-27 16:02:10 +00:00
mycroft
b9a022ebe6
Add EXEC_ELF32.
1997-03-27 06:18:31 +00:00
cgd
bf22891897
update for current system configuration
1997-03-27 06:04:39 +00:00
gwr
5b48e061ce
cleanup
1997-03-27 00:15:31 +00:00
gwr
c29412f1bb
fix a warning
1997-03-26 23:27:12 +00:00
gwr
37b247edde
Renames: /dumpconf/cpu_dumpconf/, /boot/cpu_reboot/
1997-03-26 22:42:13 +00:00
gwr
71e43d14ab
Move findroot/setroot stuff from configure() to cpu_rootconf().
1997-03-26 22:38:40 +00:00
gwr
7b23790667
Add cdev_lpt_init(NPP,pp) for the 3/80
1997-03-26 17:29:10 +00:00
gwr
c304845074
Arrange to make pp.h needed by conf.c
...
(printer port driver is on the way).
1997-03-26 17:26:48 +00:00
leo
27228d890b
Apply optimizations suggested by gwr & mycroft.
1997-03-26 15:50:39 +00:00
leo
c28576c255
Close disk after opening it to read the disklabel. The previous code did 2
...
opens...
1997-03-26 15:49:31 +00:00
leo
16bc86449a
Use m68k/sig_machdep.c
1997-03-26 15:46:12 +00:00
leo
1bca40723b
Add missing 'break'.
1997-03-26 15:44:03 +00:00
perry
51157fe131
Comment out the wt driver -- its rather dangerous to ed users, as it
...
turns out. Also, add a comment explaining this.
1997-03-26 01:16:23 +00:00
pk
b468feeebf
In pmap_remove(), check for an empty segment before calling one of the
...
helper functions. This cuts down the number of needless function calls
by approx. 80%, which has a healthy effect on the responsiveness of
a machine under heavy process creation/teardown loads.
The VM system seems to be fond of asking to delete page mappings
which aren't there..
1997-03-25 23:04:02 +00:00
cgd
6f1ffd0192
kill cfb and sfb in the standard configs
1997-03-25 20:35:03 +00:00
jonathan
3f9bb9b9e8
Add <if_media.h>, am7990var.h requires it.
1997-03-25 19:06:02 +00:00
mark
b28684079f
Fix broken vidcaudio_set_format() prototype.
1997-03-25 05:09:01 +00:00
gwr
90a79f75fe
Change continue to break in a few places (as suggested by mycroft).
1997-03-24 23:49:39 +00:00
cgd
b1e061e899
Optimize the case of writing to /dev/zero, and clean up the
...
surrounding code a bit. Partly suggested by gwr, them implemented
by mycroft in the i386 port, then cleaned up a bit to fit here.
1997-03-24 23:01:40 +00:00
pk
eb3b79e0f2
Move `#endif /* SUN4M */' downward.
1997-03-24 22:56:37 +00:00
mycroft
46f55019b7
Optimize the case of writing to /dev/zero, and clean up the
...
surrounding code a bit. Partly suggested by gwr.
1997-03-24 21:16:59 +00:00
pk
4a77b646a2
Add `c_associativity' field.
1997-03-24 19:56:58 +00:00
mycroft
86f68e3d77
Build fdboot.
1997-03-24 19:53:34 +00:00
mycroft
25d692da5e
Fix calculation of fmem and fmemsz for old ROMs.
1997-03-24 19:51:28 +00:00
mycroft
1b9557e827
Make the segment rounding code consistent. (No functional change.)
...
If DEBUG_MEMORY_LIST, wait for a keypress before starting the kernel; never
time out.
1997-03-24 18:56:26 +00:00
mycroft
86818ac5a8
Kluge to allow building on a M68K4K system.
1997-03-24 18:52:46 +00:00
scottr
9614615f6f
Add se driver
1997-03-24 18:28:40 +00:00
scottr
5fd56d4f40
Add se, and make some comsmetic changes for easier maintenance.
1997-03-24 18:20:10 +00:00
gwr
7c0bd080c9
No longer force boothowto=RB_SINGLE|RB_KDB
...
(Yes, it goes multi-user just fine! 8^)
1997-03-24 17:57:12 +00:00
gwr
8ac50ae86b
Sync with sun3 (no longer need -DSUN_BOOTPARAMS)
1997-03-24 17:55:40 +00:00
gwr
8bec95da2c
Use ${INSTALL} ...
1997-03-24 17:48:19 +00:00
gwr
199246e95f
No longer need SYMTAB_SPACE now that sun3x/stand/* works.
...
(Thanks, Jeremy!)
1997-03-24 17:39:04 +00:00
gwr
b72b9f00ea
Use "if_ether.h" (from sys/lib/libsa).
1997-03-24 17:32:21 +00:00
mycroft
136c4013aa
Expand the comment on the previous.
1997-03-24 01:36:43 +00:00
mycroft
bfcfadcf86
Reenable the keyboard controller reset hack.
1997-03-24 01:32:38 +00:00
cgd
1b15d36cf1
eb64+ needs shared_intr.c
1997-03-24 00:00:33 +00:00
pk
f62b65006f
Clamp burst sizes to maximum value of parent.
...
Reset ledma from leattach().
1997-03-23 22:54:26 +00:00
is
f63af0fda7
Now that ARP on ARCnet works, set it as default.
1997-03-23 15:59:41 +00:00
cgd
d9eb899be8
add the PPP_FILTER option
1997-03-23 00:48:37 +00:00
ragge
720d1ef3f7
Update address struct to recognize KA420 motherboard.
1997-03-22 23:05:31 +00:00
ragge
65469bc546
CPU support for MV3100. (KA41)
1997-03-22 23:02:07 +00:00
pk
a13464f5c9
Garbage collect.
1997-03-22 22:13:17 +00:00
pk
f839bb9816
Add a `[ide]c_ncachelines' field to cacheinfo structure; initialize
...
and use it where appropriate.
Add `swift' and `turbosparc' cache enable function.
1997-03-22 22:03:25 +00:00
pk
8d0c0fd49b
For each major "module", define a separate set of MMU control register bits.
1997-03-22 19:15:53 +00:00
mycroft
7d3520e146
Redo the way exceptions are set up, and add a handler for
...
exception 15, which the P6 local APIC may erroneously send us.
1997-03-22 16:56:00 +00:00
ragge
ab80098c50
Clean up DZ console routines. Use memory size from boot (if provided).
1997-03-22 12:50:56 +00:00
ragge
608bad4ba2
Bugfixes to lance routines. Get memory size from rpb to pass to kernel.
...
Support some more CPU types in boot.
1997-03-22 12:47:27 +00:00
thorpej
edad9d2e05
Purely cosmetic whitespace/indentation changes (mmm, indent(1))
1997-03-22 09:13:48 +00:00
thorpej
e321bba79a
Purely cosmetic whitespace/indentation changes (mmm, indent(1))
1997-03-22 09:03:29 +00:00
thorpej
83edf0b6cd
- oops, fix a missing space in a printf
...
- allow whitespace before a command, and if there is only whitespace,
don't print the help message (seeing a help message after just
tapping return can be a shade annoying).
1997-03-22 09:00:41 +00:00
matthias
bf4354241e
* Use machine/conf.h instead of sys/conf.h to get the
...
lpt{open,close,write,ioctl} prototypes.
* Remove the cdev_decl(lpt). We get it from machine/conf.h.
* Add and use LPTSOFTC.
* Use level triggered interrupts (seems to work with less spurious interrupts).
* Do not use NLPT. Use lpt_cd.cd_ndevs to get the number of lpt devices.
* ether_ifattach now needs the ethernet address of the device. Supply a
dummy address.
1997-03-22 08:29:52 +00:00
matthias
80f02e3d99
DEV_RTC is gone.
1997-03-22 08:29:48 +00:00
matthias
b75d400dd2
DEV_RTC is gone.
...
Remove uk driver, add se driver.
1997-03-22 08:29:45 +00:00
matthias
e436eab8ea
DEV_RTC is gone.
1997-03-22 08:29:41 +00:00
matthias
62e4baf13e
Add softnet prototype.
1997-03-22 08:29:19 +00:00
matthias
86855546de
Do intr_init and intr_establish for softclock and softnet in mbattach.
1997-03-22 08:29:01 +00:00
matthias
c532db2665
* Include if_inarp.h and not if_ether.h.
...
* Include arp.h instead of ether.h.
* Remove softnet prototype. It is in cpu.h now.
* Remove calls to intr_init and intr_establish for softclock and softnet.
This is done in the mainbus attach routine now.
* Remove impintr. This seems to be dead.
* Add natmintr :-)
1997-03-22 08:28:59 +00:00
matthias
282907668f
Don't hardcode the name of the clock device. Use dv_xname.
1997-03-22 08:28:56 +00:00
thorpej
ecfdbcaa40
Mimmick the old boot block's hdN -> Xd0 (where X is specified by the
...
disklabel type) unit conversion behavior.
1997-03-22 04:15:51 +00:00
thorpej
f07be03679
Purely cosmetic whitespace and indentation changes (mmm, indent(1))
1997-03-22 01:48:27 +00:00
thorpej
5e82fddd43
Purely cosmetic whitespace/indentation changes (mmm, indent(1))
1997-03-22 01:41:34 +00:00
thorpej
ddf4bc9113
Don't abort if we don't find an MBR or NetBSD MBR partition; simply assume
...
that the NetBSD portion of the disk begins at sector 0.
1997-03-22 01:33:10 +00:00
mycroft
e44dc60fc6
Fix editing error in new config changes.
1997-03-22 00:17:59 +00:00
thorpej
5bd8a86d23
Link installboot statically so that it can be used on install floppies
...
and in emergency situations.
1997-03-22 00:16:56 +00:00
gwr
c874276d35
First cut at crashdump support.
1997-03-21 22:46:05 +00:00
thorpej
0e541517e5
Nuke unneeded "machine ..." line, pointed out by John Birrell.
1997-03-21 22:40:33 +00:00
scottr
f3f27175b6
Clean up after arp conversion; from Erik Bertelsen, closes PR 3372.
1997-03-21 21:42:39 +00:00
gwr
00ae7b5b2a
Oh well... use our own version of this.
1997-03-21 18:57:54 +00:00
pk
e38b52a46b
Thinko.
1997-03-21 16:29:34 +00:00
pk
1bc742e6dd
cypress_cache_enable: clear bits explicitly before setting.
1997-03-21 15:35:51 +00:00
pk
d584dba41d
Use `setpgt4m()' in some more places.
1997-03-21 15:19:29 +00:00
pk
3a7c1b8d57
viking: flush cache before enabling MMU.
1997-03-21 14:30:19 +00:00
veego
d34943dc4f
Add a missing test for the PicassoIV, which fix the colour problem.
1997-03-21 09:40:58 +00:00
pk
e221d20b5b
Compute a cache attribute correctlier.
1997-03-21 08:39:40 +00:00
matthias
92f94ebec2
That shouldn't get deleted. I wanted to delete icuinit.c, not intr.c.
1997-03-21 08:34:57 +00:00
matthias
4c63b60bae
intr.c
1997-03-21 08:31:59 +00:00
jeremy
4d949455d4
Fixed address for bwtwo framebuffer.
1997-03-21 07:28:36 +00:00
mycroft
1963665c7e
Add IPL_AUDIO.
1997-03-21 04:34:18 +00:00
pk
cb8601ae21
In viking_pcache_flush(), use a "flash flush" during boot-strapping.
1997-03-21 01:49:03 +00:00
pk
28350d7d18
Set pcache_flush_line function pointer for correct cache configuration.
1997-03-21 01:47:15 +00:00
pk
31f3ff5346
Store cache associativities in the `cacheinfo' structure, and use it
...
in computing the cache "alias distance" and in the viking cache line
flush function.
1997-03-21 01:32:15 +00:00
cgd
a823d31f7e
fix check for bus number when root dev is behind PPB
1997-03-21 01:26:08 +00:00
cgd
26c8aefcc3
clean up CPU specs a bit. Add entries for the jensen and eb64+ (commented
...
out since they're not currently supported, but the options are 'known').
Add 'se' Cabletron SCSI Ethernet driver.
1997-03-21 01:12:40 +00:00
cgd
f0833f24f4
clean up CPU specs a bit. Add entries for the jensen and eb64+ (commented
...
out since they're not currently supported, but the options are 'known').
1997-03-21 01:12:21 +00:00
cgd
2d3755c5ba
files file entry for eb64+
1997-03-21 01:09:02 +00:00
pk
d79f5b1733
Add declaration.
1997-03-20 23:57:30 +00:00