summaryrefslogtreecommitdiff
path: root/src/devices
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2012-07-11 07:55:21 +0300
committerPatrick Georgi <patrick@georgi-clan.de>2012-07-16 18:41:46 +0200
commitcc55b9b9199657834a946ea2de059c3fab3e3b10 (patch)
tree732d9757212623855ba25e0d925d292d441b5098 /src/devices
parent63f8c088307c5296809d9499b3b7cbaedb2a4440 (diff)
Define global uma_memory variables
Use of the uma_memory_base and _size variables is very scattered. Implementation of setup_uma_memory() will appear in each northbridge. It should be possible to do this setup entirely in northbridge code and get rid of the globals in a follow-up. Change-Id: I07ccd98c55a6bcaa8294ad9704b88d7afb341456 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: http://review.coreboot.org/1204 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
Diffstat (limited to 'src/devices')
-rw-r--r--src/devices/device.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/devices/device.c b/src/devices/device.c
index fafa59924e..c378078de2 100644
--- a/src/devices/device.c
+++ b/src/devices/device.c
@@ -54,6 +54,11 @@ struct resource *free_resources = NULL;
DECLARE_SPIN_LOCK(dev_lock)
+
+/* IGD UMA memory */
+uint64_t uma_memory_base = 0;
+uint64_t uma_memory_size = 0;
+
/**
* Allocate a new device structure.
*