diff options
author | Missy Connell <missyc@us.ibm.com> | 2012-12-03 12:13:25 -0600 |
---|---|---|
committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2013-03-12 09:43:04 -0500 |
commit | 6a8e78667bd096e41a909273e4359bc62e444992 (patch) | |
tree | 1e2ab1e38223186a62484a766a288d9e604f9692 /src/include/usr/vmmconst.h | |
parent | 6a15522c01a44a19ea6af93cdcff8ff76cbaedce (diff) | |
download | talos-hostboot-6a8e78667bd096e41a909273e4359bc62e444992.tar.gz talos-hostboot-6a8e78667bd096e41a909273e4359bc62e444992.zip |
Dump Collect code
RTC:46996
Change-Id: I18863c91dcde353df6201c3c13e101626f24206b
Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/3131
Tested-by: Jenkins Server
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/include/usr/vmmconst.h')
-rw-r--r-- | src/include/usr/vmmconst.h | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/src/include/usr/vmmconst.h b/src/include/usr/vmmconst.h index b6e7f9dd8..d3b29415e 100644 --- a/src/include/usr/vmmconst.h +++ b/src/include/usr/vmmconst.h @@ -129,5 +129,42 @@ enum BlockPriority #define HSVC_TEST_MEMORY_ADDR (VMM_MEMORY_SIZE + 32*MEGABYTE) #define HSVC_TEST_MEMORY_SIZE (2*MEGABYTE) +/* Chunk of physical memory used for Dump Source Table */ +//#define DUMP_TEST_SRC_MEM_ADDR (VMM_MEMORY_SIZE + 64*MEGABYTE) +#define DUMP_TEST_MEMORY_ADDR (HSVC_TEST_MEMORY_ADDR + HSVC_TEST_MEMORY_SIZE) +#define DUMP_TEST_MEMORY_SIZE (4*MEGABYTE) + + +// The rest of these #defines will be moved to dumpif.H. + +#define DUMP_TEST_SRC_MEM_ADDR (HSVC_TEST_MEMORY_ADDR + HSVC_TEST_MEMORY_SIZE) +#define DUMP_TEST_SRC_MEM_SIZE (MEGABYTE) + +/* Chunk of physical memory used for Dump Destination Table */ +#define DUMP_TEST_DST_MEM_ADDR (DUMP_TEST_SRC_MEM_ADDR + DUMP_TEST_SRC_MEM_SIZE) +#define DUMP_TEST_DST_MEM_SIZE (MEGABYTE) + +/* Chunk of physical memory used for Dump Results Table */ +#define DUMP_TEST_RESULTS_MEM_ADDR (DUMP_TEST_DST_MEM_ADDR + DUMP_TEST_DST_MEM_SIZE) +#define DUMP_TEST_RESULTS_MEM_SIZE (MEGABYTE) + +// Data location where the src, destination tables point to. +#define DUMP_TEST_SRC_DATA_AREA DUMP_TEST_RESULTS_MEM_ADDR + DUMP_TEST_RESULTS_MEM_SIZE +#define DUMP_TEST_DST_DATA_AREA DUMP_TEST_SRC_DATA_AREA + DUMP_TEST_DATA_SIZE +#define DUMP_TEST_DATA_SIZE MEGABYTE + +// default enums to point out the start and end of the DUMP Tables in memory +#define DUMP_TEST_TABLE_START DUMP_TEST_SRC_MEM_ADDR +#define DUMP_TEST_TABLE_SIZE DUMP_TEST_SRC_MEM_SIZE + DUMP_TEST_DST_MEM_SIZE + DUMP_TEST_RESULTS_MEM_SIZE +#define DUMP_TEST_TABLE_END DUMP_TEST_TABLE_START + DUMP_TEST_TABLE_SIZE + +// In addition to the dump table locations we have scratch data area that is used +// to put the SRC data that the MDST will point to. + +// This is the size of all the Data used for Dump testing +#define DUMP_TEST_ALL_SIZE = DUMP_TEST_TABLE_SIZE + (2*MEGABYTE) +// This is the ending address of test Data area +#define DUMP_TEST_ALL_END = DUMP_TEST_TABLE_START + DUMP_TEST_ALL_SIZE + #endif /* _VMMCONST_H */ |