Commit Graph

28780 Commits

Author SHA1 Message Date
bjh21
83d5fd8043 Make the declaration of get_pc_str_offset() into a prototype. 2001-10-14 00:17:26 +00:00
leo
37253bbe6b Add bootxxx 2001-10-13 20:40:43 +00:00
leo
38a9a4d6ff Grr, this file shouldn't have been deleted. I thought I corrected it, in
fact the comments from the commit did not mention it to be deleted, just
'changed'...
2001-10-13 20:26:48 +00:00
leo
75b42ecb12 Bootxx is no longer the last booting stage. It now handles only the
command line options. If NetBSD should be loaded, bootxx tries to load
the raw binary file '/boot' that resides on the same filesystem as the
kernel to be booted. This 3rd level boot is supposed to actually load the
kernel.
2001-10-13 20:22:56 +00:00
leo
a9d59a63c5 We need a configurable heap now (that implies we need panic.c too....). 2001-10-13 20:10:02 +00:00
leo
530cee7ec2 3rd level boot 2001-10-13 20:06:57 +00:00
leo
dc6d9bae0d Add an address for the 3rd level boot. 2001-10-13 19:55:07 +00:00
leo
95d16475fc Arrange include files section in such a way that we can use this code in
the MiNT and NetBSD/libsa environment.
2001-10-13 19:50:36 +00:00
chs
4c1a2f36f8 fix pmap_changebit() to look for the bit in the page attrs
in addition to any PTEs.  fixes PR 14220.
2001-10-13 18:28:10 +00:00
ichiro
8bf90d96b4 add entry Intersil Mini-PCI(802.11b)
wi* at pci?
2001-10-13 15:06:12 +00:00
bjh21
9202040b70 Treat acorn32 the same as arm32 for the purposes of installing include files.
This is necessary to make the libstdc++ install work with the old toolchain,
since it installs <machine/_G_config.h> into /usr/src/${MACHINE}.  There may
be other dependencies on the Old Way, too.
2001-10-13 14:46:00 +00:00
bjh21
cc037046d6 Don't update referenced/modified bits if a page is entered using
pmap_kenter_pa.  pmap(9) says unmanage mappings don't get referenced/modified
tracking, and this seems to stop me getting a panic while starting up with
root on NFS.
2001-10-13 14:23:31 +00:00
mrg
8b4596288b when comparing bp->val[] against other types, cast the bp->val[] value to
other type.  this avoids sign extension lossage as "val" is (signed) int.
PR#14212.
2001-10-13 08:25:57 +00:00
chs
f013b5beb1 fix pmap_changebit() to look for the bit in the page attrs
in addition to any PTEs.  fixes PR 14197.
2001-10-13 06:18:36 +00:00
uwe
a291eed4cc Fix SIGNEX macro: sizeof is in bytes, not bits. 2001-10-13 00:41:49 +00:00
pooka
3518dc8ed0 * fix thinko in mace_print() to prevent intr with value MACECF_INTR_DEFAULT
from getting printed
* fetch device name from dv_xname instead of using hardcoded value
2001-10-11 15:17:42 +00:00
tsutsui
9ed721dc0a hp300 now uses dev/clock_subr.c. 2001-10-11 15:04:44 +00:00
tsutsui
0c3fd1cf03 Cleanup TOD clock functions:
- Adapt MI functions/structures in sys/dev/clock_subr.[ch]
 - Fix year-2001 problem

XXX Maybe TOD clock should be attached as an independent device.
2001-10-11 15:02:07 +00:00
tsutsui
2853ff9bb9 space -> TAB 2001-10-11 14:01:36 +00:00
leo
13a1055e2f Second pass of the bootloader reworking. Everything works from the
TOS/MiNT side now.
2001-10-11 07:07:41 +00:00
briggs
155a79e9a1 Add include dev/wsfont/files.wsfont 2001-10-11 04:14:45 +00:00
briggs
0ac571b1e5 include dev/wsfont/files.wsfont 2001-10-11 03:52:13 +00:00
leo
d6d66d6664 Check-point my work on the bootcode. 2001-10-10 14:19:49 +00:00
pooka
e45292cb5e panic in cpu_initclocks() if clock device is not attached 2001-10-10 13:24:47 +00:00
tsutsui
59e6364fcd Include <machine/bootinfo.h> 2001-10-09 16:03:11 +00:00
is
9bf40ca410 Make the Cyberstorm PPC/ Cyberstorm Mk. 3 driver drive the LED.
Actually, this is added to the siop2_script; should we ever support another
siopng board that does connect something else to GPREG bit 4, we'll have
to move this to C code and make it optional.
OTOH, by then we'll have switched to the MI driver by then.
2001-10-08 21:18:58 +00:00
eeh
0bda325da0 Clear the dmamap inside splhigh() protection. 2001-10-08 19:24:20 +00:00
pooka
4eea26606e read dbaud from ARCS and use that for com rate, not hardcoded 38400 2001-10-08 15:53:07 +00:00
uch
3c8a8fb72e HITACHI PERSONA support. patch by KIYOHARA Takashi 2001-10-08 15:34:24 +00:00
simonb
62274f02ea Use ${KERNLDSCRIPT} instead of hard-coded ld script name. 2001-10-08 10:14:41 +00:00
simonb
6048ce9247 Use a separate variable (${KERNLDSCRIPT}) for the name of the kernel
ld script, so it can be used in other places.
2001-10-08 10:14:20 +00:00
eeh
bb99dc52c7 Manage both streaming caches on psycho/psycho+. 2001-10-07 20:30:40 +00:00
bjh21
34666c7150 Set POOL_SUBPAGE to 4096, in a bid to improve memory efficiency. 2001-10-07 12:45:03 +00:00
bjh21
e2d7d02aa0 Ensure that arch/acorn32/compile gets created. 2001-10-07 12:20:55 +00:00
tsutsui
34cc09d49b Move some sources from SRC_kern to SRC_sa.
They are in both libsa and libkern, but .PATH searches libsa first.
2001-10-07 05:00:28 +00:00
tsutsui
9bd648eb07 Build sa programs with -Os. 2001-10-07 04:50:40 +00:00
tsutsui
1bc09f71dc Pass CPPFLAGS properly so that source files can include <machine/asm.h> . 2001-10-07 01:39:51 +00:00
bjh21
8cdda239fa Basic acorn32 makefile -- the arm32 one with the obvioud transformations
applied.  This is necessary to get kernel headers installed properly.
2001-10-06 22:04:11 +00:00
bjh21
2989551639 vidc.h => vidc_machdep.h, since the latter exists and the former doesn't. 2001-10-06 22:03:02 +00:00
bjh21
6b3d54743f Install <machine/pte.h>. 2001-10-06 20:30:02 +00:00
mrg
65827cfc3c sync with sparc: add cdtty 2001-10-06 14:50:22 +00:00
thorpej
a769f31893 soft_splvm() - "block" SPLBIO, SPLNET, and SPLTTY in addition to SPLIMP
and the soft interrupts.  Probably doesn't matter for an all OFW kernel,
since all devices are polling, but done for correctness.

soft_splsoftnet() - make sure to block softclock, as well.  While
you're in the network code at splsoftnet(), you don't want a soft
clock interrupt tripping some network-related timeout and reentering
the network code.
2001-10-06 03:51:48 +00:00
thorpej
16d926c4b8 Use ISACF_IRQ_DEFAULT rather than IRQUNK. 2001-10-06 03:04:01 +00:00
thorpej
6a434bacd5 Don't forget to fill in the DMA tag when attaching the AGP
controller.
2001-10-06 02:51:42 +00:00
thorpej
e797da0ffb Make this match int_mwgwtypes.h (not that that header is really
correct, but they should at least be in-sync -- a PR has been
filed against int_mwgwtypes.h).
2001-10-06 01:21:40 +00:00
reinoud
516521c84f re-add asm.h to get arch/dnard to compile again; it links to the
arch/arm/arm32's asm.h.
2001-10-06 00:27:59 +00:00
reinoud
7d4a1addde Initial commit of the splitting off of arch/acorn32 from arch/arm32.
The IOMD/VIDC combination is now moved to arch/arm/iomd together. These
files still need a lot of cleaning up :( .... esp. the RC7500 support that
is still dormant in it; this needs either to be removed or split out for
RC7500's ``VIDC'' video/audio variant.

Apart from the RC7500 support wich is still in arch/arm32 the
iomd,vidc,riscpc and podulebus subdirectories of arch/arm32 can be removed.

This split still uses some small parts of arch/arm32 .... those are the MI
parts that haven't been moved yet.

RiscPC/A7000 have been tested and confirmed to build as should NC.
2001-10-05 22:27:40 +00:00
eeh
0e60a3377b Remove bsd_openprom.h, which is only for compatibility with the sparc port. 2001-10-05 21:53:56 +00:00
eeh
2375794907 Make OF_interpret() handle input and output arguments. 2001-10-05 21:52:43 +00:00
thorpej
34dbd19c49 Delete this file; nothing includes it, and it is simply an (incomplete)
copy of <dev/pci/ppbreg.h> anyway.
2001-10-05 17:53:36 +00:00