From ff9129600b90065c02943bda36d336123d03fede Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Sun, 8 Jan 2006 17:44:23 +0000 Subject: 2006-01-08 Joel Sherrill * psim, psim-gdb: Add setting of PVR to 0xfffe0000 since psim needs a special processor version value or exceptions will not work. --- c/src/lib/libbsp/powerpc/psim/tools/ChangeLog | 5 +++++ c/src/lib/libbsp/powerpc/psim/tools/psim | 5 +++-- c/src/lib/libbsp/powerpc/psim/tools/psim-gdb | 5 +++-- 3 files changed, 11 insertions(+), 4 deletions(-) (limited to 'c/src/lib/libbsp') 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 + + * 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 * 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} -- cgit v1.2.3