summaryrefslogtreecommitdiffstats
path: root/src/runtime/rt_time.C
Commit message (Collapse)AuthorAgeFilesLines
* Fix bug that was scrambling traces in errorlogs during HBRTChristian Geddes2019-03-261-0/+12
| | | | | | | | | | | | | | | | | | | | | There was a bug in how HB was interpreting the clock time that PHYP returned in response to a get_clocktime request. The nsec member of the struct returned was getting the first 32bits filled in and Hostboot was expecting the value to be in the last 32bits. This change will shift the nsec value down 4 bytes if we find the back half of the nsec value to be all 0's. I believe the reason the wrong bits were filled in is because PHYP is returning a packed struct whose 2nd member is a 32 bit value so it does not get filled in correctly. Change-Id: I71f1c2cb672b9979e0b6bdc8b1852544f230b885 CQ: SW448397 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/74823 Reviewed-by: Matt Derksen <mderkse1@us.ibm.com> Reviewed-by: Corey V. Swenson <cswenson@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* clock_gettime support for HBRTPrachi Gupta2014-12-151-0/+9
| | | | | | | | | Change-Id: Iab8d113c00609d7b92fb2fd943b57c9a21671f11 RTC: 119002 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/14668 Tested-by: Jenkins Server Reviewed-by: STEPHEN M. CPREK <smcprek@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Add nanosleep to hbrt.Patrick Williams2014-11-061-0/+35
Change-Id: Ia89c6839ed9b0e184516aeffcf873fd7baaec9a5 RTC: 118022 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/14381 Tested-by: Jenkins Server Reviewed-by: Christopher Cain <cjcain@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: Douglas R. Gilbert <dgilbert@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
OpenPOWER on IntegriCloud