matt
c10673838a
Extend asc driver to include support for the VS400/9x.
...
Add VS4000/9x support vsbus_dma.c
2000-04-23 16:38:52 +00:00
takemura
6d972981ff
Support 8bpp mode on MC/R530.
2000-04-23 10:20:50 +00:00
minoura
dfb848e298
M680x0 are now defopt'ed.
2000-04-23 05:49:14 +00:00
minoura
13fc4ebbe1
Do not include opt_m680x0 in LKM.
2000-04-23 05:38:31 +00:00
eeh
5099c60132
If we trap due to a bad kernel stack, try to switch to the interrupt strack
...
before breaking into the debugger.
2000-04-22 22:06:06 +00:00
matt
25d6f027de
Detect controller number on boot_qe check.
2000-04-22 21:40:40 +00:00
groo
3a77b18fd7
name change; rl -> rtk. Still commented out.
2000-04-22 21:03:27 +00:00
ragge
8b94e15772
Fix boot block countdown on 4000/60. Easy to add for other 4000 machines also.
2000-04-22 20:29:58 +00:00
ragge
a47bd10baa
Use RAISEIPL on all workstations.
2000-04-22 18:11:27 +00:00
mrg
1013298c2a
whole bunch of changes:
...
- merge IOMMU DVMA code from sbus/psycho into iommu.c. this code was
identical and a few minor inconsistencies had crept in. this way
keeps them all in sync.
- with this code gone from psycho, merge the psycho.c and psycho_bus.c
files. same with ebus/ebus_bus.c. delete the _bus.c files.
- add a _ds_boundary member to the dma segment structure, so that later
dma mappings can find this value.
- set _ds_boundary in machdep.c:_bus_dmamem_alloc().
- kill much dead code.
2000-04-22 17:05:59 +00:00
ragge
3a90b3236e
Forgot a protection #define.
...
Make use of raise-spl.
2000-04-22 17:05:07 +00:00
ragge
8c7cf8f008
Add device switch entry for RL disks. Only uses rom to boot so far.
2000-04-22 16:52:23 +00:00
ragge
cab5a24c60
Recognize RL02 as boot device.
2000-04-22 16:50:44 +00:00
ragge
9b8f75bee1
Add "rl" disk.
2000-04-22 16:48:53 +00:00
ragge
cbf7514ca6
Detect "rl" as root device.
2000-04-22 16:43:47 +00:00
mrg
db956d0701
s#\b#\n# so an error message appears correctly.
2000-04-22 16:42:25 +00:00
thorpej
bedbdf87a4
rl -> rtk
2000-04-22 16:28:48 +00:00
uch
298fbbd162
fix VP3_CFG_INTR_MASK
2000-04-22 15:00:41 +00:00
tsutsui
5f992b6d2b
Rename rl -> rtk.
2000-04-22 13:13:21 +00:00
mrg
5aa4575432
- convert to DPRINTF() style debug messages.
...
- kill dead code.
- use the sbus dv_xname to construct a dvma map map, to pass to
extent_alloc(), to help support multiple sbusses
2000-04-22 12:36:29 +00:00
mrg
6e576e3c03
clean up mdallocsys().
2000-04-22 12:03:33 +00:00
ragge
dd22df3dc8
Ops, forgot to commit this.
2000-04-22 08:19:49 +00:00
groo
7c6a2dcd6d
name change; rl -> rtk
2000-04-22 06:56:20 +00:00
thorpej
cf0a940b9f
Add a pnpbios front-end to the pckbc driver. This is a littke wonky
...
yet.. the keyboard controller actually has 2 PNPBIOS nodes (one to
represent the controller I/O resources and the kbd port IRQ, and one
for the aux port IRQ). To cope with this, we're attaching two instances
of the driver and forge on ahead once both nodes have been seen.
If someone has a better way, please feel free to step forward.
2000-04-22 06:41:34 +00:00
thorpej
1842a5ee3a
Allow pnpbios_getirqnum() to return the share type, as well.
2000-04-22 06:38:24 +00:00
thorpej
8c5710a861
- Declare biosbasemem and biosextmem in <machine/cpu.h>, don't extern
...
them everywhere they're used.
- Avoid integer overflow when converting bios{base,ext}mem (in units of
kilobytes) to bytes.
2000-04-21 18:37:20 +00:00
explorer
79f12736c0
Add (commented out) addcom0 and com* at addcom?
2000-04-21 17:52:06 +00:00
bouyer
f1d93978ae
Rename define 'siop' to 'msiop' to avoid clash with machine-indepndant siop
...
driver. Doesn't change the name of drivers in config files.
2000-04-21 16:53:20 +00:00
bouyer
2ce6bd4b28
Rename the 'siop' define to 'asiop', to avoid clash with the MI siop driver.
...
This doesn't change the name of the drivers in config files.
2000-04-21 16:51:36 +00:00
matt
f52bc62c39
enable in-kernel NTP (so xntpd doesn't die).
2000-04-21 15:16:39 +00:00
shin
a332af2846
delete unused function mips3_TLBReadVPS().
...
reorder insns to avoid mtc0/mfc0 hazard (for VR4100/R4700/RM52xx).
save/restore PageMask in mips3_TLBRead().
2000-04-21 14:14:55 +00:00
shin
e2711a6552
make it compile with -DDEBUG.
2000-04-21 14:10:39 +00:00
tsubai
e27d574b01
Make this compile.
2000-04-21 13:35:27 +00:00
tsubai
14219ebd05
Use dev/ic/com.c.
2000-04-21 07:12:53 +00:00
nisimura
79733cb614
Effort to have consistent comments, fixing one error.
2000-04-21 02:45:01 +00:00
nisimura
3d5a5b03f5
- Address PR#9907. u_pte[1] wired down is left not global sometimes.
...
The brokenness is revealed sporadorically by memory usage on runtime.
- Avoid Vr4100 incompatibilty by making sure to retain default pgMask
value for TLB invalidation routines.
2000-04-21 02:39:55 +00:00
mhitch
ac3bfd5e7f
When the tty intialization was split out of rcons_init(), the call to
...
rcons_ttyinit() was never added to the pmax rasterconsole stuff. Output
to the display using /dev/console has not been working since then. Adding
the call to rcons_ttyinit() makes this work again.
2000-04-20 20:02:34 +00:00
ragge
73e5b4e878
Raise IPL after interrupt, for LANCE chip.
2000-04-20 18:55:50 +00:00
msaitoh
e61941261f
remove a debug log
2000-04-20 14:04:04 +00:00
msaitoh
25f1ebacc1
add a copyfault routine into the TLB miss handler
2000-04-20 14:02:41 +00:00
pk
43cdacc18b
ctx_alloc: set context before flushing a stolen context's cache
2000-04-20 13:59:02 +00:00
tsubai
8bd19349a1
Fill paa_busname field in pcmciabus_attach_args.
2000-04-20 11:51:27 +00:00
tsubai
baa659b825
#include <machine/conf.h>.
2000-04-19 15:56:27 +00:00
tsubai
c88cf26926
Sync with evbsh3.
2000-04-19 14:31:48 +00:00
haya
784977f319
Changes the name of RealTek driver. The new name is `rtk'. This used
...
to be called `rl' and it conflict with RL vax disks, canonical and
historical unix driver name.
This changes are minimal: it only changes the name of RealTek driver.
The filename of source code and a lot of the letter `rl' in source
files should be changed shortly.
2000-04-19 08:44:31 +00:00
pk
e5ab0feccc
Have prom_cngetc() wait until input has been typed.
2000-04-19 08:15:06 +00:00
itojun
3be41bae18
add stf pseudo interface (commented out due to possible security risks)
2000-04-19 06:50:27 +00:00
mrg
19a31e7b5e
add a newline to this fake autoconfig line.
2000-04-19 02:26:08 +00:00
matt
79a5b2164e
Remove autconf stuff. not needed and wrong.
2000-04-18 21:25:31 +00:00
minoura
dd8c46b8be
Explicitly include opt_m680x0.h.
2000-04-18 21:06:06 +00:00
minoura
64a8c7e0c8
defopt M680[2346]0.
2000-04-18 21:04:51 +00:00
matt
414d3f059d
Compile -Os instead of -O2 (optimize for space).
2000-04-18 20:47:04 +00:00
ragge
d334fb3019
Handle NCR5394 SCSI as NCR5380. (Doesn't matter, it will use the ROM
...
routines anyway).
2000-04-18 20:25:13 +00:00
ragge
86d5f2d67d
Add RPB number for VS4000 SCSI.
2000-04-18 20:23:54 +00:00
tsubai
be4988ee6d
Make kernel profiling work.
2000-04-18 17:06:01 +00:00
mhitch
a218b8543c
Enable cache on the 4000/VLC.
2000-04-18 16:28:04 +00:00
mhitch
a90cf56cda
PC_ICR doesn't exist on the 4000/VLC and trying to read it apparently
...
causes problems when the cache is enabled. Don't access it if boardtype
is VAX_BTYP_48.
2000-04-18 16:25:59 +00:00
mhitch
6c0d2ca981
Add some defines gleaned from OpenVMS to enable cache on the 4000/VLC.
2000-04-18 16:23:42 +00:00
tron
939041f1aa
Fix typo in last commit.
2000-04-18 14:48:53 +00:00
eeh
c58f0ee9cd
Prevent the system from getting watchdog reset by returning directly to user
...
mode if restoring the user window traps. Also reduce the time we run with
%tl>0.
2000-04-18 02:12:25 +00:00
eeh
2aec15d3d3
Turn off traptrace before printing a panic message so we don't flush the useful
...
traces out with the printf guts, and wrap some lines at 80 columns.
2000-04-18 02:07:57 +00:00
pk
4665cccb20
Comment-out the RASTERCONSOLE_{BG,FG} color settings; they represent
...
the default initialization.
2000-04-17 21:48:23 +00:00
pk
a558005cec
When constructing `ri_devcmap[]', pack four instances of the LUTs in each
...
32 bit wide entry (as not documented in the non-existent rasops(9)..)
2000-04-17 20:37:28 +00:00
ragge
a1413dca83
Fetch the SCSI ID out of NVRAM instead, if possible.
2000-04-17 20:36:23 +00:00
pk
d5a5871d3c
Make sure to reset the CPU context in ctx_free().
2000-04-17 20:32:00 +00:00
drochner
5e990a7f7c
implement bus_space_vaddr()
2000-04-17 17:39:17 +00:00
drochner
13c9f8d398
implement bus_space_vaddr()
2000-04-17 17:24:48 +00:00
ragge
d37dfad561
DEC have the internal SCSI controller as ID6, and CDROM as ID7.
2000-04-17 16:30:40 +00:00
tron
5bfc315184
Fix typo in comment.
2000-04-17 07:57:21 +00:00
pk
470504f184
Use screen attributes passed to our hardware rasops routines.
...
Move colormap initialization to cg6reset(), so this is also done
on last close of the framebuffer device (e.g. after X server shutdown).
2000-04-16 22:17:03 +00:00
pk
a644297344
Initialize the rasops device colormap to match colormaps used by
...
our supported devices (including even coloured text on the console).
2000-04-16 22:12:05 +00:00
pk
065ce82243
Switch initial colormap setup again to be compatible with the PROM's,
...
i.e. background at index 0: white, foreground at index 255: black.
Also, allocate a slice for an ANSI colormap, so we can experiment
with coloured text on the bare console.
2000-04-16 22:07:24 +00:00
pk
8505eb6375
Slight optimization when searching the video parameter table.
2000-04-16 21:01:43 +00:00
thorpej
2f7f997512
Oops, forgot RCS ID.
2000-04-16 19:46:54 +00:00
thorpej
506bf156e0
Kernel configuration file for my Abit BP6+dual Celeron machine. This
...
could be used as an example configuration file for that motherboard.
2000-04-16 19:46:21 +00:00
matt
ee754e5548
Autoconf for SCSI stuff on VS4000s.
2000-04-16 16:03:42 +00:00
matt
5fa416e77a
This should have never been checked in. it's what this directory is supposed
...
to make. opps.
2000-04-16 15:59:02 +00:00
kleink
903fce95c7
* GC two unused variables.
...
* Printf format nits.
2000-04-16 14:44:03 +00:00
minoura
4d4c982aa3
all -> realall.
2000-04-16 14:19:53 +00:00
minoura
311c19c0d5
Sync w/ GENERIC.
2000-04-16 14:17:59 +00:00
nisimura
a01973aecb
Change the way how pmap_protect() modifies the protection of KSEG2
...
space using MIPS_TBRPL() call. It avoils to 'vistimize' a possibly
useful TLB entry. XXX MachTLBUpdate() will be retired, soon.
2000-04-16 10:16:19 +00:00
nisimura
8feff14832
Fix a typo in the previous change.
2000-04-16 10:08:32 +00:00
ragge
637d2e3a82
Be a little bit more generous with TBIA.
2000-04-16 09:42:22 +00:00
ragge
7ad2b0ede3
Call doshutdownhooks().
2000-04-16 09:41:51 +00:00
nisimura
4edcc4fca2
Change the way to implement zero copy data move in pagemove() using
...
MIPS_TBRPL(). It saves about 20 instructions to run for each
iteration, and avoids TLB polution. Currently works for MIPS1 only
configuration.
2000-04-16 09:09:42 +00:00
nisimura
7717409808
Introduce MIPS_TBRPL() which replaces a TLB entry of given vaddr
...
with new entryHi and entryLo pair iff found in TLB. Works only
for KSEG2 this moment. mips3 version will follow.
2000-04-16 09:00:26 +00:00
tsutsui
95dd4d0f2c
Include "zstty.h" instead of "zsc.h".
2000-04-16 05:42:40 +00:00
takemura
95e706c931
Don't call IsDlgMessage() if we are on Windows CE 2.01.
2000-04-16 03:17:59 +00:00
matt
92b3e1fecd
Use objcopy to emit the binary and linked around for debugging.
2000-04-16 01:44:36 +00:00
matt
5e9394eecb
move ustarfs to end so that '@" can be avoided. from mhitch.
2000-04-16 01:42:41 +00:00
matt
faec4da943
Add missing cases for MARIAH/SOC/NVAX and fix a comment or two.
2000-04-16 01:41:23 +00:00
soda
c56a43535d
remove following symbols which became unnecessary in recent cpu_intr() change:
...
mips_hardware_intr
MIPS3_INTERNAL_TIMER_INTERRUPT
mips3_intr_cycle_count
mips3_timer_delta
2000-04-15 22:05:51 +00:00
soda
94ee00e39d
define `ssir' here, rather than misp/mips/trap.c (like other mips ports)
2000-04-15 22:02:26 +00:00
soda
79bdf6e4a6
adapt interrupt() -> cpu_intr() change
2000-04-15 22:01:14 +00:00
soda
b3dcd5c3ee
add some TODOs.
...
overblocking and related problems are currently common to all mips ports.
2000-04-15 21:57:37 +00:00
scw
9b7b8d2fff
Bah, forgot to add intr.h during my last round of roto-tilling.
2000-04-15 21:20:35 +00:00
scw
8e95e817ec
Move <machine/cpu.h> above <m68k/*.h> so we get M680x0 #defines
...
for those m68k ports which define them in the former file.
2000-04-15 20:31:27 +00:00
is
136b230eaa
Don't use runtime systems' includes.
2000-04-15 20:10:41 +00:00
nisimura
e54e10f9ce
- Withdraw dealfpu() code which has been never useful so far.
...
- XXX It was a mistake to add CP1 insn encoding values into cpuregs.h.
Those will be relocated into mips_opcode.h with some adjustment work.
2000-04-15 06:21:01 +00:00
mrg
2aba26f773
- auxio cleanup and sbus support.
...
- make GENERIC64 include GENERIC and set the 3 optoins it needs. suggested
by hubert feyrer.
- add a comment that we maybe should use the `bpp' driver, not the lpt, on
the ebus because the `bpp' driver does DMA already.
- ebus_attach_args got a member renamed
2000-04-15 03:08:12 +00:00
mrg
e4ca29ac00
kill dead code
2000-04-15 03:07:38 +00:00
tsarna
24d492c6f3
Default the keymap to new "us.iopener" mapping
2000-04-14 23:14:25 +00:00
is
f0b2e9f184
Make this work again after the last changes...
...
remember, folks, potential Amiga console devices run autoconfiguration
_twice_.
2000-04-14 21:56:22 +00:00
is
97df1401a1
Move original Motorola files to the "dist" subdirectory, in response
...
to PR 9626 by Kris Shannon.
2000-04-14 20:24:29 +00:00
pk
20c3689343
Initialize local variable `bt' in cgthree_attach().
2000-04-14 19:36:43 +00:00
augustss
633209364f
Add FTDI FT8U100AX driver.
2000-04-14 14:53:32 +00:00
augustss
689485b4df
Add Rio 500 device.
2000-04-14 14:44:49 +00:00
takemura
1572bc4bfd
Make 'Boot' button to be default push button.
...
You can push return key to boot.
(But it does not work on Windows CE 1.0.)
2000-04-14 14:42:29 +00:00
pk
cd955cb171
dvma_init: avoid integer variable overflow
2000-04-14 14:14:47 +00:00
tsutsui
8d9c5e8206
- Fix comments. (NEWS have Zilog 8530, not Intel 82530)
...
- Fix cdev_tty_init() arg on newsmips (NZSC -> NZSTTY)
2000-04-14 13:41:24 +00:00
tsutsui
7865e586d3
Typo in comments. (Zilog 8350 -> 8530)
2000-04-14 13:29:57 +00:00
tsubai
dd83a9aa4f
Make this compile.
2000-04-14 10:22:06 +00:00
tsubai
0546f6b51a
Adapt cpu_intr change.
2000-04-14 10:11:06 +00:00
mrg
01ff053e58
add bpt and lpt. fixes final gcc warnings for GENERIC.
2000-04-14 08:36:39 +00:00
mrg
af6a8541e4
add some casts to (u_long) to shut up gcc. cleanup unused variables
2000-04-14 08:29:03 +00:00
mrg
726f5f3169
two more compiler warnings killed.
2000-04-14 04:08:26 +00:00
msaitoh
7e7033d239
Catch the breakpoint trap ("trapa #0xc3") and send SIGTRAP.
...
Now works breakpoint and continue!
TODO: single step
2000-04-13 23:00:42 +00:00
soren
0ce39b7430
Typo; user stack only needs to start one page below 0x80000000.
2000-04-13 22:02:54 +00:00
eeh
9b019404f8
Apparently gas 2.9.5 (don't ask) does not like to add values to %lo()
...
directives so move the additions inside %lo() to make it happy.
Hopefully this won't break older versions.
2000-04-13 18:40:27 +00:00
eeh
92aaaad1e1
Make /etc/mk.conf optional for kernel builds.
2000-04-13 16:57:51 +00:00
msaitoh
8796b43e1c
remove sys_vtrace()
2000-04-13 15:54:27 +00:00
msaitoh
c750d5f42d
- save/restore more registers in process_{read,write}_regs()
...
- return EINVAL in process_sstep (temporary)
2000-04-13 15:51:26 +00:00
msaitoh
9c13ab1d7c
KNF
2000-04-13 15:45:11 +00:00
msaitoh
ca4ca0111c
exports MACH and MACL registers, too.
2000-04-13 15:41:55 +00:00
msaitoh
9a41bed54e
move the Interrput Priority Level (IPL_*) definitions into MD part.
2000-04-13 15:36:09 +00:00
tsutsui
934ac598d8
Use "${OBJCOPY} -O binary" to strip a.out header.
2000-04-13 14:44:02 +00:00
mrg
fd85c1c4a2
avoid a potential memory leak.
2000-04-13 14:39:34 +00:00
tsutsui
297d0a58b7
Disable DPRINTF().
2000-04-13 14:19:57 +00:00
mrg
5792df1cf9
- do the "options<space><tab>" thing everywhere.
...
- disable COMPAT_AOUT.
- enable hme at sbus/pci
- enable bpp at sbus
- clean up esp attachments
- enable all xxphy's
- sync GENERIC & GENERIC64.
2000-04-13 11:23:14 +00:00
joda
1498ccad74
add com at cardbus
2000-04-13 11:21:18 +00:00
joda
39a71b22e4
add com at cardbus comment
2000-04-13 11:20:06 +00:00
mrg
fa13d97855
this does not need auxreg.h
2000-04-13 09:54:43 +00:00
mrg
b60fe7f45a
store all the physical address bits.
2000-04-13 09:53:49 +00:00
mrg
e7f3d69787
this does not need auxreg.h
2000-04-13 09:52:46 +00:00
mrg
542f08a422
add a version file.
2000-04-13 09:38:12 +00:00
mrg
f2ab01bf42
copy the "sparc" clean/cleandir target code, so that "cleandir" actually does a "clean"
2000-04-13 09:23:38 +00:00
christos
44c22dc618
make this compile with -DDEBUG_SVR4 [wrong variable name]
2000-04-12 15:13:15 +00:00
takemura
a3c99d2662
Dialog Box style key function. You can push space key to boot.
2000-04-12 15:07:34 +00:00
pk
a388797ed5
Ignore unknown devices on mainbus.
2000-04-12 11:40:12 +00:00
matthias
397c7cc20c
Merge all missing changes from sys/i386/i386/pmap.c;1.88.
2000-04-12 06:23:21 +00:00
nisimura
e7206926ef
Add a comment block describes what the intent of safepri global variable
...
as "During autoconfiguration or after a panic, a sleep will simply ..."
2000-04-12 04:40:50 +00:00
nisimura
cce3288e2f
Backout the previous change; safepri is an evil idea after all.
2000-04-12 04:30:35 +00:00
chs
1f7a988bd2
unconditionalize "ifdef sparc".
2000-04-12 04:06:41 +00:00
nisimura
19156689a9
- Abandon processor type check for R3000 or R4000/R4400 because VAX
...
processor is unlikely able to boot the kernel.
- Correct comments about what mach_init() and cpu_startup() do.
- Relocate cn_tab = &promcd to make ROM console printf() work in the
earliest stage of boot.
2000-04-12 03:05:08 +00:00
nisimura
a889c809fd
MIPS1_PSL_LOWIPL -> PSL_LOWPSL. No functional change is expected.
2000-04-12 02:01:07 +00:00
nisimura
ce0937324b
- Move a loop invariant of 'if (CPUISMIPS3)' out of pagemove().
...
- XXX I'm not sure whether the anticipatory MachTLBUpdate(to, pte) is
a gain or loss on runtime. If not a loss, it should be MIPS_TBIS().
2000-04-12 01:37:58 +00:00
nisimura
85f3855a8c
- Implement mips3_TBIAP().
...
- Remove obsoluted routines in locore_mips3.S
- addiu -> addu, andi -> and, ori -> or.
2000-04-12 01:05:34 +00:00
mrg
1fdef1b204
deja vu: add "struct device *booted_device;" so raidframe links.
2000-04-12 00:47:10 +00:00
uch
441ca96c28
sync with new mips trap.c
2000-04-11 17:57:42 +00:00
castor
4ebaf4d105
Taken from Jeff Smith <jeffs@geocast.com>:
...
Fix regress/lib/libc/ieeefp/except for MIPS. Newer FPE handling code
did not generate SIGFPE, but always SIGILL. Add this back to the
assembly code. The QED 5231 requests the kernel emulates some of
the conditions that generate an SIGFPE, but when the emulation code
did a ctc1 to fsr with an exception the kernel got a FPE in kernel mode.
Fix this by saving the fp regs earlier, then saving the new FSR in
the context. This allows the FSR value to be seen by the SIGFPE
handler.
Add fp emulation for 8 mips2 fpu instructions to handle exceptions
(round.w.fmt, trunc.w.fmt, ceil.w.fmt, floor.w.fmt). This lets
perl5 run when compiled -mips2.
2000-04-11 16:28:05 +00:00
nisimura
8bbdc89989
One more line escaped from trap.c rework.
2000-04-11 12:05:35 +00:00
leo
7d08f8e623
Add dummies for barrier methods (copied from i386).
2000-04-11 07:12:47 +00:00
leo
9b47c7431d
Now what are we doing with the return value of splx()? (probably a pasto)
2000-04-11 07:08:45 +00:00
nisimura
678a23b345
Forgot to remove mips_hardware_intr global variable.
2000-04-11 06:50:37 +00:00
matthias
156e51244a
Fix typo, DIAGNOSITC -> DIAGNOSTIC
2000-04-11 06:30:28 +00:00
nisimura
aa4f967e51
Abandon rather random distinctions in andi/addiu coding and make
...
them consistent with and/addu instrunction mnemonics which produce
exactly same binaries.
2000-04-11 04:53:57 +00:00
nisimura
dba7b560cd
Load delay slot is automagically adjusted at runtime since MIPS II
...
architecture.
2000-04-11 04:39:14 +00:00
chs
a6d33cc1f2
add a new function vn_marktext() for exec code to let others know
...
that the vnode is now being used as process text.
2000-04-11 04:37:47 +00:00
nisimura
3dd5742b63
Change to have cpu_intr() peculiar to DECstations; have ssir global
...
variable and cpu_intr() body in machdep.c. Reorder and rename
model specific interrupt handler arguments. Fixup machine/intr.h and
machine/cpu.h appropriately.
2000-04-11 02:43:51 +00:00
nisimura
e342080364
Introduce cpu_intr() whose body is now provided by target ports in
...
their own ways. Ugly fixup #define in machine/intr.h have gone.
mips_hardware_intr global variable patch work has gone.
2000-04-11 02:30:14 +00:00
nisimura
4f3093c121
Remove various TLB manipulation routines which have been unused
...
long time, commented out and is unlikely useful; TLBWriteIndexed(),
TLBWriteRandom(), TLBFlush(), TLBFlushPID() and TLBFind().
2000-04-11 01:32:19 +00:00
uch
b16a6100aa
comment out SOFTDEP
...
add upl, uvisor.
2000-04-10 17:44:06 +00:00
mrg
b2d31a5cc9
- fix a speeling error
...
- rename some numbered labels to be a bit less confusing.
- remove dead code
- fix a debug error message (argh!)
2000-04-10 16:28:56 +00:00
mrg
cb2b15a484
- UltraSPARC IIi does not have streaming buffers; don't try to find it's
...
diag regsiter to work out why the (non-existant) strbufs don't work.
- check for malloc failure in _all_ places.
- setup the PCI control register as recommended in the IIi users manual.
2000-04-10 16:11:23 +00:00
mrg
79f22c2c51
UltraSPARC IIi CPU has bits 6-10 of the INO hardwired to 1. when we
...
install an interrupt handler, make sure we set these bits to 1. now,
interrupt_vector in locore can find our registered interrupt handlers
and at least try to setup a call to them.
2000-04-10 16:07:50 +00:00
mrg
304778e6c2
- IRSR_BUSY is bit 5 not bit 4.
...
- IRSR_MID(x) is &'d with 0x1f (5 bits) not 0xf.
2000-04-10 16:05:13 +00:00
mrg
f7618dcb04
add 4 more bits for the PCI control register
2000-04-10 16:04:02 +00:00
pk
cfadc0991a
Get a kernel without DDB to build.
2000-04-10 13:34:18 +00:00
nisimura
53e7a8c8d5
- Fix a bug in mips1_TBIAP() misbehaving like as mips1_TBIA().
...
- Adjust comments to reflect what it does.
2000-04-10 11:38:16 +00:00
simonb
3d6b29f228
Use UVM_PGA_ZERO in uvm_pagealloc() calls instead of using pmap_zero_page().
2000-04-10 08:50:20 +00:00
haya
f0f4d101b2
Add rl cardbus attachment.
2000-04-10 07:58:18 +00:00
thorpej
d37f3bd4ee
Use UVM_PGA_ZERO in pmap_alloc_ptp().
2000-04-10 06:34:11 +00:00
simonb
856c6ff149
Remove duplicate CTL_MACHDEP definitions (duplicated in <alpha/cpu.h>).
2000-04-10 06:04:28 +00:00
nisimura
ea23dc6364
Make sure ASID management is done in the same way of NetBSD/alpha. Rename
...
and change 'pmap_alloc_asid()' into 'pmap_asid_alloc()'
2000-04-10 05:34:27 +00:00
nisimura
c84ed44f75
Make (sure) ASID management same as what NetBSD/alpha does for ASN.
...
ASID#0 is reserved for pmap0 shared between proc0 and kthreads,
and every TLB for KSEG2 has G (global) bit to have wildcard match
regardless of the process' ASID. MIPS1 would flush TLBs belong
to user spaces upon ASID generation bump. Change for MIPS3 is
to be done.
2000-04-10 04:59:46 +00:00
matt
9434b7b19e
Add fix for VS4000 SCSI hangs on disk writes. Add a VAX_BUS_DMA_SPILLPAGE
...
and use it in the asc_vsbus driver.
2000-04-10 03:49:56 +00:00
simonb
e2b66b68da
Small white space and 80col wraparound cleanups.
2000-04-10 01:53:11 +00:00
chs
19de42337d
add rudimentary support for tracing stacks back into user space.
2000-04-10 01:22:09 +00:00
chs
7e160e9e20
add newline at end of debug printf.
2000-04-10 01:21:06 +00:00
chs
64bb56dcc8
add decls for fd driver.
2000-04-10 01:19:13 +00:00
thorpej
a9f69b00d2
Use UVM_PGA_ZERO.
2000-04-10 00:48:35 +00:00
ragge
8d2f5fd273
Fix TOY clock reading/writing on KA820.
2000-04-09 21:05:39 +00:00
augustss
b0789bc4f4
Add upl(4) driver. Uncomment uvisor(4) driver.
2000-04-09 18:34:02 +00:00
ragge
9b917327ac
Add insqti/remqhi macros. These macros are interlock queue instructions
...
used in multiprocessor systems as well as in uniprocessor environments
with intelligent I/O devices.
2000-04-09 16:37:09 +00:00
uch
b6627b36a0
add rnd, IPV6 etc.
2000-04-09 14:14:50 +00:00
takemura
f83087efc5
Add pseudo device 'rnd' for /dev/random.
2000-04-09 08:28:00 +00:00
takemura
2c13222ffc
Delete needless #if.
2000-04-09 08:26:15 +00:00
christos
0884c7e58f
Disable previous; it makes things worse.
2000-04-09 05:48:07 +00:00
christos
d1ea7c73a4
Try to emulate the svr4 setpsr trap. Needed by lwp.
2000-04-09 05:25:37 +00:00
mark
b9156eec05
Add missing include of vm/vm.h
2000-04-09 00:18:12 +00:00
soren
ea5325726d
Be a little more careful parsing boot parameters.
2000-04-09 00:13:54 +00:00
soren
579f97d5c5
The interrupt line registers for the devices wired directly to the CPU
...
are not meaningfull. Instead match them by {bus,device,pin}.
2000-04-09 00:13:27 +00:00
soren
43a7ae04c9
Disabling PCI Memory Read Multiple improves Tulip transmit performance 30%.
2000-04-09 00:11:51 +00:00
soren
09ad839ab3
This file has been superseded by the MI ELF code.
2000-04-08 22:30:26 +00:00
tsarna
12188e5241
A GENERIC-like configuration for the Netpliance i-opener.
2000-04-08 21:27:07 +00:00
kleink
87e3081158
Make this actually configure.
2000-04-08 18:16:42 +00:00
mrg
e2ed27832e
with these two, POWEROFSEVEN now compiles cleanly.
2000-04-08 15:15:41 +00:00
mrg
171d3a1576
don't use -Wuninitialized
2000-04-08 04:46:15 +00:00
mrg
d0be8351d9
add casts to stop gcc complaining
2000-04-08 04:45:41 +00:00
mrg
4583d39d24
correct the pci ino->ipl table. shut up gcc once more.
2000-04-08 04:35:01 +00:00
mrg
5b5f175f38
- store the ebus's parent so we can find the IOMMU
...
- use generic iommu routines in the ebus code (uses the above)
- add some more comments.
2000-04-08 04:33:09 +00:00
mrg
d360a37afd
- remove unused variable.
...
- include <sparc64/sparc64/cache.h> to get cache_flush() prototype.
- remove an unnecessary cast.
2000-04-08 04:17:31 +00:00
mrg
34d04ff6db
include <ddb/db_output.h> to get the db_printf() prototype.
2000-04-08 03:09:00 +00:00
mrg
748cfc6b99
rearrange a little to accommodate real SUNW,psycho support.
2000-04-08 03:08:20 +00:00
mrg
70e38e4034
actually, i wrote these in 2000
2000-04-08 03:07:07 +00:00
soren
aa4c70110e
Move the start of the user stack down a little to account for the
...
virtual address checking done by the R8000 and some QED CPUs.
From Jeff Smith.
2000-04-07 21:50:08 +00:00
aymeric
8e8e291c78
Prevent serial port from hanging when used as both console and terminal.
2000-04-07 19:47:18 +00:00
nathanw
69b1a83709
Restore sysbeep (accidentally removed in last commit).
2000-04-07 18:58:09 +00:00
thorpej
4044b5a41c
Use separate callouts for motor-on and motor-off. Fixes a condition
...
where the floppy driver would wedge because a motor-on timeout would
be cancelled by another I/O operation cancelling a motor-off timeout.
From enami tsugutomo <enami@sm.sony.co.jp>.
2000-04-07 16:58:53 +00:00
thorpej
6dd5a9db6e
Use dev/isa/fd.c.
2000-04-07 16:35:19 +00:00
tsubai
2ca39ceddf
Make this compile again.
2000-04-07 14:35:58 +00:00
tsutsui
85bebee4a9
Use proper virtual address for some devices.
...
The transparent translation register is no longer required.
2000-04-07 12:09:30 +00:00
wiz
afc40c7421
comment out (erroneously?) added mcabus, until dev/mca exists
2000-04-06 23:55:04 +00:00
mrg
580ccd66ad
make this work with years-old new-style mdsetimage, etc.
2000-04-06 13:39:26 +00:00
jdolecek
cef3c93f82
Switch to MI ns_cksum.c - the MD ns_cksum.c is equivalent to it
...
(modulo some u_intX_t vs. u_char type usage). In particular, the
MD version didn't contain any MD code.
2000-04-06 13:37:49 +00:00
mrg
966add799c
avoid some more compiler warnings, and fix a couple of errors.
2000-04-06 13:32:49 +00:00
mrg
6b64191106
add some more casts to shut up gcc.
2000-04-06 12:49:00 +00:00
mrg
736ce53ae5
- #include "opt_ddb.h" to get correct Debugger() prototype.
...
- add some (u_long) casts to shut up GCC.
2000-04-06 12:17:26 +00:00
mrg
2809e2c3c4
cast to u_int64_t before shifting by 32 bits; avoids compiler warning.
2000-04-06 12:08:34 +00:00
is
1edce49e66
Bug fixes for 68020only or 68030only machines, by Aymeric Vincent.
2000-04-05 19:38:33 +00:00
ad
031d0221e7
Only spew about every interrupt that gets hooked up if DEBUG is defined
...
(i.e. not DIAGNOSTIC).
2000-04-05 17:49:55 +00:00
mrg
c4436b3c73
add some comments, clean this up a bit.
2000-04-05 14:30:44 +00:00
mrg
410a32c515
enable auxio at ebus.
2000-04-05 14:28:55 +00:00
mrg
21adbdd7d0
after enabling the streaming buffer, check to see that it is actually
...
there and enabled. if it appears to be missing or not enabled, do
not use it.
2000-04-05 14:26:51 +00:00
mrg
ff95126059
add a couple of comments.
2000-04-05 14:23:45 +00:00
mrg
b986c284fe
correct a message
2000-04-05 14:23:27 +00:00
mrg
cb71509569
be slightly more verbose when attaching ebus devices.
2000-04-05 12:30:42 +00:00
jdolecek
2a0b424186
LKM fixes:
...
* fix a typo in callout_stop() call
* prototype fd_mod_init(), fd_mod_free() to avoid warnings
* include iwm_mod.h
Fix sent in port-mac68k/9787 by Dave Huang.
2000-04-05 11:37:13 +00:00
jdolecek
8857b94a5c
winchip_cpu_setup(): restructure code to avoid warning when I586_CPU is not defined
2000-04-05 10:09:50 +00:00
mrg
add6dbf96c
clean this up some.
2000-04-05 08:03:03 +00:00
mrg
f4e31c4b14
attach auxio at ebus
2000-04-05 07:58:44 +00:00
mrg
9933bfdf9c
driver for the PCI/ebus AUXIO registers.
2000-04-05 07:52:48 +00:00
jdolecek
7bc4915fcd
Disable TSC on WinChip C6, add WinChip 2 & WinChip 3 entries.
...
From Kamo Hiroyasu <wd@ics.nara-wu.ac.jp> OpenBSD kern/991
via Takahiro Kambe <taca@sky.yamashina.kyoto.jp>.
2000-04-05 07:46:33 +00:00
scottr
3ca0215f69
Correct a pasto in pm_pmgrop_pm1(); while there were no negative side
...
effects, the place this code ended up couldn't have had any positive
effect, either.
2000-04-05 07:29:18 +00:00
scottr
15a3a17a43
Correct a few instances where we returned from a function that
...
had set splhigh() but returned without restoring the previous spl.
The PowerBook keyboard works better, now, but still starts to flake
out pretty badly at 70+ wpm.
2000-04-05 07:18:07 +00:00
mrg
508af4078f
- go through a list of kernels like other ports do.
...
- don't drop off the partition from the boot device, so that we
can boot from partitions that aren't the start of the disk...
2000-04-05 06:23:33 +00:00
mrg
66ca8568fe
minor cleanup.
2000-04-05 06:21:14 +00:00
mrg
f3468bd3d8
use DPRINTF() style debug messages; s/sbus/iommu/ in a few remaining places.
2000-04-05 05:59:03 +00:00
mrg
fe2a55b12c
include opt_ddb.h. use generic iommu enter/remove/flush routines
2000-04-05 03:08:03 +00:00
mrg
ef18ba9083
include opt_ddb.h
2000-04-05 03:05:15 +00:00
mrg
7928eb6d98
add "hme at pci" support. also, add "nsphy at mii" and other mii stuff
2000-04-05 02:34:19 +00:00
pk
99dbc425e9
Use copyin/copyout to get a colormap from/to user space.
...
Also, prepare for the case of a colormap maintained in kernel space.
2000-04-04 21:47:17 +00:00
thorpej
d11a9a62e2
Fix fallout from callout.
2000-04-04 17:20:54 +00:00
aymeric
fdbfdd90f2
added two vaddr_t casts so that this compiles again with -DDEBUG
2000-04-03 15:07:07 +00:00
soda
1c5551f260
splsoftnet() should block softclock() too.
2000-04-03 11:44:19 +00:00
tsubai
c1acffff5c
When call a signal handler, don't pass the kernel (local) address in r5.
2000-04-03 10:23:24 +00:00
simonb
9edec906b5
Removing trailing comma from enum declaration.
2000-04-03 05:58:31 +00:00
sato
8bf945e9b3
push power button, send POWERCONTROL_LCD event.
2000-04-03 04:32:00 +00:00
sato
0f3ba7133a
MCR-300, MC-CS LCD on/off port.
2000-04-03 04:31:05 +00:00
sato
126ead3471
add some events.
2000-04-03 03:48:42 +00:00