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
pk
5704efd375
Replace many setpte4m() calls with a simpler helper function because
...
the address of the desired PTE location is readily available in the
callers context (setpte4m() retraces the entire 3-level structure
to arrive at the PTE location).
Also, in many cases we can do away with the distinction between pmaps
that have or have not allocated a context. This is really only useful
in cases where we're interested in the REF or MOD bits which can differ
in the TLB version of a PTE. By doing this, we avoid getpte()'s which
in many cases instruct the MMU to start a table walk only to find out
that there's nothing there after going 2/3 of the way, or waste a TLB
entry because of TLB flushing soon after getpte() completes.
In addition, there's a hook to flush the cache line corresponding to
the (kernel virtual) location of a PTE entry when it gets altered.
1997-03-20 23:48:37 +00:00
pk
6cea599cbf
Add hook for flushing a single cache line.
1997-03-20 23:26:23 +00:00
pk
63c1c6ab1c
Remove a bunch of no-ops.
1997-03-20 21:44:21 +00:00
jeremy
4882df57ff
Change location of if_ether.h to net/ from netinet/.
1997-03-20 21:21:00 +00:00
pk
5718c246fd
Define various no-op functions.
1997-03-20 21:16:20 +00:00
pk
7cf0d72881
Add a `no-op' function that the compiler can not touch.
1997-03-20 21:10:31 +00:00
scottr
1c9987dab4
Several minor changes:
...
- Indent some comments appropriately per KNF.
- Output all diagnostics using the device name rather than a static string.
- Fix a (mostly marmless) bug in snintr(), where loss of heartbeat wasn't
properly ignored and could mask the `receive descriptors exhausted'
diagnostic.
1997-03-20 17:47:51 +00:00
mycroft
7a55cafeeb
Implement set_format.
1997-03-20 16:51:38 +00:00
gwr
a4b8e33b2b
This needs muli-include protection now.
1997-03-20 16:21:10 +00:00
is
6c55a345c6
Make this compile with NetBSD-1.2D (if_ether.h location changed).
1997-03-20 16:15:15 +00:00
is
5df51f68f4
Make this compile with 1.2D (if_ether.h location changed)
1997-03-20 16:14:22 +00:00
gwr
c3f299a527
Now using dev/ic/ncr53c9x.c
1997-03-20 16:01:36 +00:00
gwr
c921c9b954
This needs muli-include protection now.
1997-03-20 15:56:44 +00:00
matthias
0f3c811db6
* Remove the unused variable fsr in ieee_invop.
1997-03-20 12:04:08 +00:00
matthias
a366400675
* clock and rtc are real devices now.
1997-03-20 12:03:27 +00:00
matthias
5efc40089c
* Add new file arch/pc532/pc532/mainbus.c.
...
* Remove arch/pc532/pc532/icuinit.c.
* clock and rtc are real devices now.
* Change all uses of needs-count to needs-flag.
1997-03-20 12:03:24 +00:00
matthias
c44822f0e3
* Add "-Wall -Wstrict-prototypes -Wmissing-prototypes -Wno-format"
...
to CWARNFLAGS.
1997-03-20 12:03:23 +00:00
matthias
ed42b2c9d3
* Remove uk driver, add se driver.
1997-03-20 12:03:20 +00:00
matthias
b49a214439
* Don't reference NSCN.
...
* Use machine/conf.h not sys/conf.h to get the prototypes for the
scn cdev functions.
* Include <sys/kgdb.h> to get prototypes for kgdb_connect and kgdb_attach.
* Add missing prototypes for some functions.
* Make ddb work before the console was opend. Thank's to Ian Dall
for this change. His comment:
Also, ddb doesn't work if a break is set before the console
is opened. That is because DTR and RTS are not asserted. It
would probably work if the console is wired to ingnore DTR
or RTS. The change below is probably not very correct.
Proabably the state of DTR and RTS should be saved and DTR
and RTS asserted on the start of a polled serial input and
the saved values restored on exiting polled input
* Remove unused function scn_ei.
1997-03-20 12:03:03 +00:00
matthias
80502accfe
* Remove unused ncr_minphys prototype.
...
* Add prototype for ncr_ready.
* Add ncr_wait_not_req function from Ian Dall:
The ncr_wait_not_req business is to avoid a potential race.
When the pseudo DMA finishes, the target may not have
lowered REQ yet. If we just charge ahead, we eventually test
for phase when REQ is high. However, if REQ has not yet gone
low for the last byte transferred, this will be the wrong
phase. This is taken from the dp8490 application notes. The
last ACK is not deasserted until the dma is completed.
Deasserting the last ACK should be delayed until the last
REQ is deasserted. I am not sure if there are ever devices
this slow, but I believe the code is "more correct".
1997-03-20 12:03:01 +00:00
matthias
dd38be40dc
* Add prototypes for pmap_pte, pmap_testbit and pmap_changebit.
...
* Remove PTDpaddr. This is no longer in use.
1997-03-20 12:02:42 +00:00
matthias
5bb951d4d4
* Remove IEDGE and IPLOARITY. These constants are no longer in use.
1997-03-20 12:02:40 +00:00
matthias
1e27bb59c8
* Add prototypes for kdb_trap and db_dasm_ns32k.
1997-03-20 12:02:37 +00:00
matthias
8462078c2a
* Add prototypes for ieee_handle_exception, ram_size, restore_fpu_context
...
and save_fpu_context.
* Remove prototypes for cpu_reset (it is local to machdep.c) and
startrtclock (it does no longer exist).
1997-03-20 12:02:36 +00:00
matthias
98eb9b47ea
* New file. This contains the definitions used to fill the cdev and
...
bdev switches for devices unique to the pc532.
1997-03-20 12:02:34 +00:00
matthias
bcdbce6d4f
* Initialize the interrupt controller part of the ICU in intr_init.
...
* Move softnet and the establishing of the softclock and softnet
interrupts to machdep.c.
* Fix some printf format strings.
1997-03-20 12:02:00 +00:00
matthias
8a6b052853
* New file that contains the match/attach/print function for the mainbus
...
device.
* Some generic ICU initialization is now done in mbattach.
1997-03-20 12:01:23 +00:00
matthias
715cb6f3df
* Include sys/ptrace.h to get prototypes for process_read_regs and
...
process_read_fpregs.
* Remove extern definitions for proc_trampoline and pmap_pte. We
get prototypes for these from some headerfiles.
1997-03-20 12:01:03 +00:00
matthias
6a7e85766c
* Include sys/kgdb.h to get prototypes for kgdb_trap.
...
* Fix some printf format strings.
1997-03-20 12:00:59 +00:00
matthias
0f39516c71
* Remove unused local variable in sys_sysarch.
1997-03-20 12:00:58 +00:00
matthias
a9e83c741a
* Include sys/proc.h, sys/fcntl.h and machine/conf.h to get some missing
...
prototypes.
* Get rid of RTC_DEV. All rtc support now lives in clock.c.
1997-03-20 12:00:56 +00:00
matthias
2608cc4aff
* Remove stale rcsid string.
...
* Add missing prototypes.
* Move over softnet() from intr.c.
* Establish softnet and softclock interrupts in init532.
* Misc cleanup to get it compiled with the new CWARNFLAGS.
1997-03-20 12:00:54 +00:00
matthias
62d993de87
* Remove trailing newline.
1997-03-20 12:00:51 +00:00
matthias
5e6e424a62
* Initialize the interrupt controller part of the ICU in intr_init.
...
* Move softnet and the establishing of the softclock and softnet
interrupts to machdep.c.
* Fix some printf format strings.
1997-03-20 12:00:50 +00:00
matthias
5e1cac29c9
* Include sys/systm.h and netinet/in.h to get missing prototypes.
1997-03-20 12:00:47 +00:00
matthias
855084814b
* Include <sys/disk.h> to get prototypes for dk_establish.
...
* Fix definition of strat arg for {read,write}disklabel.
1997-03-20 12:00:46 +00:00
matthias
bd1c07266e
* add missing prototypes.
...
* Fix some printf format strings.
* Remove unused Debugger() definition.
1997-03-20 12:00:43 +00:00
matthias
79e491a855
* Add missing prototypes and casts.
...
* Fix a printf format string.
1997-03-20 12:00:42 +00:00
matthias
0b6fa5346b
* Add missing prototypes.
1997-03-20 12:00:40 +00:00
matthias
966187a7e0
* Add missing prototypes.
...
* Reconstruct a piece of text that got lost in the past.
* Make the output for undefined instructions more consistent.
1997-03-20 12:00:37 +00:00
matthias
4712de3be8
* Do not call all the *_decl macros. This is done by <sys/conf.h> and
...
<machine/conf.h>.
1997-03-20 12:00:34 +00:00
matthias
b677f20e5d
* Make the rtc and the clock real devices. Initialize the clock parts
...
of the ICU in clock_attach.
* Pull over (and reformat) rtc_rw from mem.c.
* Convert the rtc driver to use /sys/dev/clock_subr.c (partially by
stealing code from the sun3 port).
1997-03-20 12:00:33 +00:00
matthias
fa30cfc066
* Remove all the mainbus stuff. This is in mainbus.c now.
...
* The clock is no longer started by startrtclock. This is done by
clock_attach now.
1997-03-20 12:00:30 +00:00
thorpej
12c0a8c5c8
Correct keyboard map references in the default case. From
...
Klaus Klein <kleink@layla.inka.de>, PR #3361 .
1997-03-20 08:07:01 +00:00
mycroft
4cba0b41af
cpu_reset(): Improve the triple-fault code, and use it by default for now.
1997-03-19 22:39:25 +00:00
mycroft
da53c636bc
ether.h -> arp.h
...
NETHER -> NARP
1997-03-19 20:32:11 +00:00
sommerfe
62852f4d92
If we're "degraded", say just *how* degraded we are..
1997-03-19 18:18:02 +00:00
sommerfe
9fefd40478
In 16-bit mode, mov %ax,%bx is interpreted as mov %eax,%ebx; this
...
breaks zero-extension of the 16-bit memory size return from the BIOS.
on at least one system, the trash left in the upper half of %eax
causes the kernel to crash during VM system initialization when it
thinks it has on the order of 2**31 bytes of memory to play with.
We now *say* mov %eax,%ebx, but *mean* mov %ax,%bx..
1997-03-19 18:12:10 +00:00
gwr
b5afc4b28d
Change arg two of all the match functions back to struct cfdata
...
now that __BROKEN_INDIRECT_CONFIG has been removed.
1997-03-19 16:24:38 +00:00
scottr
1c0a3c8ce7
Several more changes to move us toward MI-ness:
...
- Use more consistent and portable types in the softc.
- Map registers using an array of bus_size_t offsets, and set up the
mapping in the attach code (thanks to Jason Thorpe for suggesting
this!).
- Disable the ae-specific watchdog, which is no longer necessary in
the general case.
Still remaining: split out functions used to copy data to/from the
card, and retain a way to have a local driver name with the MI code.
1997-03-19 08:04:38 +00:00
mycroft
ff6b9e27ce
Do not permit the user to set the nested task flag.
1997-03-19 03:52:02 +00:00
mycroft
139d254f6a
Handle user TSS faults.
1997-03-19 03:19:01 +00:00
mark
82de5bb16d
Add missing ifp variable in eaintr() following new ARP merge.
1997-03-19 02:45:06 +00:00
mark
e8e11b85c0
Fix missing bracket introduced in new ARP system merge.
1997-03-19 02:43:03 +00:00
gwr
4663c4fa2a
Sync with the sun3 version.
1997-03-18 23:49:07 +00:00
gwr
63176de160
Moved eeprom_uio to machdep.h
1997-03-18 23:39:20 +00:00
gwr
9f13c3afe5
Read the EEPROM once at attach time, then do user I/O on the copy.
...
Make /dev/eeprom support normal "read to EOF" behaviour.
Removed ee_console, ee_get_byte (dead code).
1997-03-18 23:31:59 +00:00
gwr
dee24f1082
Moved the _KERNEL declarations to machdep.h
1997-03-18 23:26:38 +00:00
gwr
1161fcc583
Add /dev/leds, and allow both that and /dev/eeprom to
...
return EOF when you read to the end of the device.
Garbage collect some dead code after the switch.
1997-03-18 23:21:04 +00:00
gwr
c960be72aa
Add /dev/leds (closes PR#2172 from der Mouse)
1997-03-18 22:21:50 +00:00
thorpej
98730721d9
Use std.mvme68k, which contains non-optional "options" (a'la other ports).
1997-03-18 21:41:49 +00:00
thorpej
03ecf5dce7
Use our own db_memrw.c
1997-03-18 21:39:01 +00:00
thorpej
7b668f11c8
Use the hp300 db_memrw.c, which works with read-only kernel text.
1997-03-18 21:34:52 +00:00
thorpej
dc401484c4
When mapping kernel text, always make it PG_RO.
1997-03-18 21:31:48 +00:00
thorpej
5bf83341cf
- Add a few prototypes.
...
- cpu_startup() - mark pre-text pages VM_PROT_NONE and kernel text pages
VM_PROT_READ|VM_PROT_EXECUTE in kernel_map, to avoid strange things like
COW'ing the kernel text (from hp300 port)
- Fix dumpsys() to conform to the new dump bdevsw calling convention.
1997-03-18 21:30:24 +00:00
thorpej
c50ed28c3c
Get rid of __BROKEN_INDIRECT_CONFIG.
1997-03-18 21:21:52 +00:00
thorpej
73a0fb50d2
Get rid of __BDEVSW_DUMP_OLD_TYPE and __BROKEN_INDIRECT_CONFIG.
1997-03-18 21:17:18 +00:00
veego
2cae836714
Remove NAE, put the revision into ae_softc and fixes from dev/ic/am7990.c:
...
>Signed shifts are evil.
>Thanks to Michael Smith for reporting, Jason Thorpe for pointing to the
>report, doing a quick workaround which pointed me to the right code part and
>for testing the final fix.
1997-03-18 18:44:53 +00:00
is
7cdbc9038e
If we #ifdef NARP, we should also #include "arp.h", not "ether.h".
...
Bug report and remote debugging by Bernd Ernesti.
1997-03-18 18:29:06 +00:00
mycroft
c14b8539e0
Make active_user_pmap() DTRT while a process is exiting.
1997-03-18 16:39:30 +00:00
mycroft
d19eaa3d4f
Add an active_user_pmap() macro, and use it as appropriate.
1997-03-18 14:13:55 +00:00
mycroft
1068c83731
Check for curproc being null before dereferencing it in more cases.
1997-03-18 13:01:07 +00:00
cgd
c944e200eb
fix up new-arp goofups
1997-03-18 07:27:58 +00:00
cgd
23c15240b8
pull in se.h
1997-03-18 05:19:39 +00:00
cgd
d608b0956d
add cdevsw entry for 'se'
1997-03-18 04:52:12 +00:00
thorpej
69d841a462
Add the "se" device at cdev major 22.
1997-03-18 01:41:40 +00:00
briggs
79c7b2b3f4
Help this compile and get the nubus address into myaddr instead of
...
sc->sc_arpcom.ac_enaddr.
1997-03-18 00:34:31 +00:00
gwr
5e75e3fa90
Support cross-compilation.
1997-03-17 22:16:03 +00:00
gwr
e54c5c5eac
Use m68k/sig_machdep.c
1997-03-17 22:11:07 +00:00
gwr
450cad120c
Add m68k/sig_machdep.c
1997-03-17 22:09:04 +00:00
gwr
03c1c9cee0
Fixup dependencies
1997-03-17 20:59:47 +00:00
scottr
52348e9646
Some cards we identify as InterLAN cards do not seem to have the MAC
...
address in the configuration ROM. For these, fall back to the old method
if we can't find the expected sResource record.
1997-03-17 20:26:01 +00:00
gwr
08f7a407f9
Separate bcopy and copypage stuff from copy.s
1997-03-17 19:46:36 +00:00
gwr
521683f862
Separate bcopy and the copypage/zeropage stuff out of copy.s
...
so they can be used separately, and so the copyrights are
attributed to the right owners. (Catch-all files are bad)
1997-03-17 19:44:33 +00:00
gwr
d531b1ed42
s/fpu_type/fputype/g
1997-03-17 19:03:11 +00:00
scottr
3c9709606d
Clean up some missed pieces of the new ARP conversion.
1997-03-17 18:37:17 +00:00
is
acad86274c
Make this compile again.
1997-03-17 18:04:40 +00:00
is
c63becaaa6
if_es.c
1997-03-17 17:55:54 +00:00
is
19e9d7bb20
Make this compile again on Amiga. Fix by Bernd Ernesti.
1997-03-17 17:51:41 +00:00
is
842df329b2
Make this compile on Amiga. Bug report by Bernd Ernesti.
1997-03-17 17:47:59 +00:00
leo
175e17b45f
Catchup with arp changes.
1997-03-17 13:29:05 +00:00
leo
2f50159652
Revert to new method of generating assym.h.
1997-03-17 13:23:14 +00:00
briggs
b315c448dc
Flip around Takeshi Yanagisawa's name. Add back a physaccess() call that I was a bit hasty
...
in removing.
1997-03-17 13:11:24 +00:00
briggs
559613a9a7
*Blush* It's Denton, not Dennis, Gentry.
1997-03-17 12:26:52 +00:00
briggs
e716e490a1
Make this compile again. XXX - save ethernet address in softc until multicast is supported.
1997-03-17 04:57:56 +00:00
briggs
c20d7dc997
Integrate a couple of changes suggested by Scott Reynolds and Takeshi Yanagisawa.
1997-03-17 04:38:28 +00:00
thorpej
9018eb5208
Use if_media to select media (or autoselect rules) on the Sun4m.
1997-03-17 03:24:26 +00:00
thorpej
1d987a161b
#include <net/if_media.h>
1997-03-17 03:17:34 +00:00
is
57f2f47e2c
move if_arc.h to sys/net
1997-03-16 23:27:07 +00:00
hpeyerl
52cbdd41c4
Lager is now config.new. ya ya, I've been busy.
1997-03-16 18:46:56 +00:00
is
530a88d144
On request from Allen Briggs, converted this to new ARP
...
system. Somebody should actually test if this compiles (and works) on
Mac68k... I only carefully checked cvs diff -u.
1997-03-16 13:41:14 +00:00
jonathan
ab9bbd64d6
Use genassym.sh script to make assym.h, for cross-compiling.
...
Remove dependencies on genassym.
1997-03-16 11:54:03 +00:00
thorpej
b6f3695cd1
Use <m68k/m68k/support.s>
1997-03-16 11:04:52 +00:00
thorpej
48556a75d2
Use <m68k/m68k/support.s>
1997-03-16 10:49:43 +00:00
thorpej
f88e127939
Some misc. m68k asm support routines. This file currently contains
...
setjmp/longjmp and _insque/_remque. More to come.
1997-03-16 10:47:33 +00:00
thorpej
e93bf2f15b
Garbage-collect hpux_dumpu().
1997-03-16 10:00:45 +00:00
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