summaryrefslogtreecommitdiffstats
path: root/src/lib
Commit message (Collapse)AuthorAgeFilesLines
* Add copyright headers to all source files.Patrick Williams2011-08-2414-28/+303
| | | | | | | 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-222-1/+43
| | | | | | | 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-171-0/+32
| | | | | | | | 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>
* Allocate block system call stubMatthew Barth2011-08-102-1/+13
| | | | | | | 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>
* Clean up mutex issues.Patrick Williams2011-08-091-39/+20
| | | | | | | | | | | | | - Final fix for mutex bug. - Document weak-consistency decisions in mutex code. - Prevent aggressive optimizations around lwsync/isync instrs. - Fix minor bug in futex_wait system call. - Optimize futex path with likely/unlikely hints. Change-Id: I26b54dee7e45bcb42195f730474b350b44f53cfc Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/233 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Device segment MMIO map & unmap system callsMatthew Barth2011-08-081-0/+10
| | | | | | | 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>
* Hang condition on mutex, try different futex lock codeDoug Gilbert2011-08-031-2/+7
| | | | | | | | Change-Id: I5c9e1e54234a9214a70bec0ef87a53da86100195 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/226 Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Tested-by: Jenkins Server Reviewed-by: Douglas R. Gilbert <dgilbert@us.ibm.com>
* Add userspace syscalls for PVR.Patrick Williams2011-07-291-0/+11
| | | | | | | | 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>
* Cleanup from previous reviews, add barrier for CxxTestMark Wenning2011-07-253-12/+73
| | | | | | | | | | | | | | | | | - add IStep1 for demo - cleanup: remove inheritance, add errlog tags, etc. - inadvertently ran copyright script, this is OK. - more cleanup: indentation, etc. - add barrier for CxxTests - rename cxxtest_stub.C to cxxtest_data.C - merge problems on gerrit - fix review comments Change-Id: Iee988b8595d8c6dd521fd94d4d58cb403898d948 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/207 Tested-by: Jenkins Server Reviewed-by: MIKE J. JONES <mjjones@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* VMM Improvements.Patrick Williams2011-07-201-3/+4
| | | | | | | | | | | - 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>
* Shutdown and post status on HostBoot completionMike Jones2011-07-193-1/+23
| | | | | | | | 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>
* fix mutex_unlock weak consitency bugdgilbert2011-07-151-0/+2
| | | | | | | Change-Id: Id73831f647cd07f6a12848dac9e45b2dc6c67f62 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/201 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* syscall cleanup/scrubMonte Copeland2011-07-143-6/+6
| | | | | | | | | | | - 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>
* Improve assert handling and options.Patrick Williams2011-07-063-7/+50
| | | | | | | | | | | | | - Allow a custom assert trace as an optional parameter. - Call a trace function instead of printk for most cases. - Provide a critical library assert (for syslibs, trace, etc.) - Provide a kassert function for kernel code. Change-Id: If24d57d0832a587258503b3fd0046c21da3712b5 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/159 Tested-by: Jenkins Server Reviewed-by: Andrew J. Geissler <andrewg@us.ibm.com> Reviewed-by: CAMVAN T. NGUYEN <ctnguyen@us.ibm.com>
* Remove heap allocation of xscom mutex.Patrick Williams2011-06-242-33/+4
| | | | | | | | | | | | | | 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>
* Create testcore directory for kernel-level tests.Patrick Williams2011-06-173-101/+0
| | | | | | | Change-Id: I4b6235edec59c0a97f53af431752d2f4dfabcfa9 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/151 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Initial futex supportdgilbert2011-06-176-37/+265
| | | | | | | | | 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>
* Fix page rounding issue in malloc.Patrick Williams2011-06-091-1/+2
| | | | | | | Change-Id: I22c7d2b7c4d9d77b235efd6a3e0ff9280ac8a854 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/143 Tested-by: Jenkins Server Reviewed-by: Nicholas E. Bofferding <bofferdn@us.ibm.com>
* Create per-CPU mutex for XSCOM usage.Patrick Williams2011-06-081-0/+35
| | | | | | | | 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-022-4/+10
| | | | | | | | 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>
* Device Framework support.Patrick Williams2011-06-021-1/+1
| | | | | | | | Change-Id: I133f58df309c7fc3a7faa261699eba66a6bae4be Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/98 Tested-by: Jenkins Server Reviewed-by: Thi N. Tran <thi@us.ibm.com> Reviewed-by: Andrew J. Geissler <andrewg@us.ibm.com>
* Userspace interfaces for processor affinity.Patrick Williams2011-05-261-2/+22
| | | | | | | | 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>
* Improve assert debugability.Patrick Williams2011-05-251-1/+3
| | | | | | | | Change-Id: Iec3709694ea02ce2c162d310949ad8586da0b539 Reviewed-on: http://gfwr801.rchland.ibm.com:8080/gerrit/96 Tested-by: Jenkins Server Reviewed-by: Douglas R. Gilbert <dgilbert@us.ibm.com> Reviewed-by: MATTHEW S. BARTH <msbarth@us.ibm.com>
* Simple realloc implementation.Patrick Williams2011-05-201-0/+28
| | | | | | | Change-Id: I76c162bbb3efb97d91d498d4571c1d81d15e5663 Reviewed-on: http://gfwr801.rchland.ibm.com:8080/gerrit/93 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Read task_create function pointer from user space for memory protection ↵Patrick Williams2011-03-281-0/+5
| | | | validation.
* Fix sprintf to null terminate the string.Dave Larson2011-03-071-1/+1
|
* Merge of PowerHAL project up to commit:Patrick Williams2011-03-055-46/+197
| | | | dd45c30bd53d8e6c123165b83842d08117558a3c
* Makefile cleanups.Patrick Williams2011-01-101-7/+0
|
* Importing trace header files from FSP trace and integrating into build.Patrick Williams2011-01-101-1/+1
|
* Add nanosleep syscall.Patrick Williams2010-10-042-1/+10
|
* Add task_exec system call.Patrick Williams2010-09-091-0/+31
|
* Update makefiles to reference ROOTPATH for makefile includes.Patrick Williams2010-09-091-1/+1
|
* Add linker in preparation for modules.Patrick Williams2010-08-201-2/+4
|
* Enable -Wall and fix warnings.Patrick Williams2010-08-191-0/+1
|
* MMIO mapping support and syscalls.Patrick Williams2010-07-082-0/+15
|
* SMT support.Patrick Williams2010-07-071-0/+8
|
* Fix bug in VFS register.Patrick Williams2010-07-071-0/+1
|
* Memory map and execution fixes for simics.Patrick Williams2010-07-021-5/+5
|
* Start virtual memory management.Patrick Williams2010-07-021-1/+1
|
* Add shell of VFS for registering and resolving message queue names.Patrick Williams2010-06-252-8/+30
|
* Add messagingPatrick Williams2010-06-243-1/+87
|
* Program exception handling and emulated instruction for mfsprg3.Patrick Williams2010-06-221-1/+8
|
* Add mutex userspace / syscalls.Patrick Williams2010-06-113-5/+39
|
* Add task control syscalls.Patrick Williams2010-06-072-1/+28
|
* Add syscall interfaces and task_yieldPatrick Williams2010-06-072-1/+22
|
* malloc / free supportPatrick Williams2010-05-212-1/+36
|
* Create simple console.Patrick Williams2010-05-182-0/+21
OpenPOWER on IntegriCloud