msaitoh
bba3f2423b
add comment about $CPP
...
From source:
# XXX following definition is absolutely incorrect.
# Our cpp is not /usr/libexec/cpp but /usr/bin/cpp.
# True solution is:
# 1) copy /usr/bin/cpp into /usr/local/bin/sh-*-*-cpp
# 2) Edit CPP in sh-*-*-cpp correctly
# (e.g. "CPP=`$CC -print-prog-name=cpp`").
# 3) Edit STDINCDIR in sh-*-*-cpp correctly
# (e.g. STDINCDIR=/usr/local/sh-unknown-netbsdcoff/include)
# BROKEN
CPP=`$TARGET-gcc -print-prog-name=cpp`
# EXAMPLE
#CPP=/usr/local/bin/sh-unknown-netbsdcoff-cpp
#CPP=/usr/local/bin/sh-unknown-netbsdelf-cpp
2001-02-26 08:46:15 +00:00
msaitoh
6c4c53a461
add "MACHINE_CPU=sh3"
2001-02-26 08:24:20 +00:00
matt
416614582a
More fill-in
2001-02-26 03:09:23 +00:00
matt
fff9126df5
Add some of the common files.
2001-02-26 02:57:48 +00:00
matt
ff7aabff92
Begin to flesh out the DNARD (aka Shark) port.
2001-02-26 02:49:24 +00:00
chs
c6798f2107
add vers.c to CLEANFILES.
2001-02-26 01:42:51 +00:00
bjh21
09f63bd785
Now that arm26 does __HAVE_MINIMAL_EMUL, switch it over to using
...
<arm/types.h>.
2001-02-26 00:19:57 +00:00
reinoud
bb5b27eed9
Putting the param.h back into the arm32 resp. hpcarm include directories
2001-02-26 00:08:41 +00:00
reinoud
7127877cf8
Putting param.h back into hpcarm's include
2001-02-26 00:07:54 +00:00
reinoud
9f68c8b2b1
Putting param.h back to arm32 include directory
2001-02-26 00:06:45 +00:00
reinoud
e4e4d358a0
Fixed IOMD remapping during boottime
2001-02-25 23:59:48 +00:00
bjh21
e56f5ba174
__HAVE_MINIMAL_EMUL
2001-02-25 23:08:33 +00:00
bjh21
9d22bf6fdf
Adapt for __HAVE_MINIMAL_EMUL world.
2001-02-25 23:07:51 +00:00
bjh21
3fb058011a
Move arm32 ports over to using <arm/armreg.h>, so <cpu.h> mostly contains
...
NetBSD-specific definitions.
This also entails some changes to the way CPU identification is done. I hope
I've got it right.
2001-02-25 21:31:13 +00:00
matt
af212d3fda
Use common switch / setfault / trampoline code. (except amigappc because
...
it doesn't use trap_subr.S either).
2001-02-25 20:34:24 +00:00
matt
cd7c0ee5c4
Get the ofppc/prep/macppc/sandpoint/bebox to share the process switch
...
/ setfault / fork_trampoline code.
2001-02-25 20:21:53 +00:00
msaitoh
bc759e0d8d
check __LEADING_UNDERSCORE
2001-02-25 19:15:04 +00:00
bjh21
bdc357ddfa
Guess a CPU ID for the ARM700 as well.
2001-02-25 19:10:28 +00:00
bjh21
c7c73cbe90
The cpu_type element of struct _cpu was only used in identify_arm_cpu().
...
Make it a local variable.
2001-02-25 18:40:26 +00:00
bjh21
846fe69958
Remove CPU_* options (they're in files.arm now -- for some reason I missed
...
this lot in the last commit).
2001-02-25 18:28:27 +00:00
bjh21
9dcb8e583c
Add possible CPU ID for ARM7500 (based on arm/cpu.h).
...
Add macros to distinguish the three formats of CPU ID.
2001-02-25 17:49:34 +00:00
bjh21
740551d1d1
Add PROG32 and PROG26 options.
...
These are intended to indicate what size of program space is in use, and hence
how to get at the PSR bits. They're currently set automatically by the CPU
type options.
2001-02-25 17:23:11 +00:00
reinoud
1a53c63fd7
Finally implemented the moving VIDC chip; this solves the red colour too at startup
...
for RiscPC, A7000 and RC7500. A better solution should be made but is currently
unavailable for all the VIDC stuff isnt using bus_space at all...
2001-02-25 17:17:55 +00:00
bjh21
716d92bdc2
COPY_SIGCODE is never referenced in the kernel, and the comment attached to it
...
is out of date. Assume it's obsolete and g/c it.
2001-02-25 17:04:54 +00:00
msaitoh
526ce203e7
check __LEADING_UNDERSCORE instead of __sh3__
2001-02-25 15:49:58 +00:00
toshii
64d5dfd570
Use MI md_root.c.
2001-02-25 15:45:23 +00:00
bjh21
96b16f75a6
Hack to allow arm26 to have its own "cpu" device. This device should really
...
be shared between all ARM ports, but the arm32 one is too ugly for me to
touch it till I've got a test system running.
2001-02-25 15:33:33 +00:00
bjh21
6f2aa0d0ba
Allow "cpu" to have children. In the long term, this may be the best way to
...
handle co-processors. In the short term, it's a necessary hack to get arm26
kernels to configure.
2001-02-25 15:31:39 +00:00
mrg
dc3c3a7bdd
re-add.
2001-02-25 14:56:47 +00:00
mrg
c4b3d490bb
delete (again), then add (again) ?
2001-02-25 14:56:01 +00:00
mrg
af19a7de64
try a `cvs ci -f' to make this appear on the trunk again. no changes.
2001-02-25 14:47:22 +00:00
jdc
8a32449594
Make sure root sector checksum is invalid if we clear it.
...
Set size of XGM partitions on auxilliary roots correctly.
From Leo Weppelman.
2001-02-25 14:33:19 +00:00
jdc
b2b6b2d9f7
Include <stdio.h> when built with -DDEBUG.
2001-02-25 14:32:59 +00:00
jdc
4a4d440928
Root sector checksums are not always valid, so ignore them.
...
From Leo Weppelman.
2001-02-25 14:32:20 +00:00
jdc
5c57e3ce2c
Make it easier to build with -DDEBUG.
2001-02-25 14:31:53 +00:00
tsutsui
7b88ea28ab
Remove unneeded COMPAT_HPUX stuff.
2001-02-25 13:33:54 +00:00
tsutsui
4cd9aa3b6c
Sync with x68k:
...
Use m68k_page_offset and m68k_trunc_page macros,
instead of using PGOFSET directly.
2001-02-25 13:28:31 +00:00
takemura
074b36937c
Make it compilable, syncing with the relocation of the platid stuff.
2001-02-25 12:58:36 +00:00
matt
e7811ad9b6
Move cpu_sysct and dump{mag,lo,siz} & cpu_dumpconf to powerpc_machdep.c.
...
dumpsys is still port-specific for now. XXX dumpsys is still a stub
on all powerpc ports.
2001-02-24 22:39:16 +00:00
reinoud
142f62c206
Moved the mainbus files to the arm/conf/file.arm from the arm32 and the
...
hpcarm/conf/files.hpcarm
2001-02-24 21:43:01 +00:00
reinoud
7535275b7c
Fixed the `slow printing' bug that occured with debugged kernels on RiscPC's.
...
When the IOMD isnt mapped and all is mapped 1:1 a read gives garbage and thus
the obscure feature that slows down printing (or halts it!) when the mouse
button is pressed during output to the vidcconsole gets allways activated.
Included a simple flag that signals if the IOMD is mapped; the delay routine
won't check the mouse if this flag is still clear.
2001-02-24 21:29:38 +00:00
uch
0cc08093fd
enable wscons.
2001-02-24 20:17:45 +00:00
reinoud
e89d229692
Make hpcarm compile again after movement of mainbus code
2001-02-24 20:13:59 +00:00
reinoud
1267afb3b6
Make lm audio for RiscPC compile again
2001-02-24 20:12:40 +00:00
reinoud
b7b1d6b636
Make rc7500 compile again
2001-02-24 20:11:08 +00:00
reinoud
78a1b11faf
Make arm32 RiscPC compile again
2001-02-24 20:08:53 +00:00
reinoud
286f491040
Changed an innocent looking but pretty expensive table walking in pmap.c
...
from DIAGNOSTIC to PMAP_DEBUG
2001-02-24 20:04:42 +00:00
uch
f4cdccec01
Jornada 690 keyboard driver (matrix switch connected SH3 PFC module)
2001-02-24 19:58:00 +00:00
uch
0bb888c2e4
s/hpcmips/hpcsh/
2001-02-24 19:47:21 +00:00
reinoud
f583057770
Repaired a syntax fault in the files.[hpcarm,arm32]
2001-02-24 19:43:50 +00:00
reinoud
086a93939c
Part 2 of merge.... the dissapearance of mainbus from arm32 and hpcarm;
...
these parts were a 100% the same and i've included the extensions made by
hpcarm in the tree.
Checked for occurence of MD parts; none found.
2001-02-24 19:38:01 +00:00
eeh
85cffb544d
Improve legibility and iommu_dvmamap_sync().
2001-02-24 18:49:06 +00:00
toshii
ce7d8943e9
Use hardware address for saost.
2001-02-24 12:52:02 +00:00
toshii
735cec473d
Remove unneeded hardcoded IO mappings.
2001-02-24 12:48:58 +00:00
toshii
6fee490e68
Use working bus_space_map.
2001-02-24 12:43:52 +00:00
toshii
dfe9d2faf7
Implement bus_space_map().
2001-02-24 12:41:20 +00:00
ichiro
9eeb0264fd
change com-speed to 19200.
...
default com-speed of hpcboot are 19200
2001-02-24 11:08:31 +00:00
toshii
f46f7e3e62
Make hpcarm kernel compile again.
2001-02-24 09:58:43 +00:00
ichiro
d3ce44c170
some include files added newly write into Makefile.
2001-02-24 07:24:36 +00:00
ichiro
ba1664c1f3
add profile.h,profileio.h
2001-02-24 07:16:51 +00:00
ichiro
b84bcefc8e
i forgot writing some include files in Makefile
2001-02-24 07:09:20 +00:00
matt
45f666cb9d
Remove setregs since it now lives in powerpc/powerpc/powerpc_machdep.c
2001-02-24 04:35:33 +00:00
matt
aba3f2655a
Add powerpc/powerpc/powerpc_machdep.c
2001-02-24 04:30:42 +00:00
matt
559cea4b1c
Since setregs is common among all the powerpc ports,
...
make a common version and put it in powerpc_machdep.c
2001-02-24 04:29:26 +00:00
lukem
3aeb5f2f29
whitespace police
2001-02-24 01:59:46 +00:00
lukem
acec2828d9
whitespace police
2001-02-24 01:34:28 +00:00
matt
e7db94d39f
if we panic to a bad/illegal irq, at include the invalid irq value in
...
the panic message.
2001-02-23 23:07:15 +00:00
bjh21
6b7ad3aa3e
__HAVE_NWSCONS and __HAVE_DEVICE_REGISTER are MACHINE-dependent.
2001-02-23 22:02:43 +00:00
reinoud
92493b7a32
Missed this file in the merge due to a typo !
2001-02-23 21:27:46 +00:00
reinoud
c1f753f9b4
Big patch for merging common include files of the new hpcarm tree and the old arm32
...
tree into the new arm substree. All moved files are relinked with a stub that included
the file from the new location; this might be done better later.
2001-02-23 21:23:45 +00:00
uch
b81de58f77
I forgot to move Makefile.
2001-02-23 14:08:54 +00:00
nisimura
4934987175
Make sure to have sfbp.h and add sfbp* line in TCWSCONS left #ed-out.
...
Pointed by Matthew Jacob <mjacob@feral.com>.
2001-02-23 07:21:41 +00:00
ichiro
5137cda306
delete local-ID for cvs
2001-02-23 04:31:18 +00:00
ichiro
c98cd6c023
hpcarm:
...
kernel for StrongARM-based WinCE PDA machine.
2001-02-23 03:48:06 +00:00
bjh21
090dc051cf
Reduce the amount of memory allocated for assembler fragments.
...
Excise unnecessary instructions from kernel launch code.
Increase HIMEM on >8Mb machines, since the last two changes didn't free
enough memory to boot with 16Mb.
2001-02-23 00:27:40 +00:00
eeh
121d97c255
Somehow this didn't get checked in with the rest of the SVR4 64-bit fixes.
2001-02-22 22:08:06 +00:00
uch
659f65e0ee
hpc common files are moved to dev/hpc.
2001-02-22 18:37:54 +00:00
msaitoh
f4b23a11a4
fix a check code whether mkbs is console or not
2001-02-22 15:34:28 +00:00
nisimura
062c4f6e22
Add code segment for PMAGD, which is under development this moment.
2001-02-22 07:46:01 +00:00
chs
a95226826d
switch sun3 to ELF. highlight include:
...
add "%" prefix to register names in assembly code.
change assembly functions to return values in %a0 instead of %d0.
C symbols no longer prepend an underscore, adjust assembly code for this.
32-bit values are now 32-bit aligned instead of 16-bit aligned,
adjust structure packing and padding to override this where necessary.
make EXEC_ELF std, make EXEC_AOUT and COMPAT_AOUT_M68K optional.
use the MI loadfile() instead of several home-grown versions.
2001-02-22 07:11:08 +00:00
lukem
a1602a24ec
don't assume that all the arguments to ctags will fit on one command line
...
(as is the case with a longer SYSDIR)
2001-02-22 04:40:43 +00:00
eeh
a72ee87980
Add support for 64-bit SVR4 (Solaris 8) binaries.
2001-02-21 23:53:00 +00:00
jdolecek
f6d22f21da
usr1handler(): fix the logerror() call, use string 'shut'
2001-02-21 22:55:51 +00:00
jdolecek
efd32026ab
make default_consinfo and kgdb_devname[] const
2001-02-21 22:52:03 +00:00
jdolecek
522f569810
make some more constant arrays 'const'
2001-02-21 21:39:52 +00:00
bjh21
352dfb6c36
Update to support VFP formats. Also a half-hearted attempt at armeb support.
...
Note that I'm using __VFP_FP__ to indicate compilation with VFP-format
floating-point data. There doesn't (currently) seem to be a standard define
for this purpose. __VFP_FP__ was suggested by Richard Earnshaw.
2001-02-21 17:43:50 +00:00
bjh21
887895c344
Add CPU_ID_CPU_MASK. Different, but (I hope) more useful definition than
...
arm32 currently uses.
2001-02-21 17:41:58 +00:00
uch
e0a4623854
move disksubr.c define to machine-port.
2001-02-21 16:42:04 +00:00
uch
8b060aaf64
hpc* common disksubr.c
2001-02-21 16:34:00 +00:00
uch
3cfa37d7da
HD64461 support.
2001-02-21 16:28:02 +00:00
uch
df98929e3b
more diagnostic message. (SH3)
...
add framebuffer information (ARM)
fix boot parameter bug. (-b=sd0)
2001-02-21 16:01:52 +00:00
uch
df5e8f68d8
HD64461 driver (SH3 companion chip for Windows CE)
2001-02-21 15:39:09 +00:00
uch
bedd081460
add HP Jornada 720, Compaq iPAQ H3600 entry.
2001-02-21 15:04:40 +00:00
uch
8ce0133cc8
add SH7709/SH7709A I/O port register define
2001-02-21 14:49:53 +00:00
minoura
b675f941fe
Use m68k_page_offset and m68k_trunc_page macros,
...
instead of using PGOFSET directly.
2001-02-21 12:39:16 +00:00
wdk
581542f31f
Return microtime of zero if not available at early stages of device
...
autoconfiguration.
2001-02-21 09:46:54 +00:00
wdk
935036cf94
Remove superfluous #include added in previous commit
2001-02-21 09:20:56 +00:00
wdk
8e130c9227
Document KGDB options
2001-02-21 09:14:33 +00:00
wdk
85f0f12a55
Changes for KGDB
2001-02-21 09:12:14 +00:00
wdk
07bb8e7a23
Call KGDB hook function
2001-02-21 09:10:42 +00:00