summaryrefslogtreecommitdiffstats
path: root/src/include/kernel/devicesegment.H
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/kernel/devicesegment.H')
-rw-r--r--src/include/kernel/devicesegment.H3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/include/kernel/devicesegment.H b/src/include/kernel/devicesegment.H
index e3e2d9723..89180b4eb 100644
--- a/src/include/kernel/devicesegment.H
+++ b/src/include/kernel/devicesegment.H
@@ -25,6 +25,7 @@
#include <kernel/segment.H>
#include <sys/mmio.h>
+#include <usr/vmmconst.h>
/**
* @class DeviceSegment
@@ -36,7 +37,7 @@ class DeviceSegment : public Segment
/**
* @brief Constructor (Device segment at 2TB)
*/
- DeviceSegment() : Segment(0x020000000000ull) {};
+ DeviceSegment() : Segment(VMM_VADDR_DEVICE_SEGMENT) {};
/**
* @brief Destructor
OpenPOWER on IntegriCloud