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
sato
c1f0f12753
- hpcmips_verbose
...
- pbsdboot -v option
- WIN I/O setting
- vrisa IRQ GPIO mapping
- memory banks.
2000-04-03 03:39:58 +00:00