summaryrefslogtreecommitdiffstats
path: root/src/include/sys
Commit message (Collapse)AuthorAgeFilesLines
* Fix IPC BAR scom addressDoug Gilbert2012-05-161-1/+1
| | | | | | | | | Change-Id: Ib3e13d892e58faa12082d6a09a1f6b504af44ae5 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1058 Reviewed-by: Thi N. Tran <thi@us.ibm.com> Tested-by: Jenkins Server Reviewed-by: Mark W. Wenning <wenning@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* INTR set IPCBAR scom reg on init and add INTR shutdown interfaceDoug Gilbert2012-05-111-0/+1
| | | | | | | | | | RTC: 39730 Change-Id: Ib548202f6f935b46cd92e0ddbf48d19b5ff6679a Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/977 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Allow kernel to shutdown-to-payload.Patrick Williams2012-04-241-2/+7
| | | | | | | | | | | | | | | This code is currently unused, due to InitService not having the payload address and the start_host_os IPL step being unimplemented. For testing purposes the 'shutdown' call in initservice.C can be changed to pass a non-zero base address (such as 256MB). RTC: 40871 Change-Id: I0f4b6bae62ede1853aabbcb28082300005e31897 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/926 Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com> Tested-by: Jenkins Server Reviewed-by: Douglas R. Gilbert <dgilbert@us.ibm.com>
* Cause assert to crash a process rather than exit cleanly.Patrick Williams2012-04-101-0/+6
| | | | | | | | | Change-Id: I3a890aa624b5733b8b1bf423e13f4567027dae19 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/870 Tested-by: Jenkins Server Reviewed-by: ADAM R. MUHLE <armuhle@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Support P8 mambo model and Murano proc.Patrick Williams2012-03-211-2/+2
| | | | | | | | | RTC: 38206 Change-Id: Iab79041931db533ad6b6ebd057c1ef9fe4c4b8cc Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/714 Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Add non-blocking sync msg interface.Patrick Williams2012-03-031-5/+42
| | | | | | | | | Change-Id: I808fc55ca4706bf03df63b1a72acc87ddba20822 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/705 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>
* Conditional Variable supportDoug Gilbert2012-01-251-3/+75
| | | | | | | Change-Id: Ib715b3a4e775ef183244e8769c6560a85ac19104 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/612 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* VFS add functions to find module by address and query if module is loadedDoug Gilbert2012-01-191-3/+12
| | | | | | | | Change-Id: I471a2a773d42f11ab973f42ca701c8be5191d776 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/611 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: Douglas R. Gilbert <dgilbert@us.ibm.com>
* Interrupt presenter implementationDoug Gilbert2012-01-054-3/+63
| | | | | | | | Change-Id: If6b499d819b71298b8a64e096e1eb83c639ad645 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/517 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Change VFS to return non page aligned size in typesDoug Gilbert2012-01-031-1/+1
| | | | | | | Change-Id: Id4d7c03b65a2c15e434e8282691d0cc4c9961267 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/584 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Complete virtual memory write path during shutdown sequenceMatthew Barth2011-12-081-1/+3
| | | | | | | Change-Id: I93a6305b88539d8cf1b41cfc4cde713fd7c19494 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/522 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* remove mmioMap and mmioUnmap deprecated functions.Missy Connell2011-11-291-9/+0
| | | | | | | | Change-Id: I9d9094d5c6689c9127c6948239c7c9aaebacdfde Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/514 Tested-by: Jenkins Server Reviewed-by: MATTHEW S. BARTH <msbarth@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* RTC4319: Shutdown if IStep failsMark Wenning2011-11-161-0/+16
| | | | | | | | | | | | | | | | - add macro to report error to testHWP.C - new TASKARGS macros (prepare for join change) - istep dispatcher, extinitsvc and initsvc now call shutdown() - pass error codes to parent task - fix errorlog tags, see RTC3840 - added ErrlUserDetails module, mostly for debug - review fixes Change-Id: Ib5009f1bf0f7657d4da5bd6d1ecf64e6113b3383 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/486 Tested-by: Jenkins Server Reviewed-by: MIKE J. JONES <mjjones@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Support host boot mutex attributesNick Bofferding2011-11-161-0/+26
| | | | | | | | | | | | | | | | | | | | - Prevented mutex attributes from being copied in target APIs - Added target APIs to get/tryGet mutex attribute references - Added testcases to verify mutex attributes - Added mutex attribute type to XML definition - Added test mutex attribute to system target XML definition - Modified attribute compiler to support mutex attributes and restrictions - Replaced 100000 cycle loop in synctest.H with nanosleep for 10 CTX switches - Added context switch time macros to time.h - Removed context switch time macros from taskwaittest.H and renamed existing macro calls - Removed context switch time macros from synctest.H and renamed existing macro calls Change-Id: I93fecfa75e00e509fa442e4dd5c9e3fd67866e98 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/491 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Support task_wait / task_wait_tid syscalls:Patrick Williams2011-10-243-6/+106
| | | | | | | | | | | | | | | | | | | | | | | | | - 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>
* Flush/Release/Evict pages functionalityMatthew Barth2011-10-101-3/+9
| | | | | | | Change-Id: Ic0bb4122164e11f6d13e6850abf8ae9bd32caea2 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/393 Tested-by: Jenkins Server Reviewed-by: MATTHEW S. BARTH <msbarth@us.ibm.com>
* VFS provide assess to read-only data modulesDoug Gilbert2011-09-281-1/+1
| | | | | | | Change-Id: I0178e5b9154f43e092af217931f4570941393d62 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/357 Reviewed-by: Douglas R. Gilbert <dgilbert@us.ibm.com> Tested-by: Jenkins Server
* VFS implement setting page permissions on virtual memoryDoug Gilbert2011-09-211-0/+8
| | | | | | | | Change-Id: I5a511a376d6d4ce685945e75aac7c550bb9e0aad Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/347 Tested-by: Jenkins Server Reviewed-by: MATTHEW S. BARTH <msbarth@us.ibm.com> Reviewed-by: Douglas R. Gilbert <dgilbert@us.ibm.com>
* Change mm_set_permission interface.Patrick Williams2011-09-211-2/+2
| | | | | | | | | | Allow multiple settings to be OR'd together. Change-Id: I5f565c73919f20eceeb255531c6fe1c14e72182b Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/349 Tested-by: Jenkins Server Reviewed-by: Melissa J. Connell <missyc@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Adding new interface to update page permissions.. Interface only.Missy Connell2011-09-151-0/+27
| | | | | | | | | | | | Added changes from review comments Updated new enum for system call Change-Id: I8a55b5e2f67427e59263eae31913e438ca782006 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/331 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com> Reviewed-by: Douglas R. Gilbert <dgilbert@us.ibm.com> Reviewed-by: Melissa J. Connell <missyc@us.ibm.com>
* Centralizing a few of the memory-related constants to avoid someDan Crowell2011-09-141-1/+2
| | | | | | | | | | | | redundancies and also to have a single place to update the memory map if needed. See Task 3507. Change-Id: I8f2d632983abe6d6798784e975cd93057018594b Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/330 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Remove page by given TYPE system callMatthew Barth2011-09-141-0/+20
| | | | | | | Change-Id: Iffdd97a75944abbd52dbc72d3aa1394b771fd371 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/333 Tested-by: Jenkins Server Reviewed-by: MATTHEW S. BARTH <msbarth@us.ibm.com>
* Return code cleanups.Patrick Williams2011-09-132-3/+12
| | | | | | | Change-Id: I375c2f895f28b73948aa384dda781b31f027719b Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/334 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Ensure scratch operations happen on master core.Patrick Williams2011-08-311-3/+12
| | | | | | | | Change-Id: I970d645108de041d410599847edce877cb794015 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/275 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Add copyright headers to all source files.Patrick Williams2011-08-249-0/+198
| | | | | | | 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 initial scratch (sprc/sprd) support.Patrick Williams2011-08-221-1/+51
| | | | | | | Change-Id: Ica416251241a2881459b2eb1ae0ad3c746de1200 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/267 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Virtual File System module load and unloaddgilbert2011-08-172-4/+44
| | | | | | | | Change-Id: Iaa6a256a8a15ac48bfba5bc1cab292c5ac246166 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/253 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Finishing up PNOR RP code (RTC Task 3440)Dan Crowell2011-08-171-27/+0
| | | | | | | | | | | | | | | | | -Add calls to mm_alloc_block -Fix error responses to message -Cleanup some error handling -Code review updates Final piece of the PNOR puzzle - Task 3389 -Also added a check to autocitest that will catch initialization fails. -Added some error printks to message interface -Disabled test_messageReadWrite testcase Change-Id: I4f1207138a6cf4f86cf2b6f3f81fc5885b02699d Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/252 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Implement Kernel->User-space message bridge.Patrick Williams2011-08-161-15/+74
| | | | | | | Change-Id: Icf6fc9e10b1c39e981dddf180607b710c597112b Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/249 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Allocate block system call stubMatthew Barth2011-08-101-0/+27
| | | | | | | Change-Id: Ief3476b5306bc231c9d3044b2736fcd195e840b1 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/243 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Device segment MMIO map & unmap system callsMatthew Barth2011-08-081-18/+26
| | | | | | | Change-Id: I233c2677909c0c16536133c189ebbd21e4415e22 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/208 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Temporarily increase base image directory sizeDoug Gilbert2011-08-051-1/+1
| | | | | | | | Change-Id: I63188a35e9a5ea1922cd3a5a34b1ce752e008eac Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/229 Reviewed-by: Douglas R. Gilbert <dgilbert@us.ibm.com> Tested-by: Jenkins Server Reviewed-by: Terry J. Opie <opiet@us.ibm.com>
* Add userspace syscalls for PVR.Patrick Williams2011-07-291-0/+32
| | | | | | | | Change-Id: I27d51e0e9f2396a4ddd45d98d6b1004a17c9db46 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/219 Tested-by: Jenkins Server Reviewed-by: Douglas R. Gilbert <dgilbert@us.ibm.com> Reviewed-by: MATTHEW S. BARTH <msbarth@us.ibm.com>
* PNOR Resource Provider (RTC:3387)Dan Crowell2011-07-281-0/+27
| | | | | | | Change-Id: Ifa47ad581c7d403b927708497b565d858b31ee0f Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/213 Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Tested-by: Jenkins Server
* Shutdown and post status on HostBoot completionMike Jones2011-07-191-0/+21
| | | | | | | | Change-Id: If2ab46af85065b29695a1186ed331fd835944eb4 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/204 Tested-by: Jenkins Server Reviewed-by: Mark W. Wenning <wenning@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Linker support for extended imagedgilbert2011-07-151-4/+15
| | | | | | | Change-Id: I21acf1b870667aa3aa2617837bead3a1697db7c1 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/194 Tested-by: Jenkins Server Reviewed-by: Douglas R. Gilbert <dgilbert@us.ibm.com>
* syscall cleanup/scrubMonte Copeland2011-07-144-21/+163
| | | | | | | | | | | - 2nd pass - 3rd pass Change-Id: I5eb314c0c635aa42bc4d841065d9a9a786f8be4b Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/198 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com> Reviewed-by: MIKE J. JONES <mjjones@us.ibm.com>
* Remove heap allocation of xscom mutex.Patrick Williams2011-06-241-10/+5
| | | | | | | | | | | | | | Since mutexes are simply a uint64 with a static initializer, the xscom mutex is now a instance variable directly in the cpu object. Remove unneeded mutex_create function and changed the behavior of mutex_destroy. Change-Id: If6e1d1bf0083c32ef9e7502d27678811bdaf7e1e Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/150 Tested-by: Jenkins Server Reviewed-by: Douglas R. Gilbert <dgilbert@us.ibm.com> Reviewed-by: Thi N. Tran <thi@us.ibm.com>
* Set up initial task link-register to point to 'task_end' function.Patrick Williams2011-06-201-3/+5
| | | | | | | | 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>
* Initial futex supportdgilbert2011-06-173-22/+91
| | | | | | | | | Change-Id: I51a4f1117085ce23c7993c1a38e4124596636726 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/141 Tested-by: Jenkins Server Reviewed-by: Douglas R. Gilbert <dgilbert@us.ibm.com> Reviewed-by: Thi N. Tran <thi@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Create per-CPU mutex for XSCOM usage.Patrick Williams2011-06-081-0/+15
| | | | | | | | Change-Id: I76ad5c1d553d544b52910afd82e2716781ea13b9 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/140 Tested-by: Jenkins Server Reviewed-by: Thi N. Tran <thi@us.ibm.com> Reviewed-by: Douglas R. Gilbert <dgilbert@us.ibm.com>
* Add HMER access syscalls (as fastpath).Patrick Williams2011-06-021-0/+14
| | | | | | | | Change-Id: Icc7494986d19950a18cc9ee53fd5125c86096a72 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/105 Tested-by: Jenkins Server Reviewed-by: Douglas R. Gilbert <dgilbert@us.ibm.com> Reviewed-by: Andrew J. Geissler <andrewg@us.ibm.com>
* Userspace interfaces for processor affinity.Patrick Williams2011-05-261-2/+81
| | | | | | | | Change-Id: Id053edc0aa9be2e6e820ea7bf0d81bf5c38d4f54 Reviewed-on: http://gfwr801.rchland.ibm.com:8080/gerrit/101 Tested-by: Jenkins Server Reviewed-by: Douglas R. Gilbert <dgilbert@us.ibm.com> Reviewed-by: Andrew J. Geissler <andrewg@us.ibm.com>
* Merge of PowerHAL project up to commit:Patrick Williams2011-03-052-4/+10
| | | | dd45c30bd53d8e6c123165b83842d08117558a3c
* Add nanosleep syscall.Patrick Williams2010-10-041-0/+17
|
* Add task_exec system call.Patrick Williams2010-09-092-0/+3
|
* Support modules.Patrick Williams2010-09-091-0/+18
|
* MMIO mapping support and syscalls.Patrick Williams2010-07-081-0/+18
|
* SMT support.Patrick Williams2010-07-071-0/+1
|
* Start virtual memory management.Patrick Williams2010-07-021-2/+1
|
OpenPOWER on IntegriCloud