summaryrefslogtreecommitdiffstats
path: root/src/include
Commit message (Collapse)AuthorAgeFilesLines
* HWPF: Change Util functions to have C symbolsMike Jones2011-10-171-5/+13
| | | | | | | Change-Id: I759cf5f5163fd61ab87abdd80315d48f22215a2c Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/437 Reviewed-by: Thi N. Tran <thi@us.ibm.com> Tested-by: Jenkins Server
* HWPF: Add fapiGetInitFileAttr functionMike Jones2011-10-174-11/+38
| | | | | | | Change-Id: I1fadb01b8f8e850fdc6c766138e8adb0ea2e0a51 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/436 Tested-by: Jenkins Server Reviewed-by: MIKE J. JONES <mjjones@us.ibm.com>
* Pull FSI data from real attributes (Task 3909).Dan Crowell2011-10-147-31/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | There are a group of attributes defined for FSI now. -ATTR_FSI_MASTER_CHIP -ATTR_FSI_MASTER_TYPE -ATTR_FSI_MASTER_PORT -ATTR_FSI_SLAVE_CASCADE -ATTR_FSI_OPTION_FLAGS Also includes work for Story 3996. The attributes are now broken into 3 distinct pieces: - attribute_types.xml : defines hostboot attributes - target_types.xml : defines different types of targets - XXX.system.xml : system-specific information, equivalent to what we'll get from system workbook These are then used to generic system-specific binaries, currently for 3 platforms: - simics_SALERNO_targeting.bin - simics_VENICE_targeting.bin - vbu_targeting.bin Change-Id: I2bf920cc62cceb761ab44a07df433da44249d0e0 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/426 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* HWPF: Error Information UpdatesMike Jones2011-10-1114-611/+431
| | | | | | | | Change-Id: I9857638a35f21489e32448af3bf95e0155954b29 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/425 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com> Reviewed-by: CAMVAN T. NGUYEN <ctnguyen@us.ibm.com>
* Flush/Release/Evict pages functionalityMatthew Barth2011-10-106-36/+217
| | | | | | | 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>
* Added putScomUnderMask/get/put/modifyCfamRegister interfacesThi Tran2011-10-104-7/+29
| | | | | | | | | | | Updated with review comments from set 1 Updated with review comments from set 3 Change-Id: Iaea4c37fe130cb04e99ebdea872ff4c690156f4d Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/424 Tested-by: Jenkins Server Reviewed-by: MIKE J. JONES <mjjones@us.ibm.com>
* Fixes to cxxtest, + add debug for traceMark Wenning2011-10-062-2/+2
| | | | | | | | | | | | - cxxtestgen.pl was counting the tests wrong (did not reset # tests between suites) - to be continued... Change-Id: Ic060bcaf38dee39a620b3bef7c651851547442dc Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/423 Tested-by: Jenkins Server Reviewed-by: Andrew J. Geissler <andrewg@us.ibm.com>
* pge permission functionality..Missy Connell2011-10-064-9/+27
| | | | | | | | | | Add code that applies the permissions requested. Add merge conflicts Change-Id: I5911406ba4670714faaf4880399da71692559397 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/353 Tested-by: Jenkins Server Reviewed-by: Melissa J. Connell <missyc@us.ibm.com>
* Initialize the FSI hardware - Story 3551Dan Crowell2011-10-054-4/+82
| | | | | | | | | | | | | | | | | | | | | | This code will initialize the FSI hardware and allow access to remote slaves. Note - current code is hardcoded to using the MFSI-0 port on the master processor wrapped back into its own CFAM. Note2 - One testcase is disabled pending integration of required fixes to the simics models. Contains work for - Task 3830 : FSI Master Regs - Task 3831 : FSI Slave Regs Change-Id: I8dd5f0e03cf083e35cf8241db22ad6d76ba85fac Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/359 Tested-by: Jenkins Server Reviewed-by: Thi N. Tran <thi@us.ibm.com> Reviewed-by: ADAM R. MUHLE <armuhle@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* VFS provide assess to read-only data modulesDoug Gilbert2011-09-284-1/+14
| | | | | | | 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
* Attribute Resource Provider.Patrick Williams2011-09-233-1/+54
| | | | | | | | | Change-Id: I731b19ea027393e375993136f125fff2f6fb31e9 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/351 Tested-by: Jenkins Server Reviewed-by: Nicholas E. Bofferding <bofferdn@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* VFS implement setting page permissions on virtual memoryDoug Gilbert2011-09-212-0/+10
| | | | | | | | 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>
* Fix miscellaneous issues getting attributes from within HWPsNick Bofferding2011-09-212-11/+7
| | | | | | | | | | | | | - Fix duplicate weak symbol issue when using range filter within multiple libs - Fix FAPI target casting when calling HB macro with real target handle - Fix FAPI namespacing when calling HB macro to bridge attribute Change-Id: I6a187d1933aeb42e674e5236a81ae6145f3de583 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/352 Tested-by: Jenkins Server Reviewed-by: Thi N. Tran <thi@us.ibm.com> Reviewed-by: MIKE J. JONES <mjjones@us.ibm.com> Reviewed-by: Nicholas E. Bofferding <bofferdn@us.ibm.com>
* Mechanism to detect low memory and cast out older pageDoug Gilbert2011-09-199-2/+100
| | | | | | | | Change-Id: Icce8e01f3d1cd2942f2b9ff802993da0441535ee Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/344 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com> Reviewed-by: Douglas R. Gilbert <dgilbert@us.ibm.com>
* Fix typo in types.hDan Crowell2011-09-191-1/+1
| | | | | | | Change-Id: I03c5a4314d9c7338fca6ea78dd37e0b8f99009d3 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/348 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Implement support for generating the PNOR targeting imageNick Bofferding2011-09-199-613/+100
| | | | | | | | | | | | | | | | | - Generate PNOR targeting image as part of the build process - Load it into SIMICS physical memory - Access image from targeting service at correct virtual address - Bridge fapi attributes to host boot attributes using direct macro - Support multidimensional arrays for simple attributes - Removed support for fake PNOR image Change-Id: I45d986d69397940a165c850d0db0fdeccd137d4d Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/341 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com> Reviewed-by: CAMVAN T. NGUYEN <ctnguyen@us.ibm.com> Reviewed-by: Nicholas E. Bofferding <bofferdn@us.ibm.com>
* Adding new interface to update page permissions.. Interface only.Missy Connell2011-09-154-1/+75
| | | | | | | | | | | | 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>
* HWPF: Ensure all fapi functions start with fapiMike Jones2011-09-142-27/+23
| | | | | | | Change-Id: I817d1c630dc0d10d456274841a2c4d75fc5e4692 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/342 Tested-by: Jenkins Server Reviewed-by: Andrew J. Geissler <andrewg@us.ibm.com>
* Centralizing a few of the memory-related constants to avoid someDan Crowell2011-09-148-20/+85
| | | | | | | | | | | | 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-143-0/+36
| | | | | | | 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>
* Removed extra ::TargetArgs:: from usage.Patrick Williams2011-09-141-2/+2
| | | | | | | Change-Id: I11ec4d124d58641af8902799002ac1ed5104d030 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/340 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Common Scan Tracing ReduxMonte Copeland2011-09-143-0/+188
| | | | | | | Change-Id: Idca69173153f9ffedab37df22438ee600a0d9150 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/336 Tested-by: Jenkins Server Reviewed-by: MIKE J. JONES <mjjones@us.ibm.com>
* HWPF: Add support for new System Config Query functionsMike Jones2011-09-146-51/+198
| | | | | | | | | Change-Id: I00220dc4a1ee4f630138d0ed87a943053a7a93d5 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/337 Tested-by: Jenkins Server Reviewed-by: Andrew J. Geissler <andrewg@us.ibm.com> Reviewed-by: Monte K. Copeland <copelanm@us.ibm.com> Reviewed-by: MIKE J. JONES <mjjones@us.ibm.com>
* Return code cleanups.Patrick Williams2011-09-133-5/+17
| | | | | | | 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>
* Revert "Support generating the PNOR targeting image"A. Patrick Williams III2011-09-137-6/+605
| | | | | | | | | This reverts commit c82ba14ada9c80565b95ad9d3d05c678591ae328 Change-Id: Ifd9a62779b13d237c9e4c5d2818df6e433f17021 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/338 Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com> Tested-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Support generating the PNOR targeting imageNick Bofferding2011-09-137-605/+6
| | | | | | | Change-Id: I5233ea017d61d629da26aa63b628bb36187d63dd Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/335 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Floating point support.Patrick Williams2011-09-123-9/+92
| | | | | | | 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>
* Add TS_FAIL to field trace.Patrick Williams2011-09-121-1/+1
| | | | | | | | Change-Id: Ibd06031b9b978455ad8f1c01f5f8faab9bd7785d Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/294 Tested-by: Jenkins Server Reviewed-by: CAMVAN T. NGUYEN <ctnguyen@us.ibm.com> Reviewed-by: Mark W. Wenning <wenning@us.ibm.com>
* HWPF: Attribute SimplificationMike Jones2011-09-081-17/+4
| | | | | | | | Change-Id: I84553317e8b21c3f538c787e43c4482f3e1944f0 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/327 Tested-by: Jenkins Server Reviewed-by: Andrew J. Geissler <andrewg@us.ibm.com> Reviewed-by: Nicholas E. Bofferding <bofferdn@us.ibm.com>
* Added fapiLogError() function.CamVan Nguyen2011-09-072-0/+41
| | | | | | | | | | Added function template for setHwpFfdc(). Change-Id: Iba9aab22aba57556e025a3848fa4565e3eea6265 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/325 Tested-by: Jenkins Server Reviewed-by: MIKE J. JONES <mjjones@us.ibm.com> Reviewed-by: Andrew J. Geissler <andrewg@us.ibm.com>
* Move libs to the extended imageDoug Gilbert2011-09-072-0/+18
| | | | | | | | Change-Id: I275a3a4b897e6426164e4f3bd642f92b0d3fed07 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/285 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: Douglas R. Gilbert <dgilbert@us.ibm.com>
* HWPF: Initial Support for Target::getString (ecmd string)Mike Jones2011-09-071-7/+13
| | | | | | | Change-Id: Ifef0e05d780fa3ff0a29ce289a684a37495be943 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/324 Tested-by: Jenkins Server Reviewed-by: MIKE J. JONES <mjjones@us.ibm.com>
* Implementing FSI driverDan Crowell2011-09-065-2/+85
| | | | | | | | | | | | | | -Initial work for FSI Device Driver (Story 3334) -Read/Write interface (Story 3550) Code is capable of basic read and write operations provided that the Simics models are updated Note: contains early work for FSI Initialization that should be ignored for now Change-Id: I08e795422de127b62c2d1629d7a4e0f12b21e348 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/287 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Adding a basic interface and implementation to the Segment/BlockDan Crowell2011-09-067-17/+137
| | | | | | | | | | | | | path to update the LRU statistics when the PageTableManager code clears the reference bit. This is not meant to be a complete implementation (different Task is open for that). This is Task 3400. Change-Id: If67efd16ead6f68a74f5f5a698013c1b852864d9 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/231 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Fix XSCOM assert on non-sentinel chipThi Tran2011-09-021-3/+5
| | | | | | | | | | | | | | | | Change virt addr detect logic for better performance Updated with review comments Updated with review comments from set 3 Updated with review comments from set 4 Change-Id: I16828c8c325bb9e825683545d28c6bad2562efa9 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/288 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com> Reviewed-by: Nicholas E. Bofferding <bofferdn@us.ibm.com>
* HWPF: Replaced multiple HWP Invoker functions with a single HWP Invoker macroMike Jones2011-09-011-16/+26
| | | | | | | | Change-Id: I2323634dfb3a4cd3baff104b6e6e4a59439bd61e Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/290 Tested-by: Jenkins Server Reviewed-by: CAMVAN T. NGUYEN <ctnguyen@us.ibm.com> Reviewed-by: MIKE J. JONES <mjjones@us.ibm.com>
* RTC 3346: Allow SPless control of ISteps within HostbootMark Wenning2011-08-315-3/+347
| | | | | | | | | | | | | | | | | | - initial commit - add splesscommand and splessstatus objects - factoring - findTaskInfo, ExtTaskInfo structs - doxygen cleanup - unit tests - cleanup, final - review fixes - take out splesscommand and splessstatus classes - 2nd round of review changes Change-Id: I6dce18072b5464a4b8c34e5f4ff639e38afa53d0 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/245 Tested-by: Jenkins Server Reviewed-by: Mark W. Wenning <wenning@us.ibm.com>
* Dynamic stack support.Patrick Williams2011-08-314-17/+183
| | | | | | | | | | - 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>
* Ensure scratch operations happen on master core.Patrick Williams2011-08-317-34/+126
| | | | | | | | 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>
* Added %c and precision formatting support to trace.CamVan Nguyen2011-08-301-0/+39
| | | | | | | | | Added TRACSCOMP macros. Change-Id: If697b4d988a238b5cd06229853dded20bd0af3c1 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/286 Tested-by: Jenkins Server Reviewed-by: Andrew J. Geissler <andrewg@us.ibm.com>
* HWPF: Add support for gard to Error InformationMike Jones2011-08-261-9/+40
| | | | | | | | Change-Id: I814df4879d3bf9b547d15c5ae9a8a3683bfbf9f0 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/279 Tested-by: Jenkins Server Reviewed-by: Andrew J. Geissler <andrewg@us.ibm.com> Reviewed-by: CAMVAN T. NGUYEN <ctnguyen@us.ibm.com>
* map virtual address to physical address in kernelDoug Gilbert2011-08-255-1/+60
| | | | | | | | Change-Id: Id18e604facd517598a18968af3dff927026ad894 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/272 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Fix for printkd.Patrick Williams2011-08-251-1/+1
| | | | | | | Change-Id: I3af281d6e3ef2914b78298b587f098942e8a1c43 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/278 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Add environment var to remove debug messages.Patrick Williams2011-08-243-3/+41
| | | | | | | | | | | | - Add printkd function. - Create HOSTBOOT_DEBUG env var for printk. - Update trace interfaces to utilize HOSTBOOT_DEBUG. - Fix compile errors due to unused variables. Change-Id: Ib18c3ecd51ca333e0118949bf35476e9c5aa46a7 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/273 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Allocate zero'd page in block.Patrick Williams2011-08-241-1/+3
| | | | | | | Change-Id: Ieb56aa89190d7efd56c357245b24a979ee7ad79a Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/270 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Add copyright headers to all source files.Patrick Williams2011-08-24119-49/+2618
| | | | | | | 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
* Handle response from messages registered to a block within the base segmentMatthew Barth2011-08-232-2/+84
| | | | | | | Change-Id: I65be2258e5e6bd707797415a5376fd94c3bab68a Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/265 Tested-by: Jenkins Server Reviewed-by: MATTHEW S. BARTH <msbarth@us.ibm.com>
* Add target iterator and predicate supportNick Bofferding2011-08-237-16/+1093
| | | | | | | | Change-Id: I728bb312277591d81c0575e74878fba9f816b962 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/260 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com> Reviewed-by: MIKE J. JONES <mjjones@us.ibm.com>
* Add initial scratch (sprc/sprd) support.Patrick Williams2011-08-222-1/+55
| | | | | | | 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>
OpenPOWER on IntegriCloud