summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2006-01-08 17:44:23 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2006-01-08 17:44:23 +0000
commitff9129600b90065c02943bda36d336123d03fede (patch)
tree99be6f3abfb0a9b2c2b01382821eaf56e70d120e /c/src/lib/libbsp
parentFormating fixes. (diff)
downloadrtems-ff9129600b90065c02943bda36d336123d03fede.tar.bz2
2006-01-08 Joel Sherrill <joel@OARcorp.com>
* psim, psim-gdb: Add setting of PVR to 0xfffe0000 since psim needs a special processor version value or exceptions will not work.
Diffstat (limited to 'c/src/lib/libbsp')
-rw-r--r--c/src/lib/libbsp/powerpc/psim/tools/ChangeLog5
-rwxr-xr-xc/src/lib/libbsp/powerpc/psim/tools/psim5
-rwxr-xr-xc/src/lib/libbsp/powerpc/psim/tools/psim-gdb5
3 files changed, 11 insertions, 4 deletions
diff --git a/c/src/lib/libbsp/powerpc/psim/tools/ChangeLog b/c/src/lib/libbsp/powerpc/psim/tools/ChangeLog
index 3f5535cc0e..e4f0f1badb 100644
--- a/c/src/lib/libbsp/powerpc/psim/tools/ChangeLog
+++ b/c/src/lib/libbsp/powerpc/psim/tools/ChangeLog
@@ -1,3 +1,8 @@
+2006-01-08 Joel Sherrill <joel@OARcorp.com>
+
+ * psim, psim-gdb: Add setting of PVR to 0xfffe0000 since psim needs a
+ special processor version value or exceptions will not work.
+
2005-01-03 Ralf Corsepius <ralf.corsepius@rtems.org>
* Makefile.am: Reflect psim-gdb having been added.
diff --git a/c/src/lib/libbsp/powerpc/psim/tools/psim b/c/src/lib/libbsp/powerpc/psim/tools/psim
index ca9eebcba8..7e4f77d2b2 100755
--- a/c/src/lib/libbsp/powerpc/psim/tools/psim
+++ b/c/src/lib/libbsp/powerpc/psim/tools/psim
@@ -2,7 +2,7 @@
#
# Shell script to ease invocation of the powerpc simulator
#
-# COPYRIGHT (c) 1989-2004.
+# COPYRIGHT (c) 1989-2006.
# On-Line Applications Research Corporation (OAR).
#
# The license and distribution terms for this file may be
@@ -18,8 +18,9 @@ TREE_FILE=psim_tree.${LOGNAME}
# Build this user's device tree file
echo "/#address-cells 2" > ${TREE_FILE}
-#echo "/openprom/options/oea-memory-size 4194304" >> ${TREE_FILE}
+echo "/openprom/init/register/pvr 0xfffe0000" >> ${TREE_FILE}
echo "/openprom/options/oea-memory-size 8388608" >> ${TREE_FILE}
+
# These require the semaphore and shared memory device models.
# echo "/shm@0xc0000000/reg 0xc0000000 0x10000" >> ${TREE_FILE}
# echo "/shm@0xc0000000/key ${RTEMS_SHM_KEY}" >> ${TREE_FILE}
diff --git a/c/src/lib/libbsp/powerpc/psim/tools/psim-gdb b/c/src/lib/libbsp/powerpc/psim/tools/psim-gdb
index e5e45f3ee2..f417d81add 100755
--- a/c/src/lib/libbsp/powerpc/psim/tools/psim-gdb
+++ b/c/src/lib/libbsp/powerpc/psim/tools/psim-gdb
@@ -2,7 +2,7 @@
#
# Shell script to ease invocation of the powerpc simulator
#
-# COPYRIGHT (c) 1989-2004.
+# COPYRIGHT (c) 1989-2006.
# On-Line Applications Research Corporation (OAR).
#
# The license and distribution terms for this file may be
@@ -17,8 +17,9 @@ GDB_FILE=gdb_tree.${LOGNAME}
# Build this user's device tree file
echo "/#address-cells 2" > ${TREE_FILE}
-#echo "/openprom/options/oea-memory-size 4194304" >> ${TREE_FILE}
+echo "/openprom/init/register/pvr 0xfffe0000" >> ${TREE_FILE}
echo "/openprom/options/oea-memory-size 8388608" >> ${TREE_FILE}
+
# These require the semaphore and shared memory device models.
# echo "/shm@0xc0000000/reg 0xc0000000 0x10000" >> ${TREE_FILE}
# echo "/shm@0xc0000000/key ${RTEMS_SHM_KEY}" >> ${TREE_FILE}