summaryrefslogtreecommitdiffstats
path: root/src/kernel/kernel.C
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* Use new scratch reg for hb_done and set early in IPLAndrew Geissler2014-03-131-0/+4
| | | | | | | | | | | | | | | | | This is to support using the scratch register for the power off message. I moved to a new scratch register since we were sharing with a SBE scratch reg that was needed early in HB IPL. NOTE! This will have a co-req with an FSP track so we'll need to coordinate. CMVC-Coreq: 917527 Change-Id: I5f81f15126d6ad8d2c9459c5afe730554256c037 RTC: 95818 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/9220 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: MIKE J. JONES <mjjones@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Set hostboot_done scratch reg after all winkles and controlled shutdownAndrew Geissler2014-02-191-3/+3
| | | | | | | | Change-Id: Ie2887464cc57fe9d5974de5e8031d82f5c42fb06 CQ: SW246446 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/8808 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Memory Leak task_endBill Schwartz2012-10-121-24/+23
| | | | | | | | Change-Id: Idb7a2d8d72a55f644efd0b2548eca5df5d062e6d RTC: 47491 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/2011 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Support for master winkle.Patrick Williams2012-08-101-22/+25
| | | | | | | | | RTC: 44730 Change-Id: Ifaeecc659e1bfd8ded4744dc591fc993471519ba Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1471 Tested-by: Jenkins Server Reviewed-by: Mark W. Wenning <wenning@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Interactive debug tool.Patrick Williams2011-12-061-1/+1
| | | | | | | | | | | | | | | - 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>
* Support task_wait / task_wait_tid syscalls:Patrick Williams2011-10-241-5/+11
| | | | | | | | | | | | | | | | | | | | | | | | | - 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
* Additional weak-consistency fixes.Patrick Williams2011-04-211-0/+1
| | | | | | | Change-Id: I6d6304851a1794e117782277f6e3aee7544afcc7 Reviewed-on: http://gfwr801.rchland.ibm.com:8080/gerrit/6 Tested-by: Jenkins Server Reviewed-by: Andrew J. Geissler <andrewg@us.ibm.com>
* Change kernel string to hostboot.Patrick Williams2011-04-141-1/+1
| | | | | | | Change-Id: I6da5c1686ce60af9a6610c21cad3765c8a8219d9 Reviewed-on: http://localhost:8080/gerrit/3 Tested-by: Jenkins Server Reviewed-by: ALWOOD P. WILLIAMS III <iawillia@us.ibm.com>
* VBU: Move dcbz code into PageManager.Patrick Williams2011-04-111-12/+0
| | | | | | The space after our code image but before the first page is unused, so we only need to dcbz the pages. This reduces any dependency on cache size in the dcbz loop boundary condition calculations.
* Fix dcbz to round up to nearest cache line.Patrick Williams2011-04-111-2/+5
|
* VBU: dcbz cache lines after code image to ensure they are in the L3.Patrick Williams2011-04-071-0/+10
|
* Remove invalid memory access in hbi init.Patrick Williams2011-03-051-1/+1
|
* Add skeleton of timebase manager.Patrick Williams2010-09-201-0/+2
|
* SMT support.Patrick Williams2010-07-071-1/+15
|
* Start virtual memory management.Patrick Williams2010-07-021-0/+2
|
* Create init process, fix scheduler bugs.Patrick Williams2010-06-071-1/+16
|
* Implement task saving and dispatching.Patrick Williams2010-06-031-0/+4
|
* Initial cpu / task structs.Patrick Williams2010-06-021-0/+8
|
* Add new/delete operators.Patrick Williams2010-05-211-1/+1
|
* malloc / free supportPatrick Williams2010-05-211-1/+4
|
* Add heap manager for allocations up to 2040 bytesPatrick Williams2010-05-211-1/+2
|
* Create page manager.Patrick Williams2010-05-201-5/+13
|
* Call default constructors.Patrick Williams2010-05-191-5/+28
|
* Full vargs printk.Patrick Williams2010-05-191-0/+4
|
* Add thread safe guard variable code.Patrick Williams2010-05-181-1/+1
|
* Create simple console.Patrick Williams2010-05-181-0/+4
|
* Improve make infrastructure.Patrick Williams2010-05-181-0/+6
OpenPOWER on IntegriCloud