Commit Graph

26415 Commits

Author SHA1 Message Date
mrg
72177f5b6f -Dsparc64 2001-04-19 07:35:14 +00:00
jdolecek
e1d848e38a add ed at mca (ESDI disk) 2001-04-19 07:34:28 +00:00
matt
446403457a Don't the RPC stuff on SHARK or FOOTBRIDGE machines. 2001-04-19 07:19:48 +00:00
matt
afc8ecb0ea A small NETWINDER kludge. 2001-04-19 07:15:24 +00:00
matt
e046a0dbfb Add a NETWINDER keyword 2001-04-19 07:14:52 +00:00
matt
dba1f1b73d Add the isa & pci machdep files. 2001-04-19 07:13:24 +00:00
matt
56260f7d2c Populate the netwinder include directory. 2001-04-19 07:11:00 +00:00
matt
60f69773a0 A minimum amount to get netwinder support 2001-04-19 07:01:11 +00:00
matt
df03fa3de9 Add these to CVS so other folks can look at them and let me what
I'm screwing up.
2001-04-19 06:53:58 +00:00
thorpej
f9d203e8f7 KGDB glue for NetBSD/alpha. 2001-04-19 02:56:34 +00:00
thorpej
58f470b95a Need <sys/kgdb.h> for kgdb_connect() prototype. 2001-04-19 00:21:08 +00:00
rearnsha
50e1e30747 Put back that old (not) unused include file. But only include it
when ARMFPE is defined.  Since that is the only time we use it.
2001-04-18 20:27:33 +00:00
thorpej
b1cdda68fb Remove an un-true comment regarding the location of the u-area. 2001-04-18 16:04:43 +00:00
thorpej
d2fefd399c ctype-like functions are in libkern now. 2001-04-18 15:43:01 +00:00
thorpej
7fe777de1c toupper() exists in libkern now. 2001-04-18 15:39:34 +00:00
fredette
c1d17391f5 Added support for the sc SCSI controller on mbmem. 2001-04-18 15:09:47 +00:00
fredette
02db82623f Trimmed off some options that are unnecessary for now,
and some that don't work.  Added some more comments,
commented out some 2/50 device entries.
2001-04-18 15:08:59 +00:00
sato
12a0a0a537 - support VR4122 vrip register map.
- support VR4122 ICU register map.
- support VR4122 intr levels.
XXX: currently if 'options VR4122' is defined,
XXX: cannot specify 'options VR4121','options VR4111', 'options VR4102'.
XXXX: i have not the VR4122 based hardware.. so no check for VR4122.
2001-04-18 11:07:26 +00:00
sato
553d85e2d4 missing includes in last commit (rev1.6->1.7). 2001-04-18 11:00:30 +00:00
sato
d4262d1ab3 use VRIP_CMU_ADDR in vr/vripreg.h 2001-04-18 10:48:58 +00:00
sato
9d92917cd6 check platid if 'options VR41XX' and 'options TX39XX' are both defined.
XXX: currently this case is missconfiguration and not compilable.
XXX: because all codes are not supported this case yet.
2001-04-18 10:42:39 +00:00
kanaoka
e2749d2799 Add "Sanity check the entry" code to avoid Compatibilty Holes
(0xa0000 -- 0xfffff).
2001-04-18 05:44:10 +00:00
fredette
db8595f14f Much bus_dma work. When destroying a map, unload it if it's
loaded.  Added more comments.  Fixed the perspective of a 24-bit
device from the original sun4 code to match the sun2.  For now,
we don't double-map pages into DVMA space by hand, we're back
to using pmap_enter.  Be more paranoid about saving and
restoring the MMU user context.
2001-04-18 03:45:10 +00:00
fredette
026720119b Added support for the Sun SC scsi controller. 2001-04-18 03:38:38 +00:00
fredette
451d8d47e1 Added support for creating a bus_dma tag for the mbmem bus. 2001-04-18 03:34:54 +00:00
fredette
5f19315baa Now define IPL_BIO. 2001-04-18 03:30:14 +00:00
fredette
68230340aa Fixed a bug in db_write_text where on exit we would bash
a PTE in whatever user context happened to be set on
entry.
2001-04-18 03:19:21 +00:00
ichiro
cb893abf13 typo
PGOFFSET -> PGOFSET
2001-04-18 01:35:14 +00:00
thorpej
1bf3f87777 Fix a problem with kcopy()/copyin()/copyout() on MP systems
that became apparent when UBC was added: store a pointer to
the process itself, not a pointer to ci->ci_curproc.

This gets us back to where we were before UBC went in: MP
kernels get to single-user mode, and can run processes on
both CPUs, but things go south when we try to come into
multi-user mode.
2001-04-18 00:38:10 +00:00
thorpej
a51a1d8cdd - Get rid of the prot bits in the mem_clusters[] array when
reserving RAM in the bus_mem extent map.  Problem pointed
  out by Artur Grabowski.
- Work around a slightly annoying bit of behavior exhibited by
  the UP1000 firmware.  The UP1000 firmware reports the space
  consumed by the "ISA hole" in the same MDDT entry as two
  chunks of RAM (on either side of the hole) used by the PALcode,
  all as one "reserved for PALcode" chunk.  We must take this
  into account when reserving RAM in the bus_mem extent map.
2001-04-17 21:52:00 +00:00
pk
4485b7f720 pmap_enter():
* turn ad-hoc `pmap resources allocated during sleep' into a panic condition
  (this should all be prevented by higher level VM locking).
* arrange for ENOMEM to be returned if PMAP_CANFAIL is on, and malloc()
  and/or pool_get() fail.
2001-04-17 20:14:46 +00:00
toshii
58165a53a2 Make masked interrupts don't bring CPU out of idle mode. 2001-04-17 17:12:40 +00:00
toshii
cfa894dce0 Use idle mode in process waiting idle loop. 2001-04-17 16:14:57 +00:00
toshii
de8e20334a Map a page needed for entering idle mode.
Also, use zero memory at physaddr 0xe0000000 to clean D cache.
2001-04-17 16:10:47 +00:00
toshii
ffe7f4da8a Fix a bug crept in the previous revision. Call dosoftints() after
reenabling interrupts.
2001-04-17 16:07:13 +00:00
toshii
a78b59337f Overhaul interrupt handlers.
- Set the match register before calling hardclock() to prevent
 clockintr lossage.
- Better handling of match register overrun case.
2001-04-17 15:58:51 +00:00
toshii
0c1210c6b3 Make the debugging hack needed for DEBUG_BEFOREMMU functional again. 2001-04-17 15:53:04 +00:00
toshii
5373b5ab86 Special care must be taken in order to run statclock at 128Hz.
For now, change statclock rate to 64Hz for simplicity.

Thanks to Ross Harvey for pointing out this issue.
2001-04-17 15:49:02 +00:00
sato
cdc83120a7 fix SINGLE_VRIP_BASE condition. 2001-04-17 15:45:20 +00:00
toshii
af9740eeee Initialize platid in hpc_machdep(). 2001-04-17 15:33:39 +00:00
takemura
a8106b2b59 Fix typo. kbdparam.h -> kdbparam.h.
RP12685
2001-04-17 15:19:41 +00:00
kleink
40c8d08347 Oops, intptrs are always long integers. 2001-04-17 13:46:02 +00:00
sato
97683d27ae - definition for vr cpu identify.
- definition for vr cpu group identify.
2001-04-17 11:13:16 +00:00
dbj
6456e9d8a9 increase maxsegs of esp main dma map by one to avoid error
tweak esp glue to read xfer_len from dma map
add some debugging checks for dma driver invariants
read DD_LIMIT instead of DD_SAVED_LIMIT on scsi dma shutdowns
2001-04-17 03:42:24 +00:00
dbj
fa84b1d943 make sure that dm_segs is last field of next68k_bus_dmamap,
so that variable length allocations work
2001-04-16 21:36:58 +00:00
chris
7b97ef04ca Enable clockswitching on sa110 (with it disabled the core clock runs at the speed of the memory bus) 2001-04-16 18:09:56 +00:00
bjh21
074987f4a3 Ensure that we have some idea what a label_t is, even in userland. 2001-04-16 17:30:32 +00:00
thorpej
18c1bea288 Oops, properly mark a memory operand as both an input and an
output as necessary.
2001-04-16 17:05:22 +00:00
bjh21
020a050984 Randomize the statclock period properly. We use the same algorithm as the
sparc port.
2001-04-16 14:12:38 +00:00
dbj
b2bff5fc7f add receive ethernet bpf tap
keep receive ethernet crc and set M_HASFCS
change bus_dma MD fields to keep xfer_len for entire map
  instead of per segment
turn off automatic dma restarts in preparation for changing
  scsi driver to handle them.
add dma debugging routines to keep history of dma states
tweak checking for unusual dma limit register
2001-04-16 14:12:12 +00:00