drochner
0717077eea
The joystick driver is using mi timing code for many months.
...
Noone complained, so we can remove the unused md versions.
2005-02-18 15:39:17 +00:00
tsutsui
9411ae0318
and add options COMPAT_20.
2005-02-17 14:44:50 +00:00
tsutsui
04c0426781
Add options COMPAT_16.
2005-02-17 14:44:06 +00:00
tsutsui
061b204c56
user_backtrace() is used if DEBUG or USERTRACE is defined, but not DIAGNOSTIC.
2005-02-17 14:19:49 +00:00
he
932c2bb115
In the __lint__ version of __builtin_va_arg(), apply the cast the
...
user specified. Fixes build problem.
2005-02-17 08:35:24 +00:00
briggs
367930c274
Add (back) spr.h
2005-02-17 02:24:47 +00:00
briggs
6451b0332b
Update to a kcore_hdr_t that is useful for OEA-style CPUs. Adding
...
support for Book-E and other CPUs will require updating this structure
appropriately.
Contributed by Wasabi Systems, Inc.
2005-02-17 02:21:28 +00:00
briggs
7e9ffb8e19
Install spr.h
2005-02-17 02:14:23 +00:00
jwise
5af43e174b
FFS_SNAPSHOT does not need to be here _twice_, once on, once off. Obviously,
...
we keep the one that's on, so as not to change meaning.
2005-02-15 21:07:37 +00:00
christos
0ed5e83fbf
Don't always increment i, because when we reach the end of the array we'll
...
die.
2005-02-15 16:10:02 +00:00
briggs
a3b97e0765
twe doesn't get a block device.
2005-02-14 18:17:41 +00:00
chs
589a29e548
fix an off-by-on in pmap_check_wiring(): we increment the PTP refcount
...
before calling this, so it's ok to see the max value here.
2005-02-14 02:15:43 +00:00
chs
4d33e8a954
move recursion-detection code inside interrupt-protected region. PR 24254.
2005-02-13 02:03:54 +00:00
chs
365df27e4b
in sparc_interrupt(), wait to enable interrupts until just before calling
...
the handler and disable them again right after the handler returns.
we don't want another hardware interrupt coming in while we're mucking
with the list pointers. also, clear the intrhand's ih_pending pointer
before calling the handler rather than after, so that if another interrupt
comes in while the handler is running, we can put the intrhand back on
the list so it will be called again.
in send_softint(), disable interrupts via %pstate instead of %pil, so that
hardware interrupts at higher levels are blocked while we manipulate the
intrpending list. also, if the intrhand already has ih_pending set,
don't bother poking the SET_SOFTINT register again, since being on the list
implies that there is already a softint pending in the hardware.
these appear to fix PR 21750 (the "sleep forever" problem).
while I'm here, remove more vestiges of the !INTRLIST softint stuff
(code and comments). and in sparc64_ipi_flush_all(), interrupts are
already disabled so we don't need to fiddle with %pstate.
2005-02-12 21:32:56 +00:00
jdolecek
f40d6d8ba8
add npx* at pnpbios? (commented out)
2005-02-12 13:07:27 +00:00
rearnsha
ef3f4c0f7e
DMA on the i31244 is now enabled by default.
2005-02-12 10:23:21 +00:00
rearnsha
16574672f1
Document the types and addresses of the IIC devices
...
(Disabled, beacuse they seem to be non-functional at present).
2005-02-12 09:59:29 +00:00
rearnsha
fdac3760e5
... but make it's filesystem type FFS (not NFS :-).
2005-02-12 09:54:36 +00:00
rearnsha
3633c570d2
Build a kernel variant with root on wd0.
2005-02-12 09:53:27 +00:00
rearnsha
d8a87d92cb
Bump the symtab space
2005-02-12 09:51:05 +00:00
rearnsha
6085be19d6
Redboot defaults to a console speed of 115200 baud on this board.
2005-02-12 09:49:40 +00:00
rearnsha
699b0c2c38
This board has a 33.0 crystal, so the counter speed comes out at 198MHz
2005-02-12 09:45:49 +00:00
rearnsha
31711b756b
Permit the counter frequency to be overridden by a board configuration
2005-02-12 09:44:15 +00:00
nakayama
2d2c3aa5fa
Make 32-bit kernels with DIAGNOSTIC compile again.
2005-02-12 09:38:28 +00:00
yamt
05617b0ee7
hp300 part of the following change,
...
which was missed due to a sticky tag in my local tree.
pointed by Izumi Tsutsui.
> remove uvm_map_protect from cpu_startup of several ports.
> - they shouldn't be needed with the current fault handler.
> - they causes assertion failure with the recent vm_map implementation.
>
> discussed on tech-kern@. reviewed by Chuck Silvers.
> PR/29179 from Julio M. Merino Vidal.
2005-02-12 08:17:38 +00:00
briggs
ef57c7b216
Add twe.
2005-02-12 03:24:39 +00:00
matt
4612c7a119
When building kernel for OEA, allow unaligned accesses since OEA
...
processors will deal with them properly.
2005-02-12 00:03:21 +00:00
jdc
7fa1245cbb
Add some PCMCIA devices that were missing.
...
Add/fix comments.
2005-02-11 18:26:59 +00:00
yamt
18acc63fc4
remove uvm_map_protect from cpu_startup of several ports.
...
- they shouldn't be needed with the current fault handler.
- they causes assertion failure with the recent vm_map implementation.
discussed on tech-kern@. reviewed by Chuck Silvers.
PR/29179 from Julio M. Merino Vidal.
2005-02-11 15:03:55 +00:00
ws
b2bdc38871
Prevent integer overflow.
...
Fixes PR29332.
2005-02-11 11:01:10 +00:00
dsl
05e2f6ebdb
Add 'option FFS_SNAPSHOT' to most of the config files.
...
Commented out for kernels that appear to hace space constraints.
2005-02-11 08:25:53 +00:00
simonb
3cebd9325e
White space nit- don't put a space before/after increment/decrement
...
operators.
2005-02-11 06:21:21 +00:00
chs
9d5ffb80d3
remove redundant initialization of minaddr for uvm_km_suballoc().
2005-02-11 02:09:39 +00:00
drochner
342b8a4cf8
Recognize an obscure cpu feature flag bit "xTPR"
...
which indicates that Task Priority Messages might
be disabled. Not relevant for the kernel for now
(related to interrupt distribution on the APIC bus
afaict), but present on one of my boxes.
Being here, also recognise the future "Vanderpool"
extension.
2005-02-10 20:52:52 +00:00
tsutsui
b611bd6446
Allocate struct todr_chip_handle in struct rtc_softc rather than
...
using MALLOC(9).
2005-02-10 16:07:38 +00:00
ws
5964df620b
Increase max data size, now that the Xserver can grok it.
...
(It was the only program that couldn't.)
2005-02-10 10:42:04 +00:00
cube
8066f529e3
Fix typo reported by Patrick Welche on current-users.
2005-02-09 16:13:40 +00:00
fvdl
6851058ed5
if 0 out the parts of the code that allocated VM space per CPU for GDTs.
...
Seperate GDTs are not used on amd64 because it doesn't need any seperate
descriptors per CPU.
2005-02-08 09:02:01 +00:00
he
44315eaaa0
Remove a now-extraneous right parenthesis, after de-__P'ing.
2005-02-08 08:36:22 +00:00
pk
d1a1682842
turbosparc_cache_enable: record the external cache size for informational
...
puposes.
2005-02-06 20:22:15 +00:00
martin
1bc16b6a61
Add uhci.
2005-02-06 18:27:41 +00:00
tsutsui
ad494d3b04
Change u_int -> uint32_t, u_char,char -> uint8_t where appropriate.
2005-02-06 02:58:15 +00:00
tsutsui
a60e4db92a
Oops, backout previous. They are actually needed there.
2005-02-06 02:56:15 +00:00
tsutsui
79969e68f2
Remove function decls which are in <machine/intr.h>
2005-02-06 02:40:14 +00:00
tsutsui
521796afe7
- remove __P()
...
- use do{}while(0) and remove register decl for DELAY() macro
2005-02-06 02:39:21 +00:00
tsutsui
6930b9d38b
one more u_intNN_t -> uintNN_t
2005-02-06 02:36:01 +00:00
tsutsui
fd4afa037b
Misc cleanup:
...
- ANSI function decls
- remove __P()
- u_intNN_t -> uintNN_t
- remove register decls
- bcopy -> memcpy, strcpy
- bzero -> memset
- bcmp -> memcmp
- use malloc(9) with M_ZERO
- some KNF
etc.
2005-02-06 02:18:02 +00:00
chs
86688c638a
always map kernel text read-only.
2005-02-05 23:50:05 +00:00
chs
42c10f81be
remove some leftover references to a.out symbol names.
2005-02-05 23:48:49 +00:00
chs
37436571dd
make this compile with DEBUG.
2005-02-05 16:19:35 +00:00