diff options
author | Matthew Barth <msbarth@us.ibm.com> | 2011-12-01 11:47:33 -0600 |
---|---|---|
committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2011-12-08 13:03:52 -0600 |
commit | fdcb470b27bba6782bf6b6a9a60be3e54446f506 (patch) | |
tree | 7a8f5e7325107aec861fb4ae05444caebc6f9c39 /src/include/usr/initservice | |
parent | 47facf10fc682816fd7683b389451b7be9a6dadb (diff) | |
download | talos-hostboot-fdcb470b27bba6782bf6b6a9a60be3e54446f506.tar.gz talos-hostboot-fdcb470b27bba6782bf6b6a9a60be3e54446f506.zip |
Complete virtual memory write path during shutdown sequence
Change-Id: I93a6305b88539d8cf1b41cfc4cde713fd7c19494
Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/522
Tested-by: Jenkins Server
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/include/usr/initservice')
-rw-r--r-- | src/include/usr/initservice/initserviceif.H | 45 | ||||
-rw-r--r-- | src/include/usr/initservice/initsvcreasoncodes.H | 4 |
2 files changed, 47 insertions, 2 deletions
diff --git a/src/include/usr/initservice/initserviceif.H b/src/include/usr/initservice/initserviceif.H new file mode 100644 index 000000000..dabb81e68 --- /dev/null +++ b/src/include/usr/initservice/initserviceif.H @@ -0,0 +1,45 @@ +// IBM_PROLOG_BEGIN_TAG +// This is an automatically generated prolog. +// +// $Source: src/include/usr/initservice/initserviceif.H $ +// +// IBM CONFIDENTIAL +// +// COPYRIGHT International Business Machines Corp. 2011 +// +// p1 +// +// Object Code Only (OCO) source materials +// Licensed Internal Code Source Materials +// IBM HostBoot Licensed Internal Code +// +// The source code for this program is not published or other- +// wise divested of its trade secrets, irrespective of what has +// been deposited with the U.S. Copyright Office. +// +// Origin: 30 +// +// IBM_PROLOG_END +#ifndef __INITSERVICE_INITSERVICEIF_H +#define __INITSERVICE_INITSERVICEIF_H + +#include <vmmconst.h> + +namespace INITSERVICE +{ + +/** + * @brief Register a block/range of vitual memory to be handled during a + * shutdown. + * + * @param[in] i_vaddr - Base virtual address + * @param[in] i_size - Size of virtual memory from base address + * @param[in] i_priority - Order to handle given block(0-Lowest Priority) + * + * @return Nothing + */ +void registerBlock(void* i_vaddr, uint64_t i_size, BlockPriority i_priority); + +} + +#endif diff --git a/src/include/usr/initservice/initsvcreasoncodes.H b/src/include/usr/initservice/initsvcreasoncodes.H index 2f61cd460..1ed76efdd 100644 --- a/src/include/usr/initservice/initsvcreasoncodes.H +++ b/src/include/usr/initservice/initsvcreasoncodes.H @@ -72,6 +72,7 @@ enum InitServiceModuleID EXTINITSVC_TASK_RETURNED_ERROR_ID = 0x23, CXXTEST_TASK_RETURNED_ERROR_ID = 0x24, ISTEP_RETURNED_ERROR_ID = 0x25, + INITSVC_DO_SHUTDOWN_MOD_ID = 0x26, // // HWAS: ISTEP 4 @@ -109,8 +110,7 @@ enum InitServiceReasonCode INITSVC_FAILED_NO_ERRLOG = INITSVC_COMP_ID | 0x06, EXTINITSVC_FAILED_NO_ERRLOG = INITSVC_COMP_ID | 0x07, CXXTEST_FAILED_NO_ERRLOG = INITSVC_COMP_ID | 0x08, - - + SHUTDOWN_FLUSH_FAILED = INITSVC_COMP_ID | 0x09, }; |