From: Jack Lange Date: Thu, 19 Feb 2009 23:05:52 +0000 (-0600) Subject: added debugging flags for the APIC X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=commitdiff_plain;h=106a034756e5cb2816a887702ea6f8a6a2c8beb9;p=palacios-OLD.git added debugging flags for the APIC --- diff --git a/build/Makefile b/build/Makefile index 012e2f8..2bddb76 100644 --- a/build/Makefile +++ b/build/Makefile @@ -155,6 +155,14 @@ DEBUG_SECTIONS := $(DEBUG_SECTIONS) DEBUG_DEV_MGR=0 endif endif +ifeq ($(DEBUG_APIC),1) +DEBUG_SECTIONS := $(DEBUG_SECTIONS) DEBUG_APIC=1 +else +ifeq ($(DEBUG_APIC),0) +DEBUG_SECTIONS := $(DEBUG_SECTIONS) DEBUG_APIC=0 +endif +endif + ifeq ($(PROFILE_VMM),1) GEEKOS_FLAGS:= $(GEEKOS_FLAGS) PROFILE_VMM=1 diff --git a/palacios/build/Makefile b/palacios/build/Makefile index 992dcfe..96bd523 100644 --- a/palacios/build/Makefile +++ b/palacios/build/Makefile @@ -179,6 +179,14 @@ DEBUG_SECTIONS := $(DEBUG_SECTIONS) -UDEBUG_HALT endif endif +ifeq ($(DEBUG_APIC),1) +DEBUG_SECTIONS := $(DEBUG_SECTIONS) -DDEBUG_APIC +else +ifeq ($(DEBUG_APIC),0) +DEBUG_SECTIONS := $(DEBUG_SECTIONS) -UDEBUG_APIC +endif +endif + ifeq ($(DEBUG_DEV_MGR),1) DEBUG_SECTIONS := $(DEBUG_SECTIONS) -DDEBUG_DEV_MGR else