summaryrefslogtreecommitdiffstats
path: root/src/occ_405/thread
diff options
context:
space:
mode:
authorAndres Lugo-Reyes <aalugore@us.ibm.com>2017-10-24 11:31:47 -0500
committerAndres A. Lugo-Reyes <aalugore@us.ibm.com>2017-11-02 13:56:34 -0400
commit5f4122b9d99c2a103587f8fbee3b77f56ffbfbe6 (patch)
tree58b020f58823ec095110e2369dc2bbc1b2e922f6 /src/occ_405/thread
parentdbb4d7e88cf3a4f83d4b67b6ff90cb222503c60c (diff)
downloadtalos-occ-5f4122b9d99c2a103587f8fbee3b77f56ffbfbe6.tar.gz
talos-occ-5f4122b9d99c2a103587f8fbee3b77f56ffbfbe6.zip
Snapshot buffer support
Change-Id: Iececa1d5e6ac68c67326dbabf0a61ef63346116e RTC:165947 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/48766 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Christopher J. Cain <cjcain@us.ibm.com> Reviewed-by: William A. Bryan <wilbryan@us.ibm.com> Reviewed-by: Andres A. Lugo-Reyes <aalugore@us.ibm.com>
Diffstat (limited to 'src/occ_405/thread')
-rwxr-xr-xsrc/occ_405/thread/threadSch.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/occ_405/thread/threadSch.c b/src/occ_405/thread/threadSch.c
index 025ff4c..3876c87 100755
--- a/src/occ_405/thread/threadSch.c
+++ b/src/occ_405/thread/threadSch.c
@@ -40,6 +40,9 @@
// Thread Timer to reprioritize the threads
SsxTimer G_threadSchTimer;
+// Snapshot timer object
+extern SsxTimer G_snapshotTimer;
+
// Index of highest priority thread in G_scheduledThreads
uint16_t G_threadSchedulerIndex = 0;
@@ -159,7 +162,6 @@ void initThreadScheduler(void)
MAIN_TRAC_INFO("Error creating timer: RC: %d", l_timerRc);
}
-/* TEMP -- NOT USED IN PHASE1
// Create snapshot timer
l_snapshotTimerRc = ssx_timer_create(&G_snapshotTimer, cmdh_snapshot_callback, 0);
// Check for errors creating the timer
@@ -176,7 +178,6 @@ void initThreadScheduler(void)
{
MAIN_TRAC_INFO("Error creating timer: RC: %d", l_snapshotTimerRc);
}
-*/
// If there are any errors creating the threads or starting the
// timer create an error log to pass back.
OpenPOWER on IntegriCloud