mycroft
901483b57b
Sigh. Send a trace trap only if we are still in VM86 mode.
1996-04-18 21:21:11 +00:00
mycroft
15d4e17598
Send a trace trap only if the trace flag is set at the *beginning* of
...
the emulated instruction.
1996-04-18 20:36:35 +00:00
mycroft
204542255a
After an emulated instruction, check the trace flag and force a trace
...
trap if needed.
1996-04-18 19:58:09 +00:00
pk
390bcef256
md_parse_arg: `-K' implies `-k'.
1996-04-18 19:03:02 +00:00
chuck
442dec5d53
new driver: SCSI for VME147
...
contributed by: Steve Woodford <steve@mctavish.demon.co.uk>
this driver is based on the amiga sbic/33C93 driver. Steve has
cleaned it up and fixed lots of bugs. Note that the original driver
used features which require at least a WD33C93A (the vme147 has the
original WD33C93 chip <no 'A' suffix>). Steve has also written
the DMA routines for the 147 to get things really going. Hardware
scatter-gather DMA and sync. SCSI are not supported (yet). tested
on several disk drives and a tape drive. CD-ROM untested, but
should work.
1996-04-18 18:30:49 +00:00
chuck
da32bd7fed
add wdsc, enable FFS, move le
1996-04-18 18:14:32 +00:00
chuck
f56be1680c
add wdsc device
1996-04-18 18:07:58 +00:00
chuck
a574a3a423
add PCC_ICLEAR
1996-04-18 18:07:08 +00:00
chuck
94b120dfa8
add a "delay" function.
...
XXX: assumes vme147 speed. needs to be fixed and sync'd with DELAY.
[will work with jason/hp300 to fix it properly]
1996-04-18 18:06:30 +00:00
chuck
dbc3478277
establish a dk_establish() function.
1996-04-18 17:43:04 +00:00
mycroft
47bf863ac1
Make some of the flag handling clearer. No functional change.
1996-04-18 10:04:32 +00:00
mycroft
aaed1c2fae
Don't bother to enable alignment checking; nobody uses it and it interferes
...
with VM86 mode.
1996-04-18 09:58:13 +00:00
leo
b3fadef7e0
Yet more prototyping and -Wall fixes.
1996-04-18 08:51:11 +00:00
mycroft
7a8c8f8a5c
Turn off the alignment check flag when entering a signal handler.
1996-04-18 08:36:20 +00:00
cgd
7458364702
Implement the I/O read/write-multiple functions for chipsets
...
that use this file (APECS, LCA, and CIA).
1996-04-18 05:53:04 +00:00
cgd
ff0a52ccd9
define bus_io_{read,write}_multi_{1,2,4,8} functions, which read/write
...
multiple values from a single I/O port in to/out of an array of values.
1996-04-18 05:47:29 +00:00
cgd
57da02bd77
don't include user-land headers compiling for libkern. (sync with libkern.)
1996-04-18 02:30:07 +00:00
cgd
4a134a0780
don't include user-land headers in libkern files when compiling for
...
the kernel.
1996-04-18 02:19:59 +00:00
cgd
1813cc71d0
don't include user-land headers in libkern files when compiling for
...
the kernel. memset.c does not belong here. it either belongs in
the MI libkern directory, or does not belong in libkern at all.
1996-04-18 02:19:07 +00:00
cgd
55afd9912f
don't get rid of the -D_KERNEL in KERNCPPFLAGS
1996-04-18 02:14:48 +00:00
cgd
734132ad28
have copy-to-libkern copy strcat.S, not strcat.c
1996-04-18 01:54:16 +00:00
cgd
a5dc646be0
use assembly version of strcat (copied down from libc)
1996-04-18 01:53:04 +00:00
cgd
720c148692
remove unnecessary header inclusion (machine/autoconf.h) and now-bogus comment.
...
also, trim spaces at ends of lines, etc.
1996-04-18 01:12:41 +00:00
cgd
e27e15d0ac
change NLE flag for IOASIC LANCE buffer to NLE_IOASIC, and add comments
1996-04-18 00:59:11 +00:00
cgd
03d386daa7
attach le with different attributes, depending on parent (i.e. tc or
...
ioasic), and use those attributes to pull in appropriate files.
le_ioasic now has needs-flag, but le doesn't; the flag is only necessary
on systems configured with IOASIC-attached LANCE chips.
1996-04-18 00:55:15 +00:00
cgd
f8073d3675
restructure to take advantage of config's (relatively) new 'attach'
...
specifiers. Many #ifdefs and much other nastiness removed.
1996-04-18 00:50:11 +00:00
cgd
d7d306aeb7
change LANCE copy & zero functions' names to start with amd7990_, and
...
remove their 'integrate' (usually defined to be 'static') keywords.
when lance drivers are split up by attachment, more than one file will
reference the copy/zero functions (i.e. not just the file that pulls in
am7990.c... and eventually inclusion of am7990.c should go away entirely).
1996-04-18 00:25:11 +00:00
cgd
67d51cc7b5
#define _verr* to verr*, to make these use prototypes correctly
...
and compile in the "no indr_references" case.
1996-04-17 23:05:44 +00:00
cgd
eccf43e127
files copied from libc
1996-04-17 22:46:34 +00:00
cgd
44e8033a96
add assembler versions of the byte swap macros (only compile ntoh and
...
hton variants, not byte_swap variants, which are just included), and
copy them to libkern when appropriate.
1996-04-17 22:36:30 +00:00
cgd
17731baa0d
fix copyrights
1996-04-17 22:22:32 +00:00
cgd
69ad2e587b
ioasic doesn't need a flag, and correctly conditionalize inclusion of
...
machines' tc configuration files.
1996-04-17 22:08:29 +00:00
cgd
71c7924099
clean up clock handling: clock drivers are now seperate from the
...
chip-independent clock code. 'clock' has been renamed 'mcclock' 'clock'
has been renamed 'mcclock' (since it's a driver for that particular
clock, and since eventually there may be another clock chip driver),
and now attaches via seperate match/attach functions to both TC and ISA.
This removes a whole lot of #ifdefs...
1996-04-17 22:01:16 +00:00
cgd
a5778ae63b
print cpu names slightly differently (number first)
1996-04-17 21:50:56 +00:00
cgd
0b0a8bfe15
fix bug in pcivga_erasecols() that would cause garbage to be spit out.
...
other minor style cleanup.
1996-04-17 21:49:58 +00:00
cgd
d727565526
fill in the tty window size information, so that standard terminal
...
entries can be used with weird displays.
1996-04-17 21:48:30 +00:00
jtc
ec081115f9
Split each function in err.c out into its own file. This is needed
...
for systems without weak or indirect references.
1996-04-15 23:44:53 +00:00
thorpej
b417cc19fe
Make this compile again on a SPARC if NFSCLIENT is defined without
...
NFSSERVER. (-Wall unused variable lossage)
1996-04-15 20:20:00 +00:00
cgd
60add3dea0
update for current state
1996-04-15 19:00:46 +00:00
cgd
1bd905d710
include <sys/termios.h> to make <dev/isa/comvar.h> happy, and set the
...
serial ('com') console bit size and parity to be "cs8 -parenb".
1996-04-15 18:58:20 +00:00
cgd
a610e9d471
include <sys/termios.h> to make comvar.h happy
1996-04-15 18:55:23 +00:00
cgd
b6549d493d
define and export the global variable "comconscflag", the default tty
...
'cflag' for the console. Normally set to TTYDEF_CFLAG, may be
overridden by machine-dependent console attachment code, as necessary.
(Alpha uses it to set cs8 -parenb.) Files including comvar.h now
need to include <sys/termios.h>, because comconscflag is of type
tcflag_t.
1996-04-15 18:54:31 +00:00
cgd
4d54b9c567
check returns of inet_addr() and inet_network() against INADDR_NONE,
...
not -1, per the manual page. on 64-bit systems like the alpha, -1 will
never equal (unsigned long)INADDR_NONE.
1996-04-15 18:27:05 +00:00
is
a5ba4721eb
Don't even check the not-yet-initialized mbuf pointers for being !=
...
NULL in the error exit code of arc_output(), else we see random data
and try to m_freem() it, panic'ing the machine.
1996-04-15 14:01:25 +00:00
mycroft
e0afa4e4f9
Don't turn off the trace flag here; let sendsig() do it.
...
If in Linux emulation, send SIGSEGV for protection faults, rather than SIGBUS.
1996-04-15 00:20:32 +00:00
pk
be19763acb
Accept `-K' as equivalent to `-k' (except the ns32k which already handles -K).
1996-04-14 11:31:11 +00:00
jonathan
274c2bd80d
Add a prototype for generic_intr_establish(), the bus-independent
...
pmax interrupt-establish function.
1996-04-14 00:58:21 +00:00
jonathan
28986d8126
Add cdev_decl() declarations for the "dtop", "fb" , and "rcons" drivers.
1996-04-14 00:56:59 +00:00
jonathan
4a04d76c65
Fix the definition of TC_PHYS_TO_UNCACHED(addr): make it change a mips
...
kernel addressed to uncached space.
Add prototypes for pmax-specific TC functions used in probing for
a framebuffer console.
1996-04-14 00:55:19 +00:00
scottr
ff35ddbb2a
Update makeoptions to include 881 support
1996-04-13 19:12:46 +00:00