Commit Graph

25793 Commits

Author SHA1 Message Date
matt
92e92121ab Use shared arm/arm32/sysarch.h 2001-03-04 03:33:50 +00:00
matt
b997b57700 Use shared arm32 pmap.h 2001-03-04 03:31:32 +00:00
matt
7e5ee89ff3 Nuke vm_offset_t, vm_size_t from powerpc. 2001-03-04 03:25:34 +00:00
matt
5d1d7ca9ca Remove a shark dependency in machdep. Use booted_kernel instead of
boot_kernel to be similiar to booted_device.
2001-03-04 01:50:53 +00:00
marcus
a6ecc2d5de Made it possible to mmap the frame buffer. 2001-03-04 01:36:35 +00:00
bjh21
40333cf8fd Kill cpu_host and cpu_flags: they weren't having any practical effect. 2001-03-03 21:34:00 +00:00
marcus
f693207ab0 Support cross-compilers that add the underscore for a little longer.
This _will_ go away.
2001-03-03 19:45:57 +00:00
pk
51668836b3 Remove unused declaration of `cpcb', which is no longer a global variable. 2001-03-03 19:42:38 +00:00
pk
d74da58795 alloc_cpuinfo: zero all the memory we allocate; not just the `cpuinfo' part.
cpu_attach: initialize `curpcb->pcb_wim' for each additional CPU.
2001-03-03 19:40:28 +00:00
pk
bb5f16e6e0 Sprinkle KERNEL_PROC_LOCK()s at the kernel entry points. 2001-03-03 19:11:02 +00:00
bjh21
c32dba2092 Remove support for /dev/cpu*. This code has never done anything useful anyway. 2001-03-03 18:04:34 +00:00
bjh21
2a91058dd3 Remove spurious declaration of initialise_fpe(). 2001-03-03 17:49:58 +00:00
bjh21
2029721f3f NCPU will always be 1 if this file is being compiled at all, so don't bother
checking it.
2001-03-03 17:46:31 +00:00
bjh21
f578e88d0f Re-design identify_arm_cpu() to use a table of CPU types. This also makes
it easy for it to identify lots of CPU types, so have it do that too.
2001-03-03 17:09:25 +00:00
tsutsui
956f5fbe42 Add one missed register prefix. 2001-03-03 13:59:10 +00:00
takemura
e02e19f6b7 Fix id which appeared twice, which are of HP and CASIO. You get incompatibility
around hpcarm.
2001-03-03 12:56:38 +00:00
takemura
32f9bdbadc BUGFIX:
- line number go wrong when directives appear.
  - a directives in a pair of {} make syntax error.
2001-03-03 12:51:44 +00:00
tsubai
22961fea9b Enable CD and microphone sound input on paddington based systems. 2001-03-02 20:36:00 +00:00
uch
27e08ba42c fix matrix switch initial value. 2001-03-02 19:21:53 +00:00
uch
28b76ec777 rewind progress bar when boot button is pushed.
(SH3) if check box on console window is checked, dump system register.
2001-03-02 18:26:37 +00:00
pk
bba5d36487 Initialize the IPI message locks. 2001-03-02 17:00:13 +00:00
mhitch
626864333b Use ${NM} and ${SIZE} so cross-compiling works. The machine and m68k include
directories still need to be fixed.
2001-03-02 16:46:19 +00:00
mhitch
f9e9387cf0 More missing register prefixes and _C_LABEL()s for ELF. Should now compile
with ELF, but still needs an "elf2bb" program.
2001-03-02 16:43:25 +00:00
mhitch
5864b6d958 More missing register prefixes. 2001-03-02 16:29:41 +00:00
pk
0548d12369 * proc_trampoline: call `proc_trampoline_mp()' #if MULTIPROCESSOR;
currently necessary to acquire the `running in kernel mode' lock;
  pointed out by Bill Sommerfeld/Simon Gerraty.

* remove reference to `cpu_set_kpc()' from comments, as we don't have it.
2001-03-02 10:27:00 +00:00
pk
e999fb6b77 bootstrap area: remove dead code + some trivial reformatting 2001-03-02 09:48:13 +00:00
sato
f199529e4b add MC/R430(copy of MC/R530) 2001-03-02 09:14:36 +00:00
mrg
ecb878c12d sync with GENERIC32. 2001-03-02 07:56:26 +00:00
mrg
3c2cb5a456 - no need to hard wire pci busses or hme0 anymore
- clean up some comments
- __ELF__ is defined by the compiler
2001-03-02 07:50:08 +00:00
mrg
23fecf2b24 clean up slightly; prepare to make this identical to sparc/frame.h. 2001-03-02 07:40:18 +00:00
mrg
3c31d4fccb clean up slightly. 2001-03-02 07:36:57 +00:00
mrg
7a1cb1dbc2 use pci_bus_devorder() and pci_dev_funcorder() 2001-03-02 06:34:06 +00:00
reinoud
5cc6423696 Fixed the bug that crept into giving support for moving IOMDs during startup.
Initially I gave it the type `int *iomd_base' but some macro's defined in
iomdreg.h calculated with the value asuming it to be an int ... thus all the
registers offsets were multiplied by four and that can only mean trouble !
The kernel boots again ever happily. Sorry for the inconvenience... it was
a good bug hunt though!
2001-03-02 01:46:57 +00:00
marcus
33090db137 Harmonized keycodes with USB. 2001-03-02 00:25:06 +00:00
bjh21
5b15e666a1 ARM7100 -> ARM710A, following information from reinoud. 2001-03-01 23:45:56 +00:00
marcus
104415e253 Dropped the leading underscore on _etext and _end, due to move to ELF. 2001-03-01 23:35:20 +00:00
marcus
389ac2109b Kernel binary format is hereby officially changed to ELF32. 2001-03-01 23:34:08 +00:00
is
8931aeb7a9 Don't use the frames' provided EA yet; something is wrong. 2001-03-01 22:01:52 +00:00
is
db27e55251 Add register prefixes. 2001-03-01 21:32:53 +00:00
minoura
8770ff2900 Sync with news68k:
Remove unneeded COMPAT_HPUX stuff.
2001-03-01 17:11:13 +00:00
pk
d98e8d5bca * Correct the `flags' argument in call to pmap_enter().
* Enable the message buffer at a temporary virtual address (KERNBASE)
  in bootstrap(), if that can be done.
2001-03-01 16:14:25 +00:00
pk
813b8d79fd * Correct the `flags' argument in several calls to pmap_enter().
* message buffer initialisation:
	- change the buffer size to 8192 on all platforms
	- don't assume the buffer is always located at physical address 0
	- drop the SUN4 hack that left first half of the page unused;
	  I believe this is no longer necessary, since the msgbuf
	  data structure is duely sanity-checked before use in initmsgbuf().
2001-03-01 16:09:25 +00:00
pk
6ae8b9ec6d Drop MSGBUFSIZE; we don't use it and it can't currently be configured
to a different value anyway.
2001-03-01 15:59:04 +00:00
pk
80ba31bd21 Drop the managed() macro; it is no longer used.
State the intended use of the vm_{first,last,num}_phys variables that are
still exported from pmap.c.
2001-03-01 15:56:47 +00:00
pk
aad0b0bcd2 Change pv list' management to use the hooks provided in the vm_physmem'
structure. While this comes with the cost of having to search the
`vm_physmem' array every time need to find a PV entry corresponing to
some physical address, we gain the flexibility needed to support
arbitrary non-contiguous ranges of physical memory addresses.

Also, eliminate the need to sort the memory address ranges as presented
by the machine's PROM, and the requirement that physical memory starts
at address 0 (when possible).
2001-03-01 15:52:18 +00:00
tsubai
e6ae4943c2 Fix a bug in cpu_switch().
Reported by Tad Hunt <tad@entrisphere.com> on port-powerpc.
2001-02-28 20:44:41 +00:00
tsubai
129bc9a446 Sync cdevsw and chrtoblktbl. 2001-02-28 19:14:30 +00:00
tsubai
86f265568f Back out previous change. It was harmful on my PowerBook G3. 2001-02-28 18:49:29 +00:00
bjh21
c25aec3d9f PCB convergence, part the first:
Move the pointer to the current user trapframe from struct mdproc to struct
pcb (as on arm26).  Only tested by compiling kernels on arm32 and
hpcarm (dnard seems to be incomplete anyway).  Someone should try running one.
2001-02-28 18:15:42 +00:00
mrg
c452d0b725 adjust some comments to reality. 2001-02-28 15:21:08 +00:00