From: Jack Lange <jarusl@cs.northwestern.edu>
Date: Mon, 16 Mar 2009 15:58:42 +0000 (-0500)
Subject: added PCI debugging
X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=commitdiff_plain;h=245f2cf869618c082cf5141786c8a9d6d82a63be;p=palacios.releases.git

added PCI debugging
---

diff --git a/palacios/build/Makefile b/palacios/build/Makefile
index d90715c..de62095 100644
--- a/palacios/build/Makefile
+++ b/palacios/build/Makefile
@@ -187,6 +187,14 @@ DEBUG_SECTIONS := $(DEBUG_SECTIONS) -UDEBUG_APIC
 endif
 endif
 
+ifeq ($(DEBUG_PCI),1)
+DEBUG_SECTIONS := $(DEBUG_SECTIONS) -DDEBUG_PCI
+else 
+ifeq ($(DEBUG_PCI),0) 
+DEBUG_SECTIONS := $(DEBUG_SECTIONS) -UDEBUG_PCI
+endif
+endif
+
 ifeq ($(DEBUG_DEV_MGR),1)
 DEBUG_SECTIONS := $(DEBUG_SECTIONS) -DDEBUG_DEV_MGR
 else 
@@ -426,6 +434,7 @@ CC_GENERAL_OPTS = \
 	-I$(PROJECT_ROOT)/include \
 	-Werror \
 	-fPIC \
+	-mno-red-zone \
 	-Wp,-MD,$(@D)/.$(@F).d \
 	-Wp,-MT,$@ \