From 9b222a06e7013429df09bf7ebbbaead076ad5acc Mon Sep 17 00:00:00 2001 From: Raja Das Date: Tue, 9 Feb 2016 03:10:11 -0600 Subject: Get/Put Occ Sram Support Change-Id: I8f4669bfbca3d58d8f55d5d115d370bfa99ae49d RTC:128980 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/20658 Tested-by: Jenkins Server Reviewed-by: Sachin Gupta Reviewed-by: AMIT J. TENDOLKAR --- import/chips/p9/procedures/hwp/pm/Makefile | 30 ++++++++++++++++++++++ import/chips/p9/procedures/hwp/pm/pmfiles.mk | 19 ++++++++++++++ .../p9/procedures/xml/error_info/hwpErrors.mk | 2 ++ 3 files changed, 51 insertions(+) create mode 100644 import/chips/p9/procedures/hwp/pm/Makefile create mode 100644 import/chips/p9/procedures/hwp/pm/pmfiles.mk (limited to 'import/chips') diff --git a/import/chips/p9/procedures/hwp/pm/Makefile b/import/chips/p9/procedures/hwp/pm/Makefile new file mode 100644 index 00000000..5dace688 --- /dev/null +++ b/import/chips/p9/procedures/hwp/pm/Makefile @@ -0,0 +1,30 @@ + +# This Makefile compiles all of the pm hardware procedure code. See the +# "pmfiles.mk" file in this directory. + +#all generated files from this makefile will end up in obj/pm +export SUB_OBJDIR = /pm + +include img_defs.mk +include pmfiles.mk + + +OBJS := $(addprefix $(OBJDIR)/, $(PM_OBJECTS)) + +libpm.a: pm + $(AR) crs $(OBJDIR)/libpm.a $(OBJDIR)/*.o + +.PHONY: clean pm +pm: $(OBJS) + +$(OBJS) $(OBJS:.o=.d): | $(OBJDIR) + +$(OBJDIR): + mkdir -p $(OBJDIR) + +clean: + rm -fr $(OBJDIR) + +ifneq ($(MAKECMDGOALS),clean) +include $(OBJS:.o=.d) +endif diff --git a/import/chips/p9/procedures/hwp/pm/pmfiles.mk b/import/chips/p9/procedures/hwp/pm/pmfiles.mk new file mode 100644 index 00000000..a43c3c73 --- /dev/null +++ b/import/chips/p9/procedures/hwp/pm/pmfiles.mk @@ -0,0 +1,19 @@ +# @file pmfiles.mk +# +# @brief mk for including pm object files +# +########################################################################## +# Object Files +########################################################################## + +PM-CPP-SOURCES +=p9_pm_ocb_indir_access.C +PM-CPP-SOURCES +=p9_pm_ocb_indir_setup_circular.C +PM-CPP-SOURCES +=p9_pm_ocb_indir_setup_linear.C +PM-CPP-SOURCES +=p9_pm_ocb_init.C +PM-CPP-SOURCES +=p9_pm_utils.C +PM-C-SOURCES = +PM-S-SOURCES = + +PM_OBJECTS += $(PM-CPP-SOURCES:.C=.o) +PM_OBJECTS += $(PM-C-SOURCES:.c=.o) +PM_OBJECTS += $(PM-S-SOURCES:.S=.o) diff --git a/import/chips/p9/procedures/xml/error_info/hwpErrors.mk b/import/chips/p9/procedures/xml/error_info/hwpErrors.mk index bbddbad7..147cb2c2 100644 --- a/import/chips/p9/procedures/xml/error_info/hwpErrors.mk +++ b/import/chips/p9/procedures/xml/error_info/hwpErrors.mk @@ -31,3 +31,5 @@ ERROR_XML_FILES += $(PERV_CURR_DIR)/p9_thread_control_errors.xml ERROR_XML_FILES += $(PERV_CURR_DIR)/p9_sbe_startclock_chiplets_errors.xml ERROR_XML_FILES += $(PERV_CURR_DIR)/p9_sbe_select_ex_errors.xml ERROR_XML_FILES += $(PERV_CURR_DIR)/p9_sbe_check_master_stop15_errors.xml +ERROR_XML_FILES += $(PERV_CURR_DIR)/p9_pm_ocb_indir_access_errors.xml +ERROR_XML_FILES += $(PERV_CURR_DIR)/p9_pm_ocb_init_errors.xml -- cgit v1.2.1