summaryrefslogtreecommitdiffstats
path: root/src/occ_405/main.c
diff options
context:
space:
mode:
authorWilliam Bryan <wilbryan@us.ibm.com>2015-08-26 17:01:40 -0500
committerWilliam A. Bryan <wilbryan@us.ibm.com>2015-08-27 14:19:53 -0500
commit4103221248508ac1aa16a07e5ae7cac8b9860d57 (patch)
tree42457488d44dbaaaf153e446d4930843f6a077e6 /src/occ_405/main.c
parent0f26c7e693a059bc77529c03e2bec44486131e4a (diff)
downloadtalos-occ-4103221248508ac1aa16a07e5ae7cac8b9860d57.tar.gz
talos-occ-4103221248508ac1aa16a07e5ae7cac8b9860d57.zip
Enable tracing
I've reverted the way we trace from SSX_TRACE to the P8 way More useful way of compiling for Simics vs HW RTC: 133155 Change-Id: I7ac3ce9ad71e36de0cf0050f14ff3d2423c9f75f Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/20113 Tested-by: William A. Bryan <wilbryan@us.ibm.com> Reviewed-by: Wael Elessawy <welessa@us.ibm.com> Reviewed-by: Martha Broyles <mbroyles@us.ibm.com> Reviewed-by: William A. Bryan <wilbryan@us.ibm.com>
Diffstat (limited to 'src/occ_405/main.c')
-rwxr-xr-xsrc/occ_405/main.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/occ_405/main.c b/src/occ_405/main.c
index bf0d653..d795eef 100755
--- a/src/occ_405/main.c
+++ b/src/occ_405/main.c
@@ -1278,10 +1278,12 @@ int main(int argc, char **argv)
// enable and register additional interrupt handlers
CHECKPOINT(INITIALIZING_IRQS);
-// TODO: Uncomment when this is resolved. Causes SSX panic currently.
-// Not needed until we want to be able to catch hardware OCC or
-// PMC (or equivalent) errors.
-// occ_irq_setup();
+// TODO: Uncomment when this is resolved in Simics. Causes SSX panic
+// currently. Not needed until we want to be able to catch
+// hardware OCC or PMC (or equivalent) errors.
+#if !SIMICS_ENVIRONMENT
+ occ_irq_setup();
+#endif
CHECKPOINT(IRQS_INITIALIZED);
OpenPOWER on IntegriCloud