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