Commit Graph

29861 Commits

Author SHA1 Message Date
bjh21
9fe68c4f64 Combined syscall handler for all ARM ports. This is basically the arm32
version, made readable and compatible with arm26.  In addition, this adds
support for NetBSD/arm's newly allocated SWI range.
2002-01-12 20:02:13 +00:00
scw
7fed4934b8 Move the VMEbus RAM `howto' into the docs directory. 2002-01-12 19:29:49 +00:00
manu
5f90ae55b5 Added clockctl 2002-01-12 14:52:40 +00:00
manu
d6bd9425bf Added clockctl 2002-01-12 13:39:29 +00:00
chris
c3abf9a50c Make GENERIC cats kernel boot again. By allocating a 2nd second level page table for the kernel and stack space we can now have to 8MB of kernel and stacks (if the kernel ever gets really bloated might need to add a 3rd!)
Also update the funcs in arm32_machdep.c that create the entries so that on cats they expect the 2 pagetables to be contiguous, note this means that for now cats is special cased in lots of funcs.  I'll tidy this up to something a bit more sane soon, to avoid the multitude of #ifndef cats that I had to sprinkle in.
2002-01-12 13:37:55 +00:00
manu
0079b3711b Added clockctl 2002-01-12 13:33:42 +00:00
manu
eb2b0c03da Added clockctl 2002-01-12 13:22:23 +00:00
manu
af62e00622 Added clockctl 2002-01-12 13:11:08 +00:00
manu
2efb671770 Added clockctl 2002-01-12 13:00:46 +00:00
manu
26fc3c46e0 dded clockctl 2002-01-12 12:59:11 +00:00
manu
6330e3eab1 Added clockctl 2002-01-12 12:56:39 +00:00
manu
d397792cbb Added clockctl 2002-01-12 12:36:31 +00:00
manu
4e294be530 Oops, wrong number (84 -> 69) 2002-01-12 12:32:58 +00:00
manu
5061ccffdc Added clockctl 2002-01-12 12:28:03 +00:00
manu
9a870a5b82 updated chrtoblktbl[] 2002-01-12 12:23:48 +00:00
manu
08daa954b4 Added clockctl 2002-01-12 12:21:09 +00:00
manu
833e540a34 Added clockctl 2002-01-12 12:09:51 +00:00
aymeric
6f9753bcdd Revert last commit in order to do the right thing.
(i.e. use jmp xx:l instead of exporting xx)

No functional change.
2002-01-12 11:45:26 +00:00
tsutsui
7d5571319d Remove .mdebug and .ident sections from ECOFF kernels so that
the ARC BIOS can load ECOFF kernels built with new-toolchain properly.
2002-01-12 04:07:27 +00:00
enami
5c12da5b4a Define new macro to access FSR register and use it. 2002-01-12 01:40:36 +00:00
enami
16fc46b962 Access FSR register correctly in struct fpreg.r_regs[].
This fixes sshd (actually, libcrypto) failure with new-toolchain.
2002-01-12 01:37:08 +00:00
eeh
4d28a1937c Trap types should be printed in hex. 2002-01-12 01:07:00 +00:00
uwe
438dfde149 OBP 2.30 in JS1 is romvec version 3, so g/c PROM_OBP_V2 entry.
Add bare-bones "8042" (pckbc) node and rename bogus zs nodes out of
the way to prevent them from matching.
2002-01-11 01:44:32 +00:00
briggs
e44b2beeac Add OPIOCFINDDEVICE to match dev/ofw/openfirmio.[ch]. 2002-01-10 20:38:11 +00:00
briggs
03bd9a6a52 In OPIOCNEXTPROP: if we are at the last property, set the buffer length to
0 instead of setting it to an uninitialized value (len).
2002-01-10 16:04:43 +00:00
wdk
c09d9a0d03 We now need ufs/ufs/dinode.h for ufs/ffs/fs.h
XXX:  All this work for BBSIZE and SBSIZE.  Sigh.

Add missing $NetBSD$ Header to file
2002-01-10 06:56:18 +00:00
briggs
8a2ab2e5f8 Use nextsibling() and firstchild() instead of (unset) promvec. 2002-01-10 06:21:53 +00:00
enami
fbb7401965 Cope with rev. 1.16 of frame.h; trapframe now starts at if_gs in intrframe.
This fixes PR#14040.
2002-01-10 03:46:17 +00:00
thorpej
f68aaee236 - A few adjustments for cross-building (address an XXX here later).
- Create an OMAGIC a.out and objcopy it to a flat binary image; the
  Shark OpenFirmware can load the plain binary image, and we will
  need to employ this strategy when we switch to ELF.
2002-01-09 23:47:04 +00:00
thorpej
3c2bddcbc9 Fixup cache I$ clean code. 2002-01-09 23:18:10 +00:00
leo
bbad0a5d5e Checkpointing my work on the mach64 (with help from Dave Berger). There is
still one major show stopper here. The characters are nearly to dim to read.
This is weird since the same DAC settings as on the other cards are used.
2002-01-09 21:33:49 +00:00
leo
2112cf1085 Fix PCI interrupt allocation on the Milan.
Note that this _seems_ to work. It can't be really tested before my board
is upgraded.
2002-01-09 21:19:14 +00:00
reinoud
b8eb6adfa1 Make the MACHINE_ARCH overrideable by build.sh 2002-01-09 20:54:40 +00:00
leo
62cf77fa90 Nuke some unused code. 2002-01-09 20:54:14 +00:00
rjs
adde6b76ba Interrupt related defines for SA11x0. 2002-01-09 15:54:19 +00:00
dbj
d864c1582a tweak timings 2002-01-09 05:23:07 +00:00
thorpej
94f30b739f Add the BONITO_ICU_RETRYERR bit. 2002-01-09 02:35:29 +00:00
thorpej
a3d15bab62 Build bonito_iobc.c 2002-01-09 00:44:57 +00:00
thorpej
4928315412 Update copyright. 2002-01-09 00:44:06 +00:00
thorpej
d25ffb2822 Add code to manipulate the BONITO I/O Buffer Cache. 2002-01-09 00:43:38 +00:00
bjh21
33096a0e18 Add a couple of ARM7500 registers I missed last time, and correct a couple
of others to match the names in the data sheet.
2002-01-08 21:00:12 +00:00
chs
a6f2a36ecc include sys/systm.h for strcmp() prototype. 2002-01-08 17:10:28 +00:00
toshii
2e3ff494cb Remove fwait after fxsave.
Raising math exception from fpu_save causes machine reboots.
Also, this fwait would cause incorrect results, as pending exceptions
are to be handled later after fxrstor.
2002-01-08 13:31:04 +00:00
rjs
1d49b1abec Establish interrupt handlers before enabling the clocks. 2002-01-08 11:40:56 +00:00
rjs
4bb5c4fa7c Add extra SA1111 register definitions. 2002-01-08 11:36:52 +00:00
rjs
cd6d465f6b Add reset controller register definitions. 2002-01-08 11:29:51 +00:00
rjs
1b4e5cf968 Add check for microtime() being called before clock is initialized. 2002-01-08 11:21:02 +00:00
uwe
6191cedbe6 In the idle loop add a comment to wrpsr in the annulled delay slot of
an ifdefed branch instruction to make it obvious where it belongs to.
The ifdef makes it very confusing visually.
2002-01-08 05:59:31 +00:00
itojun
8c7c7ff54b pss is broken (for now?) 2002-01-08 04:36:51 +00:00
thorpej
290ea9c6a7 le at pci -> pcn at pci, and add several more phys (most commented out). 2002-01-08 03:28:56 +00:00