From b229ae320d4aa5225984699e3c89562df219bf03 Mon Sep 17 00:00:00 2001 From: Patrick Williams Date: Tue, 19 Mar 2013 10:24:12 -0500 Subject: Load a fake payload Support loading a fake payload that simply naps all the threads. I am not enabling this via the simics_MACHINE.system.xml files because it causes drastic usability concerns for developers wanting to use the debug tools. When the payload is launched, the HRMOR changes, which means the debug tools no longer point at Hostboot. Change-Id: Ic899cf96af4d315f01c0ca4b7fc99e97c15d4dc1 RTC: 43029 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/3642 Tested-by: Jenkins Server Reviewed-by: ADAM R. MUHLE Reviewed-by: Daniel M. Crowell Reviewed-by: A. Patrick Williams III --- src/usr/runtime/common/hsvc_attribute_structs.H | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'src/usr/runtime/common') diff --git a/src/usr/runtime/common/hsvc_attribute_structs.H b/src/usr/runtime/common/hsvc_attribute_structs.H index 4493b07d5..f291c58ef 100644 --- a/src/usr/runtime/common/hsvc_attribute_structs.H +++ b/src/usr/runtime/common/hsvc_attribute_structs.H @@ -1,11 +1,11 @@ /* IBM_PROLOG_BEGIN_TAG */ /* This is an automatically generated prolog. */ /* */ -/* $Source: src/usr/runtime/attribute_structs.H $ */ +/* $Source: src/usr/runtime/common/hsvc_attribute_structs.H $ */ /* */ /* IBM CONFIDENTIAL */ /* */ -/* COPYRIGHT International Business Machines Corp. 2012 */ +/* COPYRIGHT International Business Machines Corp. 2012,2013 */ /* */ /* p1 */ /* */ @@ -20,12 +20,14 @@ /* Origin: 30 */ /* */ /* IBM_PROLOG_END_TAG */ +#ifndef __RUNTIME_HSVC_ATTRIBUTE_STRUCTS_H +#define __RUNTIME_HSVC_ATTRIBUTE_STRUCTS_H + /** * @file attribute_structs.H * * @brief Shared structures with the HostServices code */ - struct hsvc_proc_header_t { uint64_t procid; //=NNNCCC uint64_t offset; //offset to attribute header relative to start of node_data @@ -76,3 +78,5 @@ struct hsvc_node_data_t static const uint64_t HSVC_HUID = 0xFF000001FFFFFFFF; static const uint64_t HSVC_PHYS_PATH = 0xFF000002FFFFFFFF; static const uint64_t HSVC_ECMD_STRING = 0xFF000003FFFFFFFF; + +#endif -- cgit v1.2.3