Initial commit of OpenSPARC T2 architecture model.
[OpenSPARC-T2-SAM] / sam-t2 / sam / cpus / vonk / n2 / lib / ras / Makefile.defines
CommitLineData
920dae64
AT
1# ========== Copyright Header Begin ==========================================
2#
3# OpenSPARC T2 Processor File: Makefile.defines
4# Copyright (c) 2006 Sun Microsystems, Inc. All Rights Reserved.
5# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES.
6#
7# The above named program is free software; you can redistribute it and/or
8# modify it under the terms of the GNU General Public
9# License version 2 as published by the Free Software Foundation.
10#
11# The above named program is distributed in the hope that it will be
12# useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
13# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14# General Public License for more details.
15#
16# You should have received a copy of the GNU General Public
17# License along with this work; if not, write to the Free Software
18# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
19#
20# ========== Copyright Header End ============================================
21SUB_DIR.n2.lib.ras = n2/lib/ras
22OBJ_DIR.n2.lib.ras = $(OBJ_DIR)/$(SUB_DIR.n2.lib.ras)
23SRC_DIR.n2.lib.ras = $(SUB_DIR.n2.lib.ras)/src
24XML_DIR.n2.lib.ras = $(SUB_DIR.n2.lib.ras)/xml
25BIN_DIR.n2.lib.ras = $(SUB_DIR.n2.lib.ras)/bin
26
27H_FILES.n2.lib.ras=\
28 N2_MemErrDetector.h\
29 N2_RasState.h\
30 N2_IrfEcc.h\
31 N2_FrfEcc.h\
32 N2_StoreBuffer.h
33
34CC_FILES.n2.lib.ras=\
35 N2_MemErrDetector.cc\
36 N2_IrfEcc.cc\
37 N2_FrfEcc.cc\
38 N2_StoreBuffer.cc
39
40XML_FILES.n2.lib.ras=\
41 N2_L2ControlReg.xml\
42 N2_L2AddressingFields.xml\
43 N2_L2DiagDataAddressingFields.xml\
44 N2_L2DiagDataMem.xml\
45 N2_L2DiagTagMem.xml\
46 N2_L2DiagVdMem.xml\
47 N2_L2DiagUaMem.xml\
48 N2_L2ErrorAddressReg.xml\
49 N2_L2ErrorEnMem.xml\
50 N2_L2ErrorStatusReg.xml\
51 N2_L2NotdataErrorReg.xml\
52 N2_L2CacheFlushAddrFields.xml\
53 N2_DramErrorCounterMem.xml\
54 N2_DramErrorInjectMem.xml\
55 N2_DramErrorLocMem.xml\
56 N2_DramErrorStatusMem.xml\
57 N2_DramFbdCountReg.xml\
58 N2_DramFbdErrorSyndromeReg.xml\
59 N2_DramFbdInjectedErrSrcReg.xml\
60 N2_SocErrorInjectReg.xml\
61 N2_SocErrorIntrEnReg.xml\
62 N2_SocErrorLogEnableReg.xml\
63 N2_SocErrorReg.xml\
64 N2_SocErrorStatusReg.xml\
65 N2_SocErrorSteeringReg.xml\
66 N2_SocFatalErrorEnableReg.xml\
67 N2_SocPendingErrStatusReg.xml
68
69XML_H_FILES.n2.lib.ras=\
70 $(XML_FILES.n2.lib.ras:%.xml=%.h)
71
72INC_BUILD.n2.lib.ras=\
73 $(H_FILES.n2.lib.ras:%=$(INC_DIR)/%)\
74 $(XML_H_FILES.n2.lib.ras:%=$(INC_DIR)/%)
75
76OBJ_BUILD.n2.lib.ras=\
77 $(S_FILES.n2.lib.ras:%.s=$(OBJ_DIR.n2.lib.ras)/src/%.o)\
78 $(CC_FILES.n2.lib.ras:%.cc=$(OBJ_DIR.n2.lib.ras)/src/%.o)