hauke
3d7f38ec94
Fix a warning from gcc 4 about stripping the volatile qualifier by a cast
...
by doing the proper __UNVOLATILE() dance.
2007-06-23 15:32:56 +00:00
mhitch
d2eac2f631
Pass a frame pointer to trap() rather than the 'entire frame' trick. Gcc4
...
was optimizing away modifications to the frame contents (it's not nice to
trick gcc). Pass the pointer as the first argument to reduce the number
of places that would be changed otherwise. Fixes the getcwd regression
test on most m68k ports.
2007-06-12 03:34:28 +00:00
martin
fda9709385
Add pseudo-device agr to more kernels
2007-06-06 08:19:10 +00:00
martin
c2534a819b
Add pseudo-device agr to all GENERIC kernels where it might make sense
...
(commented out in some).
2007-06-04 08:55:18 +00:00
tsutsui
c0f042edea
- Don't refer fputype before FPU is probed.
...
- Call m68k_make_fpu_idle_frame() from initfpu().
2007-06-02 06:23:56 +00:00
tsutsui
f9527bedb6
Remove an obsolete file. (superseded by MI mk48txx(4))
2007-05-18 10:29:25 +00:00
tsutsui
bd2911249c
Adapt sun68k ports to yamt-idlelwp.
...
Tested on TME (sun2 and sun3) and 3/80 (sun3x).
2007-05-18 10:18:24 +00:00
ad
59d979c5f1
Pass an ipl argument to pool_init/POOL_INIT to be used when initializing
...
the pool's lock.
2007-03-12 18:18:22 +00:00
tsutsui
736b47b76e
Fix printf formats in #ifdef DEBUG.
2007-03-12 12:03:18 +00:00
tsutsui
53e49fd6c8
Remove splzs() definition, which is in <sun68k/intr.h>.
2007-03-11 06:21:46 +00:00
tsutsui
27c7c429f6
Call zsc_intr_soft() directly on softintr() since spltty()
...
will be set by each handler (zstty_softint() or kbd_zs_softint()).
2007-03-11 06:20:39 +00:00
tsutsui
9584de92d9
Use (char *) casts.
...
Umm, vmmap on sun3/sun3x is vaddr_t, not (char *)...
2007-03-04 14:03:03 +00:00
tsutsui
6b6f21d112
Use (char *) on pointer arith.
2007-03-04 14:01:22 +00:00
tsutsui
a6dd0468f5
Use proper casts.
2007-03-04 14:00:54 +00:00
tsutsui
006ca42cab
Minor space nits.
2007-03-04 14:00:24 +00:00
tsutsui
bc8b643653
Add (char *) casts on pointer arith.
2007-03-04 13:59:47 +00:00
christos
53524e44ef
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
2007-03-04 05:59:00 +00:00
thorpej
f6d76ae22a
TRUE -> true, FALSE -> false
2007-02-22 16:45:48 +00:00
tsutsui
ae63cdb7c0
Fix lossage on bool changes.
2007-02-22 14:39:34 +00:00
thorpej
712239e366
Replace the Mach-derived boolean_t type with the C99 bool type. A
...
future commit will replace use of TRUE and FALSE with true and false.
2007-02-21 22:59:35 +00:00
ad
36bb413e0d
More spllowersoftclock() fallout.
2007-02-16 13:55:42 +00:00
reinoud
43061c75ae
Rename the B_XXX flag to B_DEVPRIVATE flag since it was never used for
...
debugging and its main use is in device drivers. Its used there to signal
that the flagged buffer has a special meaning or should be handled
differently.
OK'd by Bill Sudenmund on tech-kern.
2007-02-15 18:33:26 +00:00
ad
b07ec3fc38
Merge newlock2 to head.
2007-02-09 21:55:00 +00:00
tsutsui
6e3b5f512c
Remove unused dh_addr member from struct si_dma_handle.
2007-02-04 01:38:34 +00:00
tsutsui
e32f083d80
Remove leftover debug stuff which could break si_obio DMA.
2007-02-04 01:37:09 +00:00
tsutsui
f7397aaa8c
Make si at obio and si at vme on sun3 use bus_dma(9) for data xfer.
...
XXX1: Only si at vme on TME is tested.
XXX2: No info about DMA on si at sebuf. (bounce buffer required?)
2007-02-03 18:02:57 +00:00
tsutsui
277e6a5263
Prepare bus_dma(9) structures for sun3 obio devices.
2007-02-03 17:00:37 +00:00
tsutsui
5ec98f218f
Add bus_space(9) and bus_dma(9) glue to sun3 MD VME attachment
...
to test these APIs on TME.
XXX I hope these sun3 MD VME stuff will be replaced by MI VME driver soon.
2007-02-03 16:58:08 +00:00
tsutsui
39bbf3e6c5
Implement bus_dmamap_load(9) and bus_dmamap_unload(9) for sun3.
2007-02-03 16:51:13 +00:00
tsutsui
3c39b23802
Fix botch in #ifdef DIAGNOSTIC.
2007-02-03 05:20:31 +00:00
tsutsui
b19c5b0bc7
Make esp and its dma on 3/80 use bus_dma(9).
...
XXX: Maybe we should consider to use MI sys/dev/ic/lsi64854.c.
2007-02-03 05:17:30 +00:00
tsutsui
8763f0bf0e
Prepare bus_dma(9) structures for sun3x obio devices.
2007-02-03 05:14:38 +00:00
tsutsui
2fce94aa7d
Implement bus_dmamap_load(9) and bus_dmamap_unload(9) for sun3x.
2007-02-03 05:13:58 +00:00
tsutsui
4f989cd028
KNF
2007-02-02 15:50:58 +00:00
tsutsui
920dd50438
Use bus_space(9).
2007-01-23 15:58:22 +00:00
elad
1e70d64818
Consistent usage of KAUTH_GENERIC_ISSUSER.
2007-01-04 16:55:29 +00:00
yamt
3f0f3de613
update comments on NFS_V2_ONLY after nqnfs removal. no functional changes.
...
from Arnaud Lacombe.
2006-12-29 21:49:03 +00:00
wiz
6919c6578c
s/independant/independent/, from Zafer.
2006-11-24 22:04:21 +00:00
christos
1665d5e960
fix spelling of accommodate; from Zapher.
2006-11-24 19:46:58 +00:00
jmmv
7a13fe4abf
Remove tmpfs's experimental status. OK'ed by core@.
2006-11-11 18:47:08 +00:00
mrg
648bbec934
in cpu_dumpconf(), don't panic() if we can't bdevsw_lookup() the
...
dumpdev. this occurs when we try to set the dumpdev to a device
with no driver loaded. this fixes PR#34872.
in sys_swapctl, if bdevsw_lookup() fails, set dumpdev = NODEV
before calling cpu_dumpconf(). (this also fixes PR#34872.)
XXX: cpu_dumpconf() should probably be changed to take a dumpdev
XXX: and return an error in such cases, but that is a much more
XXX: intrusive change.
XXX2: this is only run-tested on sparc64 and compile tested on a
XXX2: couple of platforms.
2006-10-21 05:54:31 +00:00
tsutsui
85174f3709
Make this compile with FD_DEBUG.
2006-10-14 08:11:16 +00:00
tsutsui
62600ecc57
Replace magic numbers with proper macro.
2006-10-10 17:45:43 +00:00
tsutsui
f7d5502c71
Use IPL_BIO rather than (temporarily defined) IPL_SOFT_LEVEL2.
...
Both of them share cpu ipl 2, and maybe it's intentional design
since fd.c uses ipl 6 for hardware interrupt.
2006-10-06 12:54:14 +00:00
tsutsui
0b2c7040b5
Make sun3 use common sun68k/sun68k/isr.c, sun68k/include/cpu.h and
...
sun68k/include/intr.h.
This also means now sun3 has GENERIC_SOFT_INTERRUPTS support,
so also adapt fd.c and zs.c to MI softintr(9) APIs.
(I'll also update related sources in yamt-splraiseipl branch later)
2006-10-05 14:46:11 +00:00
tsutsui
5194905263
Make sun3 port use MI mk48txx(4) and intersil7170(4) TOD clock drivers
...
with bus_space(9) support.
Note clock device name in obio.sun3 is renamed to oclock to use the same
MI attribute (intersil7170) with sun3x.
Tested on 3/80 and TME emulating 3/120 (but not on 3/4xx VME monsters).
2006-10-04 15:14:49 +00:00
tsutsui
c207dcd880
- change find_prom_map() to take paddr_t and return vaddr_t rather than
...
bus_space_handle_t since bus space handle without bus space tag looks weird
- replace old sun3 obio_find_mapping() with new common find_prom_map()
- add bus_space_vaddr(), from hp300
2006-10-03 13:02:32 +00:00
chs
e8295642bd
remove MALLOC_NOINLINE, it doesn't do anything anymore.
2006-10-02 03:28:29 +00:00
elad
e8373398dc
Adapt MD code to KAUTH_DEVICE_TTY_OPEN. Patch from Matt Fleming, thanks!
2006-10-01 18:56:21 +00:00
tsutsui
6740d1fc1c
Don't forget to initialize obio_space_tag.
2006-10-01 06:26:01 +00:00