summaryrefslogtreecommitdiffstats
path: root/src/kernel/taskmgr.C
Commit message (Collapse)AuthorAgeFilesLines
* Clean up potential uninitialized object instances.Patrick Williams2013-05-011-26/+25
| | | | | | | | 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>
* GCOV supportPatrick Williams2012-02-071-12/+4
| | | | | | | Change-Id: I73a446754cd03178055459eb75c7b2f87b51b0f3 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/635 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Interactive debug tool.Patrick Williams2011-12-061-5/+7
| | | | | | | | | | | | | | | - Modify debug fw to support writing data. - Modify debug fw to support clocking model forward. - Add simics environment support for both. - Kernel support to start a task when directed. - Write debug tool to modify kernel structure for debug. Change-Id: Ic001dfd45f91392aefbc9d5096c5344018d5190e Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/518 Tested-by: Jenkins Server Reviewed-by: Andrew J. Geissler <andrewg@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Assert on crash of a parent-less task.Patrick Williams2011-11-011-3/+37
| | | | | | | | | | | | - Assert whenever a parent-less task crashes. - Clean up task structures for parent-less tasks. Change-Id: Idf613cbbd51e6ec87e5c1455c30b3051096ed807 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/468 Tested-by: Jenkins Server Reviewed-by: Douglas R. Gilbert <dgilbert@us.ibm.com> Reviewed-by: Melissa J. Connell <missyc@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Support task_wait / task_wait_tid syscalls:Patrick Williams2011-10-241-0/+216
| | | | | | | | | | | | | | | | | | | | | | | | | - 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>
* Floating point support.Patrick Williams2011-09-121-0/+3
| | | | | | | Change-Id: I859cac1c01bf631d12223702d68813b45339b65f Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/295 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Dynamic stack support.Patrick Williams2011-08-311-6/+4
| | | | | | | | | | - Create stack segment. - Allocate stack blocks on stack create. Change-Id: Ida90055afb68f208c479b5fdc19d3d931d026105 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/271 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@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
* Create initial stack-frame from userspace.Patrick Williams2011-08-221-8/+10
| | | | | | | | Change-Id: Ie1133bd079e7b9a8f2f82daa06efc426bf0fd0d6 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/268 Tested-by: Jenkins Server Reviewed-by: Douglas R. Gilbert <dgilbert@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* VMM Improvements.Patrick Williams2011-07-201-1/+1
| | | | | | | | | | | - Segment Manager - Base / Device Segments - Block for Base image. Change-Id: Ic0c058e5c5b210ec1c48d30f6ed9f9837d74a3c8 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/193 Tested-by: Jenkins Server Reviewed-by: MATTHEW S. BARTH <msbarth@us.ibm.com>
* Add user-space stub for task entry.Patrick Williams2011-07-181-6/+7
| | | | | | | | | | | This will prevent kernel space from needing to dereference user-space addresses for starting a task, which is safer and is easier for VMM. Change-Id: Icad3b832550cedbf291ed8b032840f4049fba18e Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/202 Tested-by: Jenkins Server Reviewed-by: Douglas R. Gilbert <dgilbert@us.ibm.com> Reviewed-by: MATTHEW S. BARTH <msbarth@us.ibm.com>
* Set up initial task link-register to point to 'task_end' function.Patrick Williams2011-06-201-0/+9
| | | | | | | | Change-Id: Id1b122d789b84eebd75feb3bdb7e1ca222e6d76e Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/147 Reviewed-by: Nicholas E. Bofferding <bofferdn@us.ibm.com> Tested-by: Jenkins Server Reviewed-by: Mark W. Wenning <wenning@us.ibm.com>
* Kernel support for processor affinity.Patrick Williams2011-05-261-0/+3
| | | | | | | | | Change-Id: Ie84a805bad58032085208a98b1b31393def681cb Reviewed-on: http://gfwr801.rchland.ibm.com:8080/gerrit/100 Tested-by: Jenkins Server Reviewed-by: Douglas R. Gilbert <dgilbert@us.ibm.com> Reviewed-by: Andrew J. Geissler <andrewg@us.ibm.com> Reviewed-by: Nicholas E. Bofferding <bofferdn@us.ibm.com>
* Eliminate race condition in updating task->cpu pointer.Patrick Williams2011-03-311-1/+2
|
* Thread priorities in idle and init spinlock.Patrick Williams2011-03-051-0/+1
|
* Merge of PowerHAL project up to commit:Patrick Williams2011-03-051-3/+3
| | | | dd45c30bd53d8e6c123165b83842d08117558a3c
* SMT support.Patrick Williams2010-07-071-0/+1
|
* Memory map and execution fixes for simics.Patrick Williams2010-07-021-0/+3
|
* Move SPRG3 manipulation to common ppc-arch file.Patrick Williams2010-06-281-4/+3
|
* Refactor task-manager tid counter to generic lockfree algorithm.Patrick Williams2010-06-091-6/+1
|
* Add task control syscalls.Patrick Williams2010-06-071-1/+2
|
* Create init process, fix scheduler bugs.Patrick Williams2010-06-071-1/+1
|
* Give tasks a void-ptr parameter like pthreads.Patrick Williams2010-06-071-4/+8
|
* Add scheduler and calls from dispatch interrupt.Patrick Williams2010-06-071-0/+7
|
* Add stub for decrementer interrupt.Patrick Williams2010-06-031-1/+0
|
* Implement task saving and dispatching.Patrick Williams2010-06-031-1/+4
|
* Initial cpu / task structs.Patrick Williams2010-06-021-0/+66
OpenPOWER on IntegriCloud