summaryrefslogtreecommitdiff
path: root/sim-scripts
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2009-09-22 23:45:27 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2009-09-22 23:45:27 +0000
commit5f4a6d717df24121975c142da0d5eedc0ff9272d (patch)
treeed77ca27bf6bdf4a36d78f743ebd3309544f9728 /sim-scripts
parentdb4b0dd1c575cb66e8a088c0649fc46c43367ee0 (diff)
2009-09-22 Joel Sherrill <joel.sherrill@oarcorp.com>
* psim.in: Update to accomodate Till's changes to the BSP to use OpenPic. There are more changes to integrate.
Diffstat (limited to 'sim-scripts')
-rw-r--r--sim-scripts/ChangeLog5
-rw-r--r--sim-scripts/psim.in9
2 files changed, 13 insertions, 1 deletions
diff --git a/sim-scripts/ChangeLog b/sim-scripts/ChangeLog
index 5e8fe06..d3c5f9b 100644
--- a/sim-scripts/ChangeLog
+++ b/sim-scripts/ChangeLog
@@ -1,3 +1,8 @@
+2009-09-22 Joel Sherrill <joel.sherrill@oarcorp.com>
+
+ * psim.in: Update to accomodate Till's changes to the BSP to use
+ OpenPic. There are more changes to integrate.
+
2009-09-20 Joel Sherrill <joel.sherrill@OARcorp.com>
* qemu-rtems.in: cpuuse needs longer to run.
diff --git a/sim-scripts/psim.in b/sim-scripts/psim.in
index e85c8c4..f5c903c 100644
--- a/sim-scripts/psim.in
+++ b/sim-scripts/psim.in
@@ -76,7 +76,7 @@ cat <<EOF
#
/#address-cells 1
/openprom/init/register/pvr 0xfffe0000
-/openprom/options/oea-memory-size 8388608
+/openprom/options/oea-memory-size 16777216
##### EEPROM @ 0x0c000000 for 512K
/eeprom@0x0c000000/reg 0x0c000000 0x80000
/eeprom@0x0c000000/nr-sectors 8
@@ -91,6 +91,13 @@ cat <<EOF
##### NVRAM/RTC RTC Portion is 0x0c100000 for 12
/nvram@0x0c080000/reg 0x0c080000 524300
/nvram@0x0c080000/timezone -3600
+
+##### OPENPIC @ 0x0c130000 - 0x0c170000 (512K)
+/opic@0x0c130000/reg 0x0c130000 0 0x0c130000 0x40000
+/opic@0x0c130000/interrupt-ranges 0 0 0 16
+/opic@0x0c130000/device_type open-pic
+## interupt out -> CPU's interrupt pin
+/opic@0x0c130000 > intr0 int /cpus/cpu@0
EOF
if [ ${enable_sysv_devices} = yes ] ; then