Skip to content

Commit

Permalink
PGPE: Write magic number in HcodeOCCShared struct
Browse files Browse the repository at this point in the history
	Key_Cronus_Test=PM_REGRESS

Change-Id: I82e0953c766857b447d67e89aba3d987eb38d88b
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/70643
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com>
Tested-by: Cronus HW CI <cronushw-ci+hostboot@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: Martha Broyles <mbroyles@us.ibm.com>
Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
  • Loading branch information
rbatraAustinIBM authored and op-jenkins committed Jan 30, 2019
1 parent 2353468 commit 211c48c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion import/chips/p9/common/pmlib/include/pstate_pgpe_occ_api.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
/* */
/* OpenPOWER HCODE Project */
/* */
/* COPYRIGHT 2015,2018 */
/* COPYRIGHT 2015,2019 */
/* [+] International Business Machines Corp. */
/* */
/* */
Expand Down Expand Up @@ -41,6 +41,7 @@
extern "C" {
#endif

#define HCODE_OCC_SHARED_MAGIC_NUMBER 0x4F505330 //OPS0

//---------------
// IPC from 405
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
/* */
/* OpenPOWER HCODE Project */
/* */
/* COPYRIGHT 2016,2018 */
/* COPYRIGHT 2016,2019 */
/* [+] International Business Machines Corp. */
/* */
/* */
Expand Down Expand Up @@ -79,4 +79,6 @@ void p9_pgpe_header_init()
G_pgpe_header_data->g_pgpe_req_active_quad_address = (uint32_t)
&occ_shared_data->req_active_quads;//Requested Active Quads

//Write the magic number in the HcodeOCCSharedData struct
occ_shared_data->magic = HCODE_OCC_SHARED_MAGIC_NUMBER;
}

0 comments on commit 211c48c

Please sign in to comment.