mikel
37d9430628
add ID for (brain-damaged) GUS PnP, and add comments describing what
...
hardware each ID describes.
1997-11-20 06:23:52 +00:00
pk
cbf2f164ad
The pgtalloc() stuff is still not doing the right thing on non-MXCC
...
vikings... i don't know why. Install a work-around in setpgt4m(),
that is still lying about here.
1997-11-19 23:19:13 +00:00
pk
b9746b3d00
splpmap() is again equivalent to splimp().
1997-11-19 23:05:49 +00:00
pk
62f73256ff
Use intr_establish() to install the timer interrupt handlers.
1997-11-19 23:03:47 +00:00
pk
de106f6489
1. Implement a trick from Chris Torek: if an unhandled interrupt occurs
...
during auto-configuration (`cold'), raise interrupt level to splhigh
and return, instead of reporting a stray interrupt.
2. In cpu_switch(), start running a newly selected proces at splclock()
instead of the saved IPL, allowing high-priority interrupts in
ctx_alloc() which can take many cycles to install a new context
(especially on the two-level sun4c MMU).
1997-11-19 22:59:05 +00:00
gwr
f0047e072f
Better definition of PA_IS_DEV, and use it two more places.
1997-11-19 19:28:10 +00:00
mjacob
261191603a
copyright foo
1997-11-19 15:35:36 +00:00
briggs
1adbb93466
* Disable parity checking on all devices until we find a better way to
...
deal with cheap CD-ROMs and other devices that do not appear to have
any way to enable parity generation. In the future, it might be nice
to have this configurable on a per-device basis with back-to-back
parity errors automatically disabling parity for the device. That
would require some MI changes.
* Handle unaligned and odd-length transfers.
This could probably be handled better in the future.
1997-11-19 13:01:32 +00:00
mycroft
0afda495f5
Do the Pentium bug fix differently. Put the IDT in a read-only page and check
...
for a write fault on the illegal instruction descriptor. Don't ask why this
works unless you have a strong stomach.
1997-11-19 11:11:22 +00:00
scottr
2311eecbad
Fix emulation, mostly from Dave Huang in PR 4482 (one tweak by me for CUU/CUD, and
...
one from him to correct a fencepost error in {reset,clear}_tabs()).
1997-11-19 07:00:03 +00:00
gwr
5ea276f19a
Correct handling of "physical address" values given to us by the
...
VM code, which may have low bits specifying device space!
1997-11-19 00:19:10 +00:00
mhitch
44c123573b
Define PC_ADVANCE() to advance the PC around the break instruction only
...
if the break instruction is still there. This works around a problem with
the software single step in DDB not recognizing the temporary breakpoint
set to emulate the single step.
1997-11-18 21:13:17 +00:00
mhitch
f027428995
Cursor is supposed to be turned on when unblanking the screen.
1997-11-18 20:16:28 +00:00
hannken
50be28153c
Change order of include files. See PR #4532 .
1997-11-18 12:40:31 +00:00
augustss
ee5628ee52
Add another PnP id.
1997-11-18 11:31:07 +00:00
sakamoto
760b87dd7c
Debugger() is called outside #ifdef DDB - fix.
...
remove simple monitor.
1997-11-18 03:09:09 +00:00
phil
7cf15a500f
Boot loader changed addresses due to a size increase and a similar change
...
size in the boot floppy.
1997-11-18 01:19:21 +00:00
jonathan
1c7a3c901e
Apply version of cursor for bt431 cursor chip on mfb:
...
Fix cursor sprite for X11 startup/exit:
* add cursor on/off functions.
* Default cursor state is off (for framebuffer console).
* Turn off cursor in each driver's xxxCursorInit() entrypoint.
* Turn on cursor at the end of each driver's xxxLoadCursor() entrypoint.
works with X11R5 servers shipped with NetBSD 1.3.
1997-11-17 11:44:50 +00:00
thorpej
f56e6f631f
Add an i/o address for iy0 (from GENERIC)
1997-11-17 03:42:52 +00:00
thorpej
9246032610
Put lc0 at i/o 0x320.
1997-11-17 03:39:42 +00:00
lukem
e8cb388f65
* add commented out DDB_HISTORY_SIZE=100 if DDB exists in config file
...
* fix up use of 'options<SPACE><TAB>'
1997-11-17 01:58:31 +00:00
lukem
6c986561ee
* add commented out DDB_HISTORY_SIZE=100 if DDB exists in config file
...
* fix up use of 'options<SPACE><TAB>'
1997-11-17 01:57:23 +00:00
ross
711247adf8
Eliminate %: use from alpha/trap.c; the policy is to get rid of these
...
anyway. I _still_ have my doubts about the kprintf %: code, though.
1997-11-17 00:52:49 +00:00
ross
9dcfc52387
Put in Jason's recommended fix for the null-curproc-in-pmap.old.c problem.
1997-11-17 00:11:22 +00:00
christos
af27f4e9b5
PR/4506: Andreas Gustafsson: Finnish keyboard mapping for pccons.
1997-11-16 22:05:48 +00:00
mycroft
0963ca7386
Minor change.
1997-11-16 12:31:00 +00:00
mycroft
d7107be1c9
Fix a condition where we might keep interrupts blocked while servicing a soft
...
interrupt.
Fixes serial port silo overflow problems.
1997-11-16 12:30:00 +00:00
jonathan
45ad7fb3e5
Fix cursor sprite for X11 startup/exit:
...
* add cursor on/off functions.
* Default cursor state is off (for framebuffer console).
* Turn off cursor in each driver's xxxCursorInit() entrypoint.
* Turn on cursor at the end of each driver's xxxLoadCursor() entrypoint.
works with X11R5 servers shipped with NetBSD 1.3.
1997-11-16 10:17:53 +00:00
carrel
2030b7b104
Turn off reseting and disabling the device by default.
...
Document the option to turn them back on.
1997-11-15 20:18:50 +00:00
pk
639260ce32
Use DESTDIR consistently when constructing `boot.net'.
1997-11-15 14:29:36 +00:00
mycroft
93b31159bf
When fixing up traps 1, 3 and 4, turn off the RF flag.
1997-11-15 04:47:30 +00:00
mycroft
6250567ba0
Make INTO actually work right.
1997-11-14 12:30:06 +00:00
jonathan
0c7ac6dc71
Initialize 3100 cursor to off, for rcons text mode.
...
(Minimal-distance fix for 1.3 release).
1997-11-14 02:01:22 +00:00
jonathan
a5449ca17c
Back out read-side DELAY() in previous revision added on advice of
...
tech-kern. Reported by Sean Davidson to cause erroneous doubling of
keyboard input on a 5000/50 under load.
Increasing the DELAY() from 2 to 30 doesn't help. Remove it for the
1.3 release. May cause problems with low-speed serial input, but
console keyboards work properly.
1997-11-14 01:38:57 +00:00
is
ad4c422ef9
Oops. Somehow the code to actually config_find the BBC on A1200s wasn't
...
committed.
1997-11-13 23:03:10 +00:00
phil
2516dd1548
int -> long in a structure.
1997-11-13 20:57:31 +00:00
mjacob
940f8fcfd1
remove unneeded and conflicting prototype
1997-11-13 18:06:01 +00:00
veego
86086729e7
if NARP -> if NARP > 0
1997-11-13 10:48:19 +00:00
veego
8b485c5962
Add a missing #if NARP > 0 around arpintr(); and add a #include "arp.h"
...
for NARP. This is for the 'new' arp system.
1997-11-13 10:43:06 +00:00
veego
df6d37534b
s/NETHER/NARP/ and s/ether.h/arp.h/ for the 'new' arp system.
1997-11-13 10:37:40 +00:00
mycroft
b1c7e79679
Map NMI in user-level code to SIGBUS.
1997-11-13 10:13:46 +00:00
mycroft
f946a9746d
Oops; previous logic was wrong.
1997-11-13 07:21:23 +00:00
mycroft
da60005b96
Only do the Pentium trap fixup when we get a kernel mode page fault.
1997-11-13 05:31:04 +00:00
mhitch
7984f5ce3a
The scsi command length was not being set in rz_command(), which caused
...
the SII driver to fail when trying to get the drive geometry.
Remove extraneous newline when printing out the disk geometry during device
probes.
1997-11-13 03:56:49 +00:00
mycroft
4f8b60c6bb
Implement the BSDI kluge for the Pentium `hang'; leave the first 7 IDT
...
descriptors in an unmapped page, and patch up the trap information inside
the page fault handler if the faulting VA is inside the IDT.
1997-11-13 03:25:27 +00:00
mycroft
6a310175c6
Some general cleanup:
...
* Call gdt_init() earlier on.
* Don't bother to check for TSS and LDT descriptors in verr_gdt().
* Nuke the sti special case for trace and breakpoint traps.
* Move some variable declarations into more appropriate locations.
1997-11-13 03:16:42 +00:00
thorpej
ce4c770f88
Make sure CPP, AR, AS, and RANLIB are defined.
1997-11-12 23:11:50 +00:00
thorpej
a421995756
Define LORDER, NM, and TSORT here, like we do the rest of the tools.
1997-11-12 22:25:31 +00:00
pk
ff4f5f4528
If necessary, defer console output until TX interrupt handler runs.
1997-11-12 22:18:54 +00:00
pk
a309481f34
Change load address to avoid cache-aliasing on machines with Harvard-style
...
cache implementations (notably the Hypersparcs).
1997-11-12 00:37:07 +00:00
drochner
b80ad6c934
-point to console(4) manpage for serial console parameters
...
(suggested by Chuck Cranor)
-insert a reasonable IO base address for "iy at isa"
(from Ignatios Souvatzis)
1997-11-11 20:31:38 +00:00
scottr
d28cbedf2f
Fix typo in last change that causes lossage depending on
...
whether the MRG_ADB option is used or not.
1997-11-11 17:31:11 +00:00
mhitch
c390c7a5e1
The address used by mips1_FlushICache() is a virtual address, not a physical
...
address. This caused DDB to hang the machine hard when trying to set a
breakpoint.
1997-11-11 16:50:57 +00:00
thorpej
6fcc8cd8b1
Add locators for "eg0" device, and enable it.
1997-11-11 05:53:06 +00:00
is
9360bfcc81
Remove remnants from ISA com console attachment code, which caused, due
...
to missing variable initialization, a panic on the DraCo.
1997-11-10 22:29:03 +00:00
ragge
7b60c8ed11
Fix multivolume installation bug; PR#4454.
1997-11-10 22:14:16 +00:00
mhitch
b0367937cb
Fix typo: NRASTERRCONSOLE -> NRASTERCONSOLE
1997-11-10 21:59:18 +00:00
pk
85524f37b3
Set `dvma_cachealign' on Hypersparc.
1997-11-10 21:20:07 +00:00
mjacob
479bc8877c
Protect userland applications from the inline splraise function.
1997-11-10 18:23:50 +00:00
is
ff1fd132f3
Forgot this yestereve: s/CV64CONSOLE/CV3DCONSOLE/
1997-11-10 12:17:20 +00:00
jonathan
9dee06e184
Add px placebo driver to standard pmax options.
1997-11-10 08:26:33 +00:00
phil
b9b9e9752b
Remove comment on bim.8 man page.
1997-11-10 01:58:10 +00:00
phil
29bc127e91
Remove unknown .even, complete a string in a macro call.
1997-11-10 01:50:25 +00:00
is
f31e12d69d
- recognize CV3D in Zorro-II mode.
...
- use board address space > 4 MB, instead of iszthreepa(), to detect Z3-mode
boards. We dont want the bus, but want the address configuration.
- s/CV64CONSOLE/CV3DCONSOLE/
- s/cv3d_zorroIII == 1/cv3d_zorroIII/ and s/cv3d_zorroIII != 1/!cv3d_zorroIII/
1997-11-09 23:30:47 +00:00
scottr
a41bde2076
Get rid of MSGBUFPTECNT; fixes PR 4331.
1997-11-09 06:10:44 +00:00
jonathan
c176a3646e
Fix kernel divide-by-zero errors and other bugs with removable devices:
...
* Add code to query CDs for size, from MI scsi cd.c. Use it on CDs.
* Set C partition size for CDs. 4.4bsd/pmax code only set `a' partition
size and required users to mount `a' partition, breking raw-device
access like "disklabel rz?".
* Avoid possible divide-by-zero call to howmany() from rzstart(),
on removable media that aren't ready at device-open time.
Verified to work on rrz42.
1997-11-09 03:08:23 +00:00
jonathan
9e1d749da4
Initialize nfs_boot_rfc_951 to 1. Makes pmax kernels to use bootp,
...
not RARP/bootparams, to get diskless-boot config info.
Decstation PROMs already use BOOTP so we lose nothing.
1997-11-09 02:03:50 +00:00
scottr
60dd653baa
KNF: Fix some whitespace inconsistencies.
1997-11-08 23:22:38 +00:00
jonathan
0f41aef4b9
Workaround for port-pmax/4438 (pmax kernel glass-tty console code is broken)
...
until a proper fix is available:
Perpetuate the 4.4bsd design even further. Change keyboard-driver
open routines to check for an active raster console. If active, set the
keyboard struct tty's t_winsize from the rcons t_winsize on first open.
See pr 4438 for remaining problems and discussion of a complete fix.
1997-11-08 21:55:05 +00:00
jonathan
1dfe80f178
Add MODE SENSE code from MI scsi sd.c to rz.c.
...
* add includes for sys/dev/scsipi headers.
* cut-and-paste mode_sense and disk-geometry sense code from sd.c,
with name changes sd -> rz.
* Write `rz_command()' to send SCSI sense commands based on
existing rz size-sensing code.
* get geometry info with page 4 and page 5 mode sense.
* use resulting geom info for default label, fake label, and when
using ultrix labels. (ultrix labels have no geometry info).
Fixes incrrect-label bugs with using sysinst to install onto
Ultrix-labelled disks.
1997-11-08 11:28:10 +00:00
jonathan
fbac6ffd1b
Delete ancient warning printf() from when this code hadn't been
...
tested on 3MIN or MAXINE motherboards. Add __KERNEL_RSID while we're here.
1997-11-08 07:15:35 +00:00
gwr
5eda2e37e8
Oops...(pasto)
1997-11-08 05:42:07 +00:00
briggs
527e5cbc44
Force the probe to find the internal video for the 63x/575 models.
1997-11-08 04:12:52 +00:00
gwr
924c57cce0
Disable DMA and interrupts for now (via se_options).
1997-11-07 22:11:19 +00:00
drochner
23e7d0a259
Adjust comment for new default fragment table size.
1997-11-07 17:01:45 +00:00
drochner
4ad496626c
Double default fragment table size. For fragmented and / or small
...
blocksize filesystems the old default was too small.
1997-11-07 16:59:41 +00:00
briggs
c1ed70f0d8
NetBSD RCSIds.
1997-11-07 13:31:15 +00:00
scottr
a6c6c9c1ad
Update from John Wittkoski: work around problem with mice that claim to
...
support Extended Mouse Protocol, but really don't; the Logitech Mouseman
is one such mouse (model M-AC13-4MD).
1997-11-07 07:38:10 +00:00
scottr
13fa4227b1
Update from John Wittkoski: bug fixes for Cuda support.
1997-11-07 07:33:11 +00:00
mark
ae0af9300a
Fix a bug in irq_release() when searching interrupt list for the handler
...
to remove. The address of the pointer rather than the address of what
is pointed to was use to track the previous handler resulting in problems
when releasing a chained irq. (from John Ballance)
1997-11-07 01:04:51 +00:00
mark
b2b71ad982
Added amps device (Atomwide Multi-Port Serial card).
1997-11-06 02:16:03 +00:00
mark
012044674d
Add deice, attachment and file information for the Atomwide Multi-Port
...
Serial card.
1997-11-06 02:12:27 +00:00
mark
4c86426324
Initial commit of the Atomwide Multi-Port Serial card driver. This driver
...
just provides attachments to the generic 16550 IC driver.
1997-11-06 02:08:51 +00:00
mark
1a05b5daa4
Cleanup and simplify the padding at the start of the mbuf chain so that
...
the IP packet is word aligned using the ALIGN macro.
1997-11-06 01:55:18 +00:00
mark
2b325ac968
Remove verbose printing when disabling interrupts on shutdown.
1997-11-06 01:52:43 +00:00
mark
f5220ac842
MINIROOT_SIZE -> MINIROOTSIZE
...
Wildcard root device so that faked md device (MEMORY_DISK_IS_ROOT)
will be selected
1997-11-06 01:12:56 +00:00
mark
4245860a87
MINIROOT_SIZE -> MINIROOTSIZE
...
Wildcard root device so that faked md device (MEMORY_DISK_IS_ROOT)
will be selected
1997-11-06 01:01:01 +00:00
mark
da3b854a7d
Ignore memory disk hooks and boot args if MINIROOTSIZE is defined.
...
Added check for zero terminator after removing spaces in
get_bootconf_option(). This fixes a problem of matching NULL terminators
if there are trailing spaces in the boot args.
1997-11-06 00:57:02 +00:00
mark
fe47853f6f
Use the soft copy of the cpu control register instead of trying to read
...
the cpu control register as this register is write only on some processors.
1997-11-06 00:51:02 +00:00
mark
286f2f07bb
Keep a global soft copy of the cpu control register in cpuctrl as some
...
processors have write only control registers.
1997-11-06 00:43:41 +00:00
thorpej
e22396f499
Clean up the messages displayed when either platform support is not
...
configured into the kernel, or when the platform is not supported.
Use the defopt'ed options, rather than NDEC_... and remove the needs-flag
hack that's existed for a while.
1997-11-06 00:41:45 +00:00
mark
426af505f2
In cpufunc_control() only write to the cpu control register if the new
...
value is different from the old one.
1997-11-06 00:35:41 +00:00
thorpej
204a7b293b
Sync ISA network device section with INSTALL.
1997-11-05 19:24:27 +00:00
thorpej
51460546c8
Add sm0 at isa? port 0x300 irq 10
1997-11-05 18:13:10 +00:00
ender
e38a307461
Recognize Apple Standard Keyboard (ISO layout)
1997-11-05 08:21:47 +00:00
mycroft
224cfc2d71
Fix spacing of `not connected' message.
1997-11-05 05:45:00 +00:00
thorpej
0b04d28454
Mark uses of long long with /* LONGLONG */ for lint. From
...
Chris Demetriou <cgd@pa.dec.com>.
1997-11-05 04:36:08 +00:00
thorpej
cc1f5b65c9
asm -> __asm__
1997-11-05 04:23:35 +00:00
thorpej
aefc208b70
asm -> __asm__, volatile -> __volatile
1997-11-05 04:19:04 +00:00
thorpej
c7546c77a5
asm -> __asm__, inline -> __inline
1997-11-05 04:16:06 +00:00
thorpej
53a8f81b2f
inline -> __inline
1997-11-05 04:13:24 +00:00
thorpej
6e1637f157
asm volatile -> __asm__ __volatile
1997-11-05 04:05:00 +00:00
thorpej
a15938129d
asm -> __asm__
1997-11-05 04:02:26 +00:00
thorpej
b868a7c2ab
asm -> __asm__, volatile -> __volatile
1997-11-05 03:57:52 +00:00
thorpej
023d8288ee
asm -> __asm__
1997-11-05 03:53:20 +00:00
briggs
fde9e5e6c3
A first cut at faster SCSI for non-AV quadras. Could probably perform better,
...
but is a marked improvement. This takes advantage of a pseudo-DMA hardware
hack of Apple's that exposes a 16-bit register that the Apple-designed
memory controller acts like a DMA controller and handshakes into or out
of the FIFO. Wierd.
1997-11-05 03:33:35 +00:00
briggs
6683847f3b
For the LC575/Q630 (comm-slot machines), try to derive the card settings.
...
Unfortunately, there does not seem to be a good way to determine what
variety of comm-slot card is present in a machine. There is still an
interrupt issue preventing these cards from working--hopefully that will
be ironed out shortly.
1997-11-05 03:27:29 +00:00
perry
ba2ee23103
Small installation kernel for older machines; fits on 1.2M floppy but
...
doesn't support PCI or PCMCIA.
1997-11-05 03:25:52 +00:00
briggs
138956b074
For level 4 (serial) interrupts: If the handler returns 0, take the
...
normal rei course. If the handler returns non-zero, just rte.
This should allow better MACE response-time and still keep serial
interrupt overhead to a minimum on older, slower machines.
1997-11-05 03:23:20 +00:00
briggs
9daaf978aa
Check for machine class, not for PSCBase as initial check in mc_obio_match().
1997-11-05 01:56:27 +00:00
thorpej
ffa392cb7e
asm volatile -> __asm__ __volatile
1997-11-05 00:38:37 +00:00
thorpej
fdcd077928
asm -> __asm__
1997-11-05 00:34:15 +00:00
gwr
7a33a8aaef
Silence collisions
1997-11-05 00:02:51 +00:00
thorpej
4730a8cbec
Bug fixes and cleanup from Chris Demetriou <cgd@pa.dec.com>:
...
- fix _C_LABEL so that it actually works.
- make __RENAME use _C_LABEL.
- fix __RENAME so that it expects an unquoted argument.
- fix __indr_reference and __warn_references so that they
supply their own final semicolon.
- define __warn_references to nothing if not GNU C (required
by the way it's used).
The __warn_references semicolon change has to be made
so that __warn_references can be defined into nothing.
(A ; all by itself isn't a great idea.) The __indr_reference
change was made for consistency.
1997-11-04 23:09:23 +00:00
ragge
8f6ac836dd
Move some interrupt routines out to assembler.
...
Optimize (slightly) pmap_clear_modify.
1997-11-04 22:59:20 +00:00
ragge
fb4298e98c
Optimized copy/fetch/store routines; rewritten in assembler.
1997-11-04 20:52:27 +00:00
briggs
cb6760281d
Raise the number of transmit and receive buffers.
1997-11-04 13:03:48 +00:00
briggs
2ed7cf086f
Fix a space-wasting bug found by David Huang in his work on the MACE driver.
1997-11-04 13:02:45 +00:00
pk
9eb2a49d4b
Include copyright statement for the bus_dma implementation added in
...
the previous revision.
1997-11-04 10:37:37 +00:00
ross
6f6bb84844
Check for null curproc in pmap_changebit. Fixes the IDE-on-alpha crash
...
problem reported by Chris Csanady <ccsanady@bob.scl.ameslab.gov>.
this
1997-11-04 07:16:25 +00:00
briggs
e19ba716d0
remove an obsolete comment.
1997-11-04 04:00:18 +00:00
briggs
81a98183d1
Puma will soon be looking a bit different.
1997-11-04 03:56:09 +00:00
briggs
e658b8b476
Add in the if_mc ethernet driver for the AMD "MACE" part. This is the
...
internal ethernet on the Quadra/Centris 660av/840av.
Add initial support for the PSC (DMA controller) to support the above
(DMA SCSI remains unsupported). This involved also changing the way
that several interrupts are handled.
Above from David Huang <khym@bga.com>
Since the interrupts changed somewhat, we must also make the ipls
dynamic, defaulting to their prior levels and adjusted for the AVs.
I modelled this on the hp300.
1997-11-04 03:44:42 +00:00
thorpej
15339d7ea8
Make pmap_{,de}activate() take a pointer to a proc.
1997-11-04 01:37:01 +00:00
gwr
ea35849dac
More efficient implementations of:
...
pmap_protect_noctx()
pmap_remove_noctx()
1997-11-03 22:47:10 +00:00
gwr
81ed96b224
More reordering
1997-11-03 21:55:39 +00:00
thorpej
4436625795
Delete "ed" driver, add "we".
1997-11-03 21:33:33 +00:00
ragge
fd48076569
Use genassym for the first time in vax port history. Rewrite cpu_exit,
...
cpu_switch, setrunqueue and remrunqueue in assembler for efficiency.
1997-11-03 20:00:17 +00:00
drochner
8539f2f3b9
../lib/exec_fromdos.c doesn't use the memory size returned by XMS check
...
anymore if other methods work better. Sync banner output with this.
1997-11-03 18:17:19 +00:00
drochner
90e33ee203
When using XMS, use the XMS size returned by the BIOS only if the other
...
methods to detect extended memory didn't work well.
(this XMS size is always too small, typically by 68k)
1997-11-03 18:06:22 +00:00
gwr
62a4f5b044
Use a private pool of PV elements. This improves performance,
...
and avoids reentrance into pmap code via malloc().
1997-11-03 16:58:05 +00:00
gwr
f106a637c6
Implement a "kernel-only" context for processes that have not
...
touched any user-space address recently. This is efficient
for things that stay in the kernel for a while, waking up
to handle some I/O then going back to sleep (i.e. nfsd).
If and when such a process returns to user-mode, it will
fault and be given a real context at that time.
This also makes context switch faster, because all we need
to do there for the MMU is slam the context register.
1997-11-03 16:08:23 +00:00
mycroft
9e82e84056
Handle CDTRCTS, for silly Mac-like connector on some models (e.g. IPX).
1997-11-03 11:33:17 +00:00
is
5c7d3c3f2c
Back out last change, which was a thinko.
1997-11-03 11:10:41 +00:00
ross
0ea4820367
--Add handcrafted stack frame directives to locore.s palcode vector
...
--entries / remove kernel entry from locore / reorganize vector entry
--code. Enables access to stack frames transitively w.r.t. palcode
--vectors, e.g. upward traceback works, inverting (possibly several)
--kernel vectors. Until now, all trackbacks ended at the first-reached
--instance of trap(), which was totally useless as there is no mystery
--to trap->panic->cpu_reboot
1997-11-03 04:22:00 +00:00
jonathan
2d21148a91
Remove long-unused MD pmax console code.
1997-11-03 00:19:30 +00:00
is
2ee51585ba
Add ftwotox emulation, by using the fscale emulation routine (preload
...
destination register bit pattern with 1.0), which automatically provides
corner case handling.
Missing ftwotox emulation originally reported by Norman Mackenzie in PR 4237,
but he proposed a different implementation.
1997-11-02 22:02:46 +00:00
pk
8dbb87fe86
Add bus_dma*() functions. Some functionality implemented in terms of
...
existing machinery (for now).
1997-11-02 21:31:34 +00:00
pk
b74bcd140c
The sparc's bus.h.
1997-11-02 21:28:33 +00:00
carrel
ff83727926
All hail HAYDON!
1997-11-02 21:01:28 +00:00
chopps
7b80c0d8fa
make GENERIC more generic
1997-11-02 18:47:02 +00:00
ragge
4e254b7a82
Major rewriting, optimization and simplifying of the pmap code:
...
- Map in all physical memory first in system space. This reduces
pmap_copy_page() and pmap_zero_page to 3 resp. 2 instructions.
- Have fized position user page tables. Makes the pv_table smaller
and all reverse references faster (and simpler).
- Remove the wiring code. Nobody doesn't even know what a DR32 is anymore.
- Simulate page reference bit by setting page invalid, as suggested by
Rich Draves in a paper for 1991 Mach Usenix Symposium.
This reduced the time spent in the pmap module to between 70-75% of
the previous; and made process startup _much_ faster.
1997-11-02 14:25:26 +00:00
ragge
9b1a735c8f
Major rewriting, optimization and simplifying of the pmap code:
...
- Map in all physical memory first in system space. This reduces
pmap_copy_page() and pmap_zero_page to 3 resp. 2 instructions.
- Have fized position user page tables. Makes the pv_table smaller
and all reverse references faster (and simpler).
- Remove the wiring code. Nobody doesn't even know what a DR32 is anymore.
- Simulate page reference bit by setting page invalid, as suggested by
Rich Draves in a paper for 1991 Mach Usenix Symposium.
This reduced the time spent in the pmap module to between 70-75% of
the previous; and made process startup _much_ faster.
1997-11-02 14:25:24 +00:00
ragge
ae27edc757
Major rewriting, optimization and simplifying of the pmap code:
...
- Map in all physical memory first in system space. This reduces
pmap_copy_page() and pmap_zero_page to 3 resp. 2 instructions.
- Have fized position user page tables. Makes the pv_table smaller
and all reverse references faster (and simpler).
- Remove the wiring code. Nobody doesn't even know what a DR32 is anymore.
- Simulate page reference bit by setting page invalid, as suggested by
Rich Draves in a paper for 1991 Mach Usenix Symposium.
This reduced the time spent in the pmap module to between 70-75% of
the previous; and made process startup _much_ faster.
1997-11-02 14:25:19 +00:00
ragge
84f5dc2404
Fix clearing of redundant restart flag; CPU specific.
...
Also clean up a bit.
1997-11-02 14:07:07 +00:00
ragge
a8e1e83943
#include files must be in the correct order.
1997-11-02 14:01:07 +00:00
mycroft
ec5fd4954e
Set rr0_dcd.
...
Don't set DCD_IE and CTS_IE here; let the MI code do it.
Handle MDMBUF.
1997-11-02 08:05:06 +00:00
gwr
395f27b052
Give the kernel pmap a soft copy of its segmap (like user pmaps)
...
so we can optimize away calls where pm_segmap[x] == SEGINV.
1997-11-02 05:16:25 +00:00
gwr
0270c30b3d
Change some debug prints to db_printf(), other minor stuff.
1997-11-02 03:19:18 +00:00
thorpej
540caf5a8f
Add "ec" driver.
1997-11-02 01:02:23 +00:00
thorpej
7438e6c882
Adjust for ifmedia-related changes to dp8390 driver.
1997-11-02 00:25:11 +00:00
gwr
56008e767b
Clean up spl* handling a bit (move some spl* calls up a level,
...
and have the callee do a CHECK_SPL for debugging).
Get rid of some private TAILQ_* macros.
some cosmetic stuff.
1997-11-01 23:56:25 +00:00
scottr
59498b56f8
From i386: initialize nfs_boot_rfc951 if either NFS_BOOT_BOOTP or
...
NFS_BOOT_DHCP are defined.
1997-11-01 21:11:07 +00:00
scw
d0d3cc7965
Remove paragraph describing problem with initialising VMEbus RAM cards'
...
parity bits. Initialisation now handled during kernel startup.
1997-11-01 19:18:39 +00:00
scw
cb8172bce4
Chnage MACHINE_NONCONTIG implementation such that the message buffer is
...
always located at the end of onboard RAM. This allows locore.s to zero
any offboard RAM to initialise the parity bit which most VMEbus RAM cards
have. Without this, many cards buserr on the first read access.
Thanks to Herb Peyerl for the idea.
1997-11-01 17:56:47 +00:00
lukem
3e8e744696
getopt returns -1 not EOF
1997-11-01 06:49:14 +00:00
jonathan
ba6431afae
Incorporate a 4.4BSD-Lite workaround for a bug in cache invalidation.
...
From /sys/news3400/news3400/locore.s, with id
@(#)locore.s 8.3 (Berkeley) 9/23/93
Kazumasa Utashiro notes that the pmax cacheflush routines don't work:
#ifndef NOTDEF /* I don't know why Ralph's code doesn't work. KU:XXX */
It's because pmax hardware wries the COP0 bit to external branch
logic. news3400s don't, and so the bc0f loop fails. It will also
fail on some other models of pmax, but we dont' support them.
Surround the relevant framgents in locore_r200.S with "#ifdef pmax".
Longer-term, the cacheflush entry in the locore callback may have
to be a CPU baseboard-specific entry, not just CPU-version specific.
1997-11-01 06:34:07 +00:00
pk
97128ca91e
Header magic is now done in stand/boot/Makefile.
1997-10-31 22:12:21 +00:00
pk
b5d7e8f444
Install a version of the secondary boot block in /usr/mdec that is
...
suitable for use on a server for diskless booting. Done mostly to
simplify the installation notes and avoid questions ...
1997-10-31 22:05:17 +00:00
gwr
4dcb8c7d34
More movement.
1997-10-31 19:52:09 +00:00
drochner
bdf1b13477
-Don't try to parse the bootfile path in DOS mode.
...
-Take "dev" command from "biosboot" for consistency.
1997-10-31 18:50:09 +00:00
mycroft
9870971b35
Format police.
1997-10-31 07:59:52 +00:00
gwr
f503ff3765
Move things aroun a little (group by purpose, etc.)
1997-10-31 03:04:42 +00:00
gwr
eca45d868a
Replace PMAP_LOCK/PMAP_UNLOCK with splimp/splx
1997-10-30 20:14:45 +00:00
jonathan
84dcba44e2
Add missing `(void)' cast to big-endian variant of {NTOH,HTON}{L,S}().
1997-10-30 09:07:50 +00:00
gwr
328968b54e
Print out the real/avail memory like this:
...
real mem = 8192K (0x800000)
avail mem = 6392K (0x63e000)
1997-10-30 01:02:53 +00:00
gwr
ad4db27bc3
Move some variables from _startup.c into pmap.c (used only there).
...
Re-organize pmap_bootstrap, and shorten some function names.
1997-10-30 00:59:40 +00:00
thorpej
173f7c3b37
Defopt PCIC_ISA_ALLOC_IOBASE, PCIC_ISA_ALLOC_IOSIZE, and
...
PCIC_ISA_INTR_ALLOC_MASK.
1997-10-29 22:50:46 +00:00
veego
d2ec787a03
Remove the unsuported options COMPAT_HPUX.
...
Enable COMAPT_09 and COMPAT_10 for old binaries.
Enable the console options for the CyberVision 64/3D and fix a typo for
ite7.
1997-10-29 21:16:48 +00:00
jonathan
af17ce204d
Remove unused old-config static variables describing TurboChannel slots.
...
From nisimura@itc.aist-nara.ac.jp in PR pmrt-pmax/4343.
1997-10-29 20:12:11 +00:00
veego
6352bbdb7c
The Console driver works now.
...
Added some fixes for Zorro2 mode, but keep it still disabled.
1997-10-29 20:00:47 +00:00
wrstuden
de95bf8c30
Add pnp support for the OPTi Audio 16's joystick port.
1997-10-29 19:40:12 +00:00
thorpej
1d338698d7
Flush tty input queue when going in and out of X mode, PR #4321 ,
...
Chris Demetriou.
1997-10-29 01:39:40 +00:00
fvdl
d2016e2df0
Disable interrupts when frobbing the keyboard controller for A20, as
...
it may generate a reset on some (older) controllers. Introduce a delay
to make some kbd controllers happier.
1997-10-29 00:32:49 +00:00
gwr
38d61d7805
Left DEBUG there by accident. Remove it
1997-10-28 21:12:58 +00:00
gwr
923a3fcbff
Quiet down those "interrupt stuck?" messages.
1997-10-28 21:10:07 +00:00
phil
a3be0335e3
Add prototypes for mcount and _mcoount.
1997-10-28 06:03:25 +00:00
is
c3feaf6bf5
Make splserial == spltty, for now. This should be revisited after the
...
release.
1997-10-27 22:13:25 +00:00
drochner
ec78310453
Catch "timeout" return of serial port read BIOS call.
1997-10-27 19:53:20 +00:00
drochner
64550a14f3
Pass status byte to caller too.
1997-10-27 19:51:18 +00:00
briggs
5298ea207d
struct msgbuf -> struct kern_msgbuf.
1997-10-27 03:02:51 +00:00
briggs
8d24ce6b91
Change Q630 type to class-Q2. It's quite similar to the P575.
1997-10-27 02:49:29 +00:00
thorpej
32146049fa
Don't forget to account for scrollskip when computing the current row.
1997-10-27 01:37:33 +00:00
thorpej
023044a749
Clean up printing of chipset revision/capabilities.
1997-10-27 01:08:42 +00:00
mark
07db350668
Define __STRING and __CONCAT macros for assembly routines.
1997-10-27 00:28:09 +00:00
mark
8df7358c90
Include asm.h instead of cdefs.h
1997-10-27 00:26:07 +00:00
veego
2d11975bbd
Include <bsd.subdir.mk> to build SUBDIRS.
1997-10-27 00:24:54 +00:00
lukem
2793a8e02a
use CPPFLAGS instead of CFLAGS
1997-10-26 22:09:43 +00:00
is
a16fd7d74e
Make these compile after m68k/m68k.h 1.4->1.5.
1997-10-26 21:41:34 +00:00
jonathan
2025270865
Fixes for sysinst and installing diskimage:
...
* Check for a disklabel matching the known values in an install diskimage.
If found, update incore disklabel's RAW_PART with the size reported
by the disk, clobbering the size used by vnd(4).*
* If geometry info is bogus or /missing, supply a fake geometry
(as in sd.c). Saves readdisklabel() and sysinst from divide-by-zero errors.
* lint: RAWPART -> RAW_PART.
1997-10-26 10:47:14 +00:00
jonathan
64a7794048
<machine/intr.h> is required. Supply an empty one.
...
VS: ----------------------------------------------------------------------
1997-10-26 10:41:32 +00:00
briggs
7d0ee36fdb
The 16- and 32-bit Apple card types got reversed somehow.
1997-10-26 03:17:15 +00:00
briggs
b7321b3d4f
Handle interrupts on E-Machines Futura-SX. From Paul Goyette, PR 4348.
1997-10-25 23:17:58 +00:00
jonathan
75e6c24f72
Don't turn off RZF_WLABEL flag on last close of raw partition.
...
It breaks disklabel -W, turning label writes back off again when
disklabel -W closes its open fd on the raw disk.
1997-10-25 22:28:52 +00:00
gwr
5770fa53f1
I had the memory map wrong for the SCSI/Ethernet board.
...
Fixes from Michael Thompson.
1997-10-25 18:20:09 +00:00
gwr
1182affa8f
I had the memory map wrong for the SCSI/Ethernet board.
...
Fixes from Michael Thompson.
1997-10-25 18:04:20 +00:00
thorpej
611012d836
Make the copy_region methods do overlapping copies properly. Fixes
...
port-alpha/4216 (Chris Demetriou).
1997-10-25 01:21:57 +00:00
thorpej
19c77efe96
In vga_erasecols(), fix botched count and reversed arguments to
...
bus_space_set_region_2(). From Chris Demetriou <cgd@pa.dec.com>.
1997-10-24 23:03:02 +00:00
mhitch
5b2fd76fd3
Don't rely on fixed padding to longword align the buffer used for non-aligned
...
transfers - compute aligned address when interface is attached. Fixes PR#4258.
1997-10-24 01:50:03 +00:00
mhitch
9bec32eefe
Check manufacturer and product codes correctly. The Blizzard 2060 driver
...
was trying to configure on a Cyberstorm MKI SCSI.
1997-10-24 01:43:49 +00:00
briggs
54770f54b4
Scan more than MAXPARTITIONS Mac partitions when loading the fake disklabel.
...
This allows us to use a root and/or user partition that's not one of the
first 8 partitions in the table, and it allows us to fill the fake disklabel.
1997-10-23 14:58:49 +00:00
leo
e1adcbe609
Do not relocate the kernel to TT-Ram by default. Some TT's choke on this. You
...
can now opt for relocation by either setting the RELOC_KERNEL config option
or patching 'reloc_kernel' to something other than zero.
1997-10-23 11:26:19 +00:00
mikel
135737c189
fix some typos and other misfeatures in comments; no functional change
...
note that bha driver supports BT44x cards as well
1997-10-23 05:49:42 +00:00
gwr
9420004b46
Remove the for-loop that wants to map multiple msgbuf pages.
...
Multiple msgbuf pages will not work without a redesign of
the kernel VM layout, so let's not pretend we can do it.
1997-10-23 02:24:41 +00:00
gwr
1060564fdc
Make this generate the same output as kern/genassym.awk
1997-10-23 02:06:28 +00:00
gwr
737748a765
Generate assym.h into assym.h.tmp first, then move it. (safety)
...
Add a dependency for stub.o:Makefile
1997-10-23 01:39:20 +00:00
sommerfe
73e508c64a
Fix pr4316: doesn't build on 1.3..
1997-10-22 19:11:45 +00:00
briggs
a2594d0b33
Lost changes from 1.168 somewhere along the line.
1997-10-22 18:54:24 +00:00
sommerfe
c83f212654
Fix PR4316: pcvt busted in 1.3..
1997-10-22 18:24:30 +00:00
gwr
aa67eda78f
Correct zs_unit in zs_kgdb_init().
...
Similar problem as zs.c:consinit().
1997-10-22 17:03:35 +00:00
gwr
9053a6f401
Correct the values of zs_unit in consinit(),
...
so ddb will work on the keyboard/display.
1997-10-22 14:39:38 +00:00
leo
c289655641
Make this compile again by including <vm/vm.h> and moving sysctl.h below
...
that include.
1997-10-22 08:04:07 +00:00
thorpej
665f7d1a6e
Implement __RENAME() in <machine/cdefs.h>
1997-10-22 05:20:32 +00:00
phil
49977a64e5
include <vm/vm.h> at proper points.
1997-10-22 03:40:17 +00:00
phil
b34ae4f929
Get TRUE and FALSE defined again.
1997-10-22 03:35:56 +00:00
gwr
2476c3a858
Fix a warning
1997-10-21 22:14:08 +00:00
scw
6eb98e720f
Finally nobble the last MACHINE_NONCONTIG gremlins. Needed to add
...
<machine/vmparam.h> to pmap.c and locore.s. Plus, genassym.sh needed
to have USRSTACK removed due to conflict with vmparam.h
1997-10-21 19:25:08 +00:00
gwr
5665df7a14
comments
1997-10-21 19:15:33 +00:00
gwr
0e5142a525
Move the (boiled down) interface declarations into m68k.h
...
Too late for the release, unfortunately...
1997-10-21 18:03:56 +00:00
gwr
10f5adfd00
Fix warnings on the sun3 caused by the fact that sun3/include/cpu.h
...
does not (and should not) declare stuff like getsfc(). Instead,
include <m68k/m68k.h> for those declarations.
1997-10-21 17:30:15 +00:00
gwr
9215c4253e
Declarations for things exported by sources in this directory.
...
(i.e. stuff that does not belong in <machine/cpu.h>)
1997-10-21 17:23:23 +00:00
is
6c04d467ec
Make l different from |.
...
Downgrades PR 1998 from software bug to change request.
1997-10-21 12:29:30 +00:00
bouyer
d29eab51f1
Correct spelling of 'ThunderLAN'
1997-10-21 06:01:16 +00:00
scottr
ca99a37396
Enable ipfilter, and add a commented-out rnd pseudo-device line.
1997-10-20 22:52:48 +00:00
thorpej
5ea9d818ae
Update for new location of i82365.c
1997-10-20 20:26:25 +00:00
thorpej
1d1fd17f73
Don't panic if we fail to remap i/o or mem space in the attach function.
...
Instead, print a diagnostic and return. (Some drivers do this already.)
Also, normalize the diagnostic message, and fix some places where the
printfs were getting ugly.
1997-10-20 20:07:57 +00:00
perry
75473a6379
we don't need FDESC
1997-10-20 20:03:04 +00:00
mjacob
5bd8e6eccc
MSS3 needs full SYSV stuff.
1997-10-20 19:48:30 +00:00
jonathan
4d29dd99dd
Put back duplicate <XXX>_ENDIAN definitions. Defining them as _<XXX>_ENDIAN
...
loses on non-POSIX source that re-defines <XXX>_ENDIAN itself (e.g., gdb.)
1997-10-20 19:15:40 +00:00
explorer
f29df68cd4
comment out rnd, mark as experimental
1997-10-20 18:47:08 +00:00
explorer
32b7029647
Mark options RND_COM as broken on i386 port
1997-10-20 18:45:09 +00:00
pk
332129fdf1
Enable `reselect' and `synch negotiation' by default.
1997-10-20 18:05:21 +00:00
explorer
9d0579d2fb
Comment out pseudo-device rnd, mention options RND_COM, and mark experiemntal
1997-10-20 15:19:51 +00:00
ragge
e603ff5aa3
Fix vers.c dependency; PR#4090.
1997-10-20 11:54:26 +00:00
ws
8e311daf58
Fix spelling of my name
1997-10-20 10:07:56 +00:00
jonathan
a03a434f1b
* Use ANSI-clean names for host-specific byte-order definition
...
(_BYTE_ORDER, _BIG_ENDIAN, _LITTLE_ENDIAN).
Define old names from the ANSI ones if not _POSIX_SOURCE.
* Define _QUAD_HIGHWORD and _QUAD_LOWWORD properly when
_BYTE_ORDER == _BIG_ENDIAN.
1997-10-20 09:57:05 +00:00
ws
0bb56df5a7
Fix spelling of my name
1997-10-20 09:54:50 +00:00
fvdl
d41883c9ac
Fix typo in VM_MAX_ADDRESS.
1997-10-20 09:02:21 +00:00
scottr
8630149cba
Convert to MI 8530 SCC driver, from Bill Studenmund. The new front end
...
also supports DTR/CTS flow control.
1997-10-20 08:13:26 +00:00
jonathan
b29ce8697c
Comment out PT_STEP for 1.3. Defining it causes gdb 4.16 to break.
...
(inferior debugee children die immediately with SIGTRAP.)
1997-10-20 07:29:23 +00:00
jonathan
bf4f202e7c
Merge MINIROOT and NFSINSTALL into a single INSTALL config file,
...
with config lines for both root-on-disk and root-on-NFS.
1997-10-20 03:50:05 +00:00
jonathan
8061da06c9
Add "options COMPAT_12".
1997-10-20 03:45:08 +00:00
perry
83a4427110
Sync with GENERIC; comment out a few more unneeded things.
1997-10-20 03:42:43 +00:00
phil
e0b89dfe15
Comment out aic driver to remove conflict with mi driver.
1997-10-20 03:19:16 +00:00
sakamoto
cd83f6a454
sys/sysctl.h depend on vm/vm.h
1997-10-20 02:46:20 +00:00
fvdl
74f97b28cc
Change various constants that depend on the kernel VM base address. Lower
...
it to 0xf0000000 to give it more breathing space.
1997-10-20 00:45:03 +00:00
fvdl
30c7fa3e36
Move kernel entry address down to f0100000
1997-10-20 00:43:21 +00:00
pk
004f196dcf
Nuke 5.25 inch formats.
1997-10-19 23:29:47 +00:00
jtk
0ad10a1970
change name in comment from apmregs to bioscallregs
1997-10-19 22:59:50 +00:00
pk
a0d6bae726
Add an odd-ball japanese floppy format (PR#2903).
...
A good time to get rid of the hard-coded floppy sector size.
1997-10-19 22:29:21 +00:00