summaryrefslogtreecommitdiffstats
path: root/src/include/sys
diff options
context:
space:
mode:
authorDan Crowell <dcrowell@us.ibm.com>2011-09-12 10:22:02 -0500
committerDaniel M. Crowell <dcrowell@us.ibm.com>2011-09-14 13:28:46 -0500
commitdbc9dc228c879efbd86df3d655990c21df8d9a8f (patch)
treed756babb6c4a876906718a214c969e31c03d1e9a /src/include/sys
parentb06c8727c809ec10aafe8fad0b929626f9d50987 (diff)
downloadtalos-hostboot-dbc9dc228c879efbd86df3d655990c21df8d9a8f.tar.gz
talos-hostboot-dbc9dc228c879efbd86df3d655990c21df8d9a8f.zip
Centralizing a few of the memory-related constants to avoid some
redundancies and also to have a single place to update the memory map if needed. See Task 3507. Change-Id: I8f2d632983abe6d6798784e975cd93057018594b Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/330 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/include/sys')
-rw-r--r--src/include/sys/mmio.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/include/sys/mmio.h b/src/include/sys/mmio.h
index 148ceda30..59254b976 100644
--- a/src/include/sys/mmio.h
+++ b/src/include/sys/mmio.h
@@ -25,6 +25,7 @@
#include <stdint.h>
#include <sys/sync.h>
+#include <limits.h>
#ifdef __cplusplus
extern "C"
@@ -37,7 +38,7 @@ extern "C"
*/
enum SEG_DATA_SIZES
{
- THIRTYTWO_GB = 0x800000000,
+ THIRTYTWO_GB = (32*GIGABYTE),
};
/**
OpenPOWER on IntegriCloud