chs
ccbcd7c873
use queue.h macros and other misc cleanup.
2000-11-24 18:54:31 +00:00
tsutsui
1e1862bc57
Add another font from 4.4BSD-Lite2/luna68k.
2000-11-24 15:47:15 +00:00
scw
bf5610e667
Some minor optimisations.
2000-11-24 14:49:44 +00:00
tsutsui
6d8f55d932
Use single_inst_b{set,clr}_b() macro defined in m68k/asm_single.h.
2000-11-24 14:08:14 +00:00
tsutsui
5ed7dadbfb
Enable rnd and comment out CD9660. (no SCSI support on news1200 yet)
2000-11-24 13:05:31 +00:00
tsutsui
be69cb38ee
Add/enable COMPAT_SUNOS. It actually works on news68k.
2000-11-24 12:58:17 +00:00
tsutsui
500525029a
PAGE_SIZE on sun3/sun3x is now constant;
...
Use uvmexp.pagesize itself for its initialization.
2000-11-24 11:57:45 +00:00
scw
55ecb0e64a
`emul_sunos' is now declared in the appropriate header file.
2000-11-24 10:29:21 +00:00
scw
7d7a448f88
Make these compile with the latest execsw[] changes. Someone with
...
SunOS binaries needs to test this...
2000-11-24 10:21:30 +00:00
scw
dcd1f30fb8
First cut of a driver for the Memory Controller ASICs found
...
on mvme16x and mvme17x boards.
2000-11-24 09:42:09 +00:00
matt
ca7a0ec817
Make this compile again.
2000-11-24 09:39:37 +00:00
scw
7d191ffe77
Revamp the bus_space(9) implementation:
...
. use a structure for the tag instead of an integer constant,
. add bus_space_{peek,poke}_N() (and G/C `badaddr()'),
. fix a few drivers which have dependencies on the implementation.
2000-11-24 09:36:40 +00:00
scw
a70c48655b
Add a bus_space_tag_t field to the mvmebus_softc structure and
...
initialise/use it in the ASIC-specific back-ends.
2000-11-24 09:27:42 +00:00
scw
06e91c089b
Replace the inline C versions of bus_space_{read,write}_N() with
...
inline assembler. This generates significantly more efficient code,
and trims ~1KB off the size of an mvme68k GENERIC kernel...
2000-11-24 09:05:55 +00:00
scw
7bd36d34a1
Use the MI md_root.c.
2000-11-24 08:54:08 +00:00
chs
55a751c9d5
add ddb commands "show uvmexp" and "show ncache".
...
the former used to be "call uvm_dump", the latter is new.
2000-11-24 07:25:50 +00:00
chs
0a54af033a
cleanup: use queue.h macros and KASSERT().
2000-11-24 07:07:27 +00:00
minoura
e6a960146a
Use MI md_root.c.
2000-11-24 06:55:22 +00:00
nisimura
b974ee7790
Add TC option card descriptions, which are commented out before NetBSD/pmax
...
yields local implementations to them.
2000-11-24 05:02:26 +00:00
chs
ab077e1ed4
change cache_purgevfs() from O(N^2) to O(N).
...
use queue.h macros where possible.
2000-11-24 05:02:23 +00:00
chs
fa19fe52db
adjust the spinlock macros in the non-MULTIPROCESSOR, non-LOCKDEBUG case
...
so that gcc will think that static spinlock are used.
this allows us to remove the ugly conditionalization of
static spinlock declarations.
2000-11-24 03:59:07 +00:00
itojun
f9ed4a5d70
IFA_STATS stability (not complete); don't touch ip if it is NULL.
2000-11-24 03:43:20 +00:00
simonb
f91f0ea65c
Make this compile again (unterminated `#if' conditional).
2000-11-24 02:21:56 +00:00
chs
22d140fd0b
ifdef DEBUG, increase the max size we'll overwrite in freed memory blocks
...
to detect modifications after frees from 32 bytes to 1 page.
2000-11-24 00:34:32 +00:00
chs
f6b62f776c
avoid division and remainder operations for devices where
...
the sector size is DEV_BSIZE (ie. practically everything).
2000-11-24 00:17:35 +00:00
chs
bac6420b96
fix reversed keywords in previous commit.
2000-11-23 21:58:54 +00:00
chs
c01c2504a2
examine the PDE in addition to the PTE when checking for valid mappings.
2000-11-23 21:44:52 +00:00
nisimura
c2c8f26967
- Nuke xasc_ioasic.h and xasc_pmaz.h as no code uses the symbols they define.
...
- Hide #include <pmax/dev/device.h> for "pmax oldscsi" inside
#if NRZ > 0 || NTZ > 0.
2000-11-23 09:44:14 +00:00
matt
1420862fba
Add comments and AltiVec reg state.
2000-11-23 02:35:10 +00:00
perseant
e4911189f1
Protect lfs_{bmapv,markv} with vfs_{un,}busy. Fix a reference/lock leak
...
in an error case in lfs_markv. Change the vfs_getvfs() error to return
ENOENT, for consistency with failure of vfs_busy().
99% of this patch was from Jesse Off <joff@gci-net.com> (PR #11547 ).
2000-11-22 22:11:34 +00:00
msaitoh
007d059977
- fix \n conversion from \n\r to \r\n
...
- cleanup
2000-11-22 21:14:25 +00:00
msaitoh
d077acc4e9
const struct sysent
2000-11-22 21:12:28 +00:00
wiz
b03725b863
Change OF_nextprop to match prototype change to void *
...
(Please don't change prototypes without changing the corresponding
functions!)
2000-11-22 18:18:32 +00:00
jdolecek
818062390e
Intel recommends to print cpu serial number as six dash-separated nibbles
...
(XXXX-XXXX-XXXX-XXXX-XXXX-XXXX), make it so
2000-11-22 16:41:56 +00:00
nonaka
41b0daf516
- Add some PCMCIA devices.
...
- Commented out USB devices.
2000-11-22 16:15:44 +00:00
nonaka
ea05f33502
Set intrtype[irq] if interrupt type is IST_NONE.
2000-11-22 16:07:16 +00:00
tsubai
1931e71852
Constify struct sysent.
2000-11-22 14:00:46 +00:00
leo
f4420dcb03
Revert previous change. I cannot see why this ever worked... Pointed out
...
by Steve Woodford.
2000-11-22 12:39:03 +00:00
tsutsui
4b61041326
e_sysent in struct emul has been const'fied.
2000-11-22 11:47:17 +00:00
matt
03b44427da
Make assym.h be generated again
...
Add pcmcia support to files.prep
Add isa_intr_alloc support.
2000-11-22 08:55:35 +00:00
thorpej
32831b2eb4
Update for change of name of FPU synch routine.
2000-11-22 08:40:47 +00:00
thorpej
534e7d4454
Several changes, which get us generally further along with
...
multiprocessor support:
- Implement MP-safe halt.
- Make the FPU saving code more like Bill's on the i386 MP branch.
XXX This code will no doubt be revisited again.
- Pass the cpu_info and trapframe to IPI handlers, saving some work
in the handlers themselves, and also making it possible for the
"pause" handler to reference register state for DDB.
- Add "machine cpu" to DDB, making it possible to reference other
CPUs registers (and thus get e.g. a traceback) from whichever
CPU is actually running the debugger.
- Garbage-collect "machine halt" and "machine reboot" DDB commands.
They don't have a prayer of working properly in multiprocessor
kernels, and didn't really work all that well in uniprocessor kernels.
2000-11-22 08:39:46 +00:00
thorpej
6cbdf24c45
Add a debugging printf, commented out by default.
2000-11-22 07:44:01 +00:00
nisimura
0661e6718b
- fix an error in uninitialized variable reference.
...
- add a missing function argument declaration.
- minor comment adjustments.
2000-11-22 06:59:08 +00:00
thorpej
113dd58233
Add a LOCKDEBUG check for a r/w spinlock spinning out of control.
...
Partially from Bill Sommerfeld.
2000-11-22 06:31:22 +00:00
soren
efadefb53f
In uhci_intr(), only warn about power state confusion if the
...
interrupt was actually for us.
2000-11-22 05:50:59 +00:00
enami
9c0026f5fa
s/char \*/const &/ so that this file compiles again.
2000-11-22 04:28:13 +00:00
itojun
fdbcde1abe
more COMPAT_OSF1 fix (exec_conf.c conversion?)
2000-11-22 03:56:52 +00:00
itojun
1c06733c6b
constify
2000-11-22 03:54:01 +00:00
itojun
6c7e531e99
make COMPAT_OSF1 to compile. not tested (could someone review?).
2000-11-22 03:48:33 +00:00