drochner
131f65b2ec
-fix new assembler warnings
...
-add RCS ID
2002-01-13 12:45:54 +00:00
drochner
5245358400
for ELF, put RCSID string into .ident section,
...
add __KERNEL_RCSID macro which is undefined in case of NO_KERNEL_RCSIDS
2002-01-13 12:44:31 +00:00
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
matt
3b0bdd1f0f
Remove machine/powerpc links on clean as well.
2002-01-07 23:09:53 +00:00
chris
8dd3ca5994
Finish up the changes to get LOOSE_PROTOTYPES working for cats.
...
Note that this leaves a few inconsistencies (no more than we already had though) eg initarm is now prototyped in arm32/machdep.h, however only cats currently makes use of that header.
2002-01-07 22:58:07 +00:00
dbj
f629228e87
Changes to the wdc(4) mi driver that add the WDC_CAPABILITY_SELECT
...
flag and a callback function which gets called whenever a target is
selected on a channel.
The macppc wdc driver needs to reprogram its timing register
differently for each target on a channel each time that target is
selected. I also changed the ATA4_TIME_TO_TICK to use a divisor of
15, which brings our timing calculations consistent with darwin.
These patches fix problems on my dual usb ibook with combo dvd/cdrw
drive because the hard drive supports udma and the combo drive does
not. Without turning off the udma timings in the configuration
register, I cannot access the non-udma combo drive.
2002-01-07 22:11:17 +00:00
thorpej
3835413bc1
Overhaul of the ISA autoconfiguration code to support direct
...
configuration of devices logically attached to the ISA bus:
* Change the isa_attach_args to have arrays of io, mem, irq, drq
resources.
* Add a "pnpnames" and a linked list of "pnpcompatnames" to the
isa_attach_args. If either of these members are non-NULL,
direct configuration of the bus is being performed. Add an
ISA_DIRECT_CONFIG() macro to test for this.
* Drivers are not allowed to modify the isa_attach_args unless
direct configuration is not being performed and the probe fucntion
is returning success.
* Adapt device drivers -- currently, all driver probe routines return
"no match" if ISA_DIRECT_CONFIG() evaluates to true.
2002-01-07 21:46:56 +00:00
bjh21
f2b2562dd8
Don't print arm700bugcount at shutdown. I'm planning to make it into
...
an evcnt, so users can get at it using vmstat if they care.
2002-01-07 21:40:59 +00:00
bjh21
2b44bd85c5
On arm26, vectors.S needs to be at the start of the kernel text, so that it's
...
on a page boundary and can be mapped straight into zero page. This means it
has to be in MD_SFILES on arm26, and not in SFILES.
This probably leaves kernel_text in the wrong place, but it at least leaves the system bootable.
2002-01-07 21:15:50 +00:00
jmcneill
898f375fa0
Re-enable radio at bktr.
2002-01-07 19:34:25 +00:00
thorpej
1c8e442315
Pull in files.wfont.
2002-01-07 17:36:40 +00:00
tron
559521efa3
Disable broken radio(4) support for bktr(4). The configuration code doesn't
...
even check if the TV card has a radio tuner.
2002-01-07 12:12:55 +00:00
shin
a0a83ff5d4
fix pasto.
...
s/trunc_line/trunc_line16/
2002-01-07 07:43:52 +00:00
thorpej
a130e9e458
Implement bus_space_mmap().
2002-01-07 07:17:17 +00:00
thorpej
059c98d5e4
Fix typo.
2002-01-07 06:03:19 +00:00
minoura
4d762e1938
New toolchain.
...
XXX: New toolchain generates 100byte bigger object than the 8KB limit.
XXX: Therefore, compilation always fails!
2002-01-07 04:06:52 +00:00
minoura
195060e302
Copy alloca() and memcpy() definitions from libkern.h.
2002-01-07 04:01:13 +00:00
minoura
38d9c867f6
alloca() is now defined in libkern.h.
2002-01-07 04:00:30 +00:00
minoura
873ab50602
Use -Os optimization.
2002-01-07 04:00:02 +00:00
thorpej
ddb7327122
Add missing register prefix.
2002-01-07 02:54:27 +00:00
thorpej
d9f543962d
Acorn systems do not support the ISA bus; remove these files.
2002-01-06 20:29:42 +00:00
jmcneill
8dc5d86c45
Add entries for the 'esa at pci' audio driver.
2002-01-06 16:07:06 +00:00
takemura
8f5ef79d0f
Added _hpcmips_bd_mem_alloc_range, which was written by Katsuomi Hamajima.
2002-01-06 12:39:55 +00:00
takemura
b62dd2ee45
Set interrupt mask on Vrc4173 ICU.
2002-01-06 07:01:20 +00:00
jmcneill
ab29ea6d60
Add radio attachment to bktr.
2002-01-06 02:45:52 +00:00
dbj
0ac4681659
add support for kgdb over zs
2002-01-06 00:35:10 +00:00
chris
e3a3a9f56f
Make some of the arm32 files build with LOOSE_PROTOTYPES not set in the makefile. Turned up a few mismatched functions. Note that this isn't all of the arm32 files. Aim will be to get arm32 kernels built with LOOSE_PROTOTYPES not set.
2002-01-05 22:41:46 +00:00
jhawk
d77edb248a
Print negative SIMM operands correctly; previously, negative numbers
...
were bogus.
2002-01-05 22:07:26 +00:00
jhawk
a0dca6bb1d
Remove gratuitous ", " after the last opcode for SIMM and UIMM opcodes.
2002-01-05 20:22:52 +00:00
jhawk
c7996c4a47
Print addresses symbolicly using the new ddb helper function, db_symstr().
...
This disassembler still needs a fair chunk of work.
2002-01-05 20:21:37 +00:00
dbj
86e773e9fd
change apparent typo of MS_SFILES to MD_SFILES
...
This fixes some dependency problems with locore.S
2002-01-05 17:58:48 +00:00
chris
826b7655cf
include <arm/conf.h> for prototypes.
...
Correct args to mmopen and mmclose.
Add RCSID line.
2002-01-05 17:02:22 +00:00
takemura
d0d31a9efc
DoCoMo SigmationII support (Experimental)
...
You must turn on HPCMIPS_L1CACHE_DISABLE option.
2002-01-05 06:45:31 +00:00
takemura
cea2181363
Recompile for DoCoMo SigmarionII with eVC 3.0 and H/PC Pro 2.11 SDK.
2002-01-05 06:00:22 +00:00
takemura
a42a77efaf
If two or more vrisab matches platform id, attach most specific one.
2002-01-05 05:09:15 +00:00
uch
cead686281
fix memory size calcuration bug.
2002-01-05 04:47:30 +00:00
thorpej
6e17c402e6
Add -ffreestanding to CFLAGS. Remove the GCC 2.8 check around
...
-Wno-main (always include -Wno-main).
2002-01-05 01:22:21 +00:00
chris
b51b9e9e63
Update with radio, cir and irframe. also add block device for ld. Update other tables in file as appropriate.
2002-01-05 00:51:30 +00:00
chris
9b812a6774
Update mem device to bring it into line with a change in version 1.32 of i386/mem.c. Appears that we may move uio twice.
...
Original i386 log message:
Optimize the case of writing to /dev/zero, and clean up the
surrounding code a bit. Partly suggested by gwr.
I think this needs to be applied to arm26 as well.
2002-01-05 00:46:33 +00:00
takemura
92f7bd9399
Deleted verbose error message in probe routine to probe silently.
2002-01-05 00:40:38 +00:00
briggs
e984bd475c
Initialize pba_intrswiz and pba_intrtag before configuring PCI bus.
2002-01-04 22:39:47 +00:00
briggs
b89eed2156
If we're attaching UART2, then use UART2 in failure-case panic()s.
2002-01-04 21:18:59 +00:00
augustss
942fe5df1d
Uncomment udsbr (it works).
2002-01-04 21:04:42 +00:00
ws
95ea6d63ce
Make this work with only a keyboard attached to ps2 port.
...
(Maybe even works with only a mouse attached, but I cannot test this.)
Should fix PR 10306 (& 15093).
2002-01-04 17:11:55 +00:00
toshii
4e09455de8
Make jornada720 serial port work when it isn't used as a console.
2002-01-04 16:36:41 +00:00
tsutsui
32eba8afae
Fix an uninitialized variable found by new toolchain.
2002-01-04 16:30:02 +00:00
takemura
01b846e28e
Renamed sg2com -> com_hpcio. Now it seems to be working on SigmarionII.
2002-01-04 14:11:50 +00:00
takemura
eef721771a
Modify only K0 bits and save other bits. (HPCMIPS_L1CACHE_DISABLE)
2002-01-04 09:26:39 +00:00
deberg
4700ae8e79
netsmb device node
2002-01-04 02:59:54 +00:00
thorpej
0ae08645b5
Remove a debug message that should have gone away with the last
...
commit.
2002-01-03 22:43:05 +00:00
jhawk
ac054a2787
Support
...
t/t PID
on the powerpc. (remember to use 0tPID if pid is in decimal...)
2002-01-03 22:15:06 +00:00