summaryrefslogtreecommitdiffstats
path: root/src/include/kernel
diff options
context:
space:
mode:
authorPatrick Williams <iawillia@us.ibm.com>2013-06-24 12:35:57 -0500
committerA. Patrick Williams III <iawillia@us.ibm.com>2013-07-10 16:29:19 -0500
commitb649b6d8ad62262517b7e0da90fbfd81283f4764 (patch)
tree25c868da431cc42dd201512df8b4a1b0048915f3 /src/include/kernel
parent8e6af8d1488285d670754de8f34ffba9ce57db92 (diff)
downloadblackbird-hostboot-b649b6d8ad62262517b7e0da90fbfd81283f4764.tar.gz
blackbird-hostboot-b649b6d8ad62262517b7e0da90fbfd81283f4764.zip
Enhance hb-dump to support full memory extraction.
Change-Id: I74823572a4935d3c8c4d7999d8c00c0286de1523 RTC: 50233 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/5170 Tested-by: Jenkins Server Reviewed-by: Andrew J. Geissler <andrewg@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/include/kernel')
-rw-r--r--src/include/kernel/hbdescriptor.H3
-rw-r--r--src/include/kernel/memstate.H3
2 files changed, 5 insertions, 1 deletions
diff --git a/src/include/kernel/hbdescriptor.H b/src/include/kernel/hbdescriptor.H
index e5c6a9c0f..68003cb33 100644
--- a/src/include/kernel/hbdescriptor.H
+++ b/src/include/kernel/hbdescriptor.H
@@ -28,6 +28,8 @@
#ifndef __KERNEL_HBDESCRIPTOR_H
#define __KERNEL_HBDESCRIPTOR_H
+#include <stdint.h>
+
struct HB_TI_DataArea;
namespace KernelIpc { struct ipc_data_area_t; };
@@ -36,6 +38,7 @@ struct HB_Descriptor
{
HB_TI_DataArea *TI_DataAreaPtr; // ptr to the TI data area structure
KernelIpc::ipc_data_area_t *IPC_DataAreaPtr; // ptr to the IPC data area
+ uint64_t kernelMemoryState;
};
#endif /* __KERNEL_HBDESCRIPTOR_H */
diff --git a/src/include/kernel/memstate.H b/src/include/kernel/memstate.H
index 35d625f09..f04faa666 100644
--- a/src/include/kernel/memstate.H
+++ b/src/include/kernel/memstate.H
@@ -53,6 +53,7 @@ namespace KernelMemState
MEM_CONTAINED_MS = 0x40,
};
+ // This constants must be kept in sync with the Dump.pm debug tool.
enum MemSize
{
NO_MEM = 0x0,
@@ -74,7 +75,7 @@ namespace KernelMemState
uint64_t memSize:32; /**< Size of the memory */
};
uint64_t Scratch6Data; /**< Full double word */
- };
+ };
};
/** @fn set
OpenPOWER on IntegriCloud