summaryrefslogtreecommitdiffstats
path: root/src/kernel/timemgr.C
Commit message (Collapse)AuthorAgeFilesLines
* Add doorbell support.Patrick Williams2016-04-041-1/+5
| | | | | | | | | | | Change-Id: I4c5ef96c4793f6da26d54d1d61a51f6395e6b34b Backport: master-p8 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/930 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com> Tested-by: FSP CI Jenkins Reviewed-by: Matthew A. Ploetz <maploetz@us.ibm.com>
* Change copyright prolog for all files to Apache.Patrick Williams2014-05-211-10/+10
| | | | | | | Change-Id: I5664587b4f889099290ef50d50fa9ce5e580e1eb Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/11167 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Ensure small sleeps are accurate through a context switch.Patrick Williams2014-02-271-0/+18
| | | | | | | | | Change-Id: Ie4efdf83d3baee1526f786a78118022baa67a73a Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/9052 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: Douglas R. Gilbert <dgilbert@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Move isSimicsRunning() check into a util functionMike Baiocchi2014-02-051-11/+3
| | | | | | | | | | | | Moves the existing isSimicsRunning() support in kernel/timemgr.C to a new utility function. Change-Id: I522b1ab9967a3c3c894fba0525d2e6ffb95cded9 RTC: 94883 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/8281 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Fixed performance issues in SIMICS IPLStephen Cprek2013-10-311-0/+19
| | | | | | | | Change-Id: Iccce5b641d0e2dc414bacc143a6b3e186f4e49ab CQ: SW224728 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/6960 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Clean up potential uninitialized object instances.Patrick Williams2013-05-011-24/+23
| | | | | | | | Change-Id: I859f94234d5672f55f745dd37b9662c310b694a7 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/4236 Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Reduce timeslice for idle task based on wake time of sleeping tasksDoug Gilbert2012-07-281-23/+72
| | | | | | | | | RTC: 43738 Change-Id: I91c2bfe57bba04a02dd5169542de8e76e1654ae8 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1387 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Support for core_activate via IPI.Patrick Williams2012-07-161-5/+21
| | | | | | | | RTC: 37009 Change-Id: I56669805c86d9659a20ad7c26e5e9860c7a248c7 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1087 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Support for POSIX clock_gettime function.Patrick Williams2012-05-211-0/+9
| | | | | | | | | | Change-Id: I004772e9005ce08d72d666a9b4073afd7b74e582 RTC: 41635 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1053 Tested-by: Jenkins Server Reviewed-by: Douglas R. Gilbert <dgilbert@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Support task_wait / task_wait_tid syscalls:Patrick Williams2011-10-241-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | - Add task_end2 syscall to allow pthread_exit-like retval. - Add/maintain task states. - Create task parent/child tracking tree. - Add task_detach function. - Implement wait syscalls. Make task_exec caller the parent of spawned task: Previously the task_exec call caused a message to the VFS task, which called task_create and returned the tid in response to the message. This causes the parent of the spawned task to appear to be the VFS task. Modify task_exec / VFS handling to instead return the entry point address on the message and have task_exec call task_create directly itself. Change-Id: I6b6796f45875de37b1ab01e7596639b073820b95 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/443 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: Andrew J. Geissler <andrewg@us.ibm.com>
* Add copyright headers to all source files.Patrick Williams2011-08-241-0/+22
| | | | | | | Change-Id: I205f2409e56032cfc0aaf01d7e26d357f0b86373 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/277 Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com> Tested-by: Jenkins Server
* Add per CPU sleep queues.Patrick Williams2011-04-141-2/+2
| | | | | | | Change-Id: If4e9137c860d177a9bccf8f2fc27808a84cdb4db Reviewed-on: http://localhost:8080/gerrit/1 Tested-by: Jenkins Server Reviewed-by: ALWOOD P. WILLIAMS III <iawillia@us.ibm.com>
* Add nanosleep syscall.Patrick Williams2010-10-041-3/+48
|
* Add skeleton of timebase manager.Patrick Williams2010-09-201-0/+15
OpenPOWER on IntegriCloud