soren
52e9098c1d
arch/mips is used now.
2000-11-27 08:54:02 +00:00
matt
70e44cf083
Rework bus_space to conform the PReP I/O & MEM limits. Add a few debugging
...
printfs concerning interrupts.
2000-11-27 08:53:54 +00:00
chs
aeda8d3b77
Initial integration of the Unified Buffer Cache project.
2000-11-27 08:39:39 +00:00
chs
c29a1b4461
allow ports to override PAGER_MAP_SIZE in machine/vmparam.h.
...
some ports (such as arm32) don't have enough KVA for the
increased default size once the UBC mapping is also present.
2000-11-27 08:19:50 +00:00
soren
a5dad0db13
Correct a few cpu/fpu ids.
2000-11-27 06:38:54 +00:00
nisimura
fdfe3556de
Use only one TLB entry to wire down process's USPACE since it's
...
now guranteed to be aligned on 8KB boundary in kernel virutal
address. Retain one more free TLB entry.
2000-11-27 06:37:32 +00:00
soren
d800267698
Forgot to commit bounds_check_with_label().
2000-11-27 06:00:09 +00:00
soren
38a44e0d8f
Consistently use pmap_steal_memory() to allocate USPACE.
2000-11-27 05:57:25 +00:00
nisimura
05960017b2
Fix an typo by cut'paste work in the previous change.
2000-11-27 05:17:06 +00:00
nisimura
f6562a41a3
Use pmap_steal_memory() to glab proc0's USPACE.
2000-11-27 05:12:32 +00:00
jdolecek
cee3939088
comment out entries accidentaly committed together with previous
...
change
2000-11-26 20:48:39 +00:00
bjh21
eb0dc305da
Insert clock low after ack bit.
2000-11-26 18:53:12 +00:00
bjh21
f801b80192
Zero-length reads seem to confuse the chip, so don't do that.
2000-11-26 18:12:36 +00:00
ad
57ea462da2
lsu -> ld, by popular request.
2000-11-26 17:44:02 +00:00
chs
63d8906bac
const poisoning.
2000-11-26 15:13:50 +00:00
bjh21
2906c5057a
Regen.
2000-11-26 15:04:22 +00:00
bjh21
22b88b3d3e
Add HCCS IDE interface, from Kjetil B. Thomassen <kjetil@thomassen.priv.no>.
2000-11-26 15:03:25 +00:00
jdolecek
c969c9196c
make this usable also standalone
2000-11-26 12:02:16 +00:00
jdolecek
17a9fd0da5
split m68k SunOS and SVR4-specific sigcode.s code to sunos_sigcode.s
...
and svr4_sigcode.s respectively
adjust individual m68k port's locore.s to include new sigcode files if
appropriate
2000-11-26 11:47:23 +00:00
jdolecek
bc435e5551
rename COMPAT_locore.s to COMPAT_sigcode.s - that is more suitable name for it
...
make the files compilable within LKM
2000-11-26 11:18:20 +00:00
takemura
3c9d9276dc
Add new powerhook argument values, PWR_SOFTSUSPEND, PWR_SOFTSTANDBY and
...
PWR_SOFTRESUME. Apm calls powerhook with the values in normal interrupt
priority level while others are protected with splhigh().
2000-11-26 11:08:57 +00:00
takemura
5692823cae
You can map mq200 registers as well as frame buffer.
...
(This little change has already contains release 1.5 branch by my mistake)
2000-11-26 08:33:43 +00:00
sato
b45e183988
hardware accelarate function parameters turn to dot base.
2000-11-26 06:21:16 +00:00
thorpej
484693d993
`babylon' no longer exists.
2000-11-26 04:59:03 +00:00
thorpej
dce417005a
Kernel config file for basil.shagadelic.org, my API UP1000 devel machine.
2000-11-26 04:58:07 +00:00
itojun
c40695f5ad
a complete kernel for wildlab LAMB, http://www.wildlab.com/ .
2000-11-26 03:28:41 +00:00
scw
a643cf07a5
Add the memory controller ASIC driver.
2000-11-25 21:46:42 +00:00
scw
46d0d060fd
Oops, missed a trailing comma ...
2000-11-25 21:06:12 +00:00
scw
eff5b700a8
Enable compatibility for earlier releases.
2000-11-25 20:35:32 +00:00
scw
ee58c485bf
Add CD9660, plus some general cleanup.
2000-11-25 19:33:39 +00:00
scw
2aa72fcec2
Include the cd9660 filesystem and cd(4).
2000-11-25 19:21:50 +00:00
scw
5529847b99
Don't base this on the GENERIC config file; there's too much
...
unnecessary bloat in it for an installation kernel.
2000-11-25 19:18:46 +00:00
scw
636c4f5c12
G/C some long-obsolete functions.
2000-11-25 18:49:59 +00:00
bjh21
70562420ce
Support multiple files on the command line (they're catted together).
...
Ditch a.out support while we're here (to save updating it).
2000-11-25 18:30:23 +00:00
tsubai
2fb7179aaf
Add KERNEL_LOCK (et al.) to run MULTIPROCESSOR kernel on a single cpu system.
2000-11-25 15:49:43 +00:00
bjh21
98253a5467
It seems that all versions of BBC BASIC V can load a text file specified on
...
the command line, so we don't need to tokenize it first.
This makes it less than clear what file type BBBB should have, so let's not
make an issue of it.
2000-11-25 13:32:51 +00:00
scw
73e60771ab
Fix the code which probes the memory controller ASICs. We can now
...
deal with the 2nd one not being present.
2000-11-25 11:25:07 +00:00
nisimura
554a1bfcc6
Update and clarify the comment description of how disklabel is managed.
2000-11-25 07:58:07 +00:00
minoura
9f9181afde
Use objcopy instead of dd. This will work after we'll switch to ELF.
...
Using command directly breaks cross compilation. Use macro instead.
2000-11-25 05:27:19 +00:00
tsutsui
add41a3fee
Make sure to return PROM prompt even if loading kernel fails halfway.
2000-11-25 04:42:06 +00:00
matt
f80f1b8624
Preliminary AltiVec support.
2000-11-25 03:03:35 +00:00
matt
4c6aaf87d2
Add placeholder for AltiVec support file.
2000-11-25 03:01:40 +00:00
matt
6d256b4cca
Preliminary AltiVec support
2000-11-25 03:00:48 +00:00
matt
6b0877113f
Some preliminary ALTIVEC support.
2000-11-25 02:59:34 +00:00
chs
b5142d6841
increase PAGER_MAP_SIZE to 16MB and move it to uvm_pager.h
...
since the alpha and mips pmaps use it.
2000-11-24 22:41:38 +00:00
sato
446d4c8a9f
delete not HPCFB_TVOPTIM codes.
2000-11-24 22:05:13 +00:00
sato
bda86c3118
update experimental HPCFB_JUMP codes.
...
(but not completely yet)
2000-11-24 21:58:06 +00:00
tsubai
4e01e6de8b
When fatal trap occurs, enter DDB with trapframe rather than just "Debugger()".
2000-11-24 21:49:06 +00:00
scw
2129dff0f7
The ramdisk now needs 1024 blocks.
2000-11-24 19:40: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
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
minoura
e6a960146a
Use MI md_root.c.
2000-11-24 06:55:22 +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
simonb
f91f0ea65c
Make this compile again (unterminated `#if' conditional).
2000-11-24 02:21:56 +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
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
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
enami
9c0026f5fa
s/char \*/const &/ so that this file compiles again.
2000-11-22 04:28:13 +00:00
itojun
1c06733c6b
constify
2000-11-22 03:54:01 +00:00
thorpej
7231516137
Just access the trapframe directly for DDB registers.
2000-11-22 02:25:52 +00:00
thorpej
7f6303947a
Restructure the way registers are presented to DDB, to make it
...
easier to support reading registers from other CPUs.
2000-11-22 02:03:48 +00:00
bjh21
564a044dcb
Using bsd.man.mk looked silly without a man page. Use bsd.prog.mk without
...
PROG instead.
2000-11-22 00:36:22 +00:00
bjh21
fc955e1104
Move BBBB out of the kernel tree so other architectures can see it.
2000-11-22 00:32:53 +00:00
bjh21
c4eb6c6325
Rudimentary manual page for BBBB.
2000-11-22 00:18:47 +00:00
bjh21
986c78ced4
New mechanism for building the tokenised version of BBBB under NetBSD. This
...
saves us having to keep a uuencoded version around.
2000-11-21 23:47:37 +00:00
bjh21
99899665e8
Move of BBBB to a more sensible location.
...
Look in sys/arch/arm26/boot/BBBB,fd1 for old commit messages.
2000-11-21 23:44:24 +00:00
tsutsui
161004f8c3
s/struct const sysent/const struct sysent/
...
(BTW, luna68k was missed in emul/execsw changes?)
2000-11-21 23:19:42 +00:00
scw
f86349723d
Put the call to mvme68k_init() back where it was originally.
2000-11-21 22:08:04 +00:00
jdolecek
09c6390523
make trap_type[] const
2000-11-21 21:27:04 +00:00
jdolecek
3323852a95
put compat-specific locore code to separate *_locore.s files
2000-11-21 21:13:23 +00:00
chs
0ac52aaf1d
remove MD functions for printing vnodes and buffers since there are
...
MI versions now.
2000-11-21 16:34:52 +00:00
ad
20ef6ae40a
Fix netbooting on the 2100/3100. Partially from Thilo Manske
...
<Thilo.Manske@HEH.Uni-Oldenburg.DE> in PR 11212.
2000-11-21 14:21:36 +00:00
ad
bd4ff2a804
PMIN vs. PMAX in boot message. Pointed out by Thilo Manske
...
<Thilo.Manske@HEH.Uni-Oldenburg.DE> in PR 11212.
2000-11-21 14:19:10 +00:00
tsutsui
2c7e91a09e
Define proper macros for FP frame offsets rather than magic numbers.
2000-11-21 13:54:13 +00:00
tsutsui
20494c8f05
Pull in dev/i2o/files.i2o, which is required by files.pci.
2000-11-21 13:34:57 +00:00
scw
f33cb83f53
Call zs_set_speed() to calculate the initial timing constants.
2000-11-21 11:41:37 +00:00
chs
c588bbbe76
add a missing newline in a printf().
2000-11-21 08:14:17 +00:00