Subversion Repositories HelenOS

Rev

Rev 3743 | Rev 3783 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3743 Rev 3770
Line 99... Line 99...
99
	DEFS += -DSUN4V
99
	DEFS += -DSUN4V
100
	DEFS += -DUS3 # TODO: do not forget to remove this line, it is here only to make the code compilable even when the sun4v port is not fully implemented yet
100
	DEFS += -DUS3 # TODO: do not forget to remove this line, it is here only to make the code compilable even when the sun4v port is not fully implemented yet
101
endif
101
endif
102
 
102
 
103
 
103
 
104
# common for sun4u and sun4v
104
# sources which exist in two versions - one for sun4u and one for sun4v
105
ARCH_SOURCES = \
105
ARCH_SOURCES = \
106
	arch/$(ARCH)/src/$(USARCH)/start.S \
106
	arch/$(ARCH)/src/$(USARCH)/start.S \
107
	arch/$(ARCH)/src/trap/$(USARCH)/trap_table.S \
107
	arch/$(ARCH)/src/trap/$(USARCH)/trap_table.S \
108
	arch/$(ARCH)/src/$(USARCH)/asm.S \
108
	arch/$(ARCH)/src/$(USARCH)/asm.S \
109
	arch/$(ARCH)/src/$(USARCH)/sparc64.c
109
	arch/$(ARCH)/src/$(USARCH)/sparc64.c \
-
 
110
	arch/$(ARCH)/src/mm/$(USARCH)/tlb.c \
-
 
111
	arch/$(ARCH)/src/cpu/$(USARCH)/cpu.c
-
 
112
 
-
 
113
# specific to machine type
110
 
114
 
111
# sun4u-specific, not #ifdef'd yet in order to make the code compilable
115
# sun4u-specific, not #ifdef'd yet in order to make the code compilable
112
ARCH_SOURCES += \
116
ARCH_SOURCES += \
113
	arch/$(ARCH)/src/cpu/cpu.c \
-
 
114
	arch/$(ARCH)/src/asm.S \
117
	arch/$(ARCH)/src/asm.S \
115
	arch/$(ARCH)/src/panic.S \
118
	arch/$(ARCH)/src/panic.S \
116
	arch/$(ARCH)/src/console.c \
119
	arch/$(ARCH)/src/console.c \
117
	arch/$(ARCH)/src/context.S \
120
	arch/$(ARCH)/src/context.S \
118
	arch/$(ARCH)/src/fpu_context.c \
121
	arch/$(ARCH)/src/fpu_context.c \
119
	arch/$(ARCH)/src/dummy.s \
122
	arch/$(ARCH)/src/dummy.s \
120
	arch/$(ARCH)/src/mm/as.c \
123
	arch/$(ARCH)/src/mm/as.c \
121
	arch/$(ARCH)/src/mm/cache.S \
124
	arch/$(ARCH)/src/mm/cache.S \
122
	arch/$(ARCH)/src/mm/frame.c \
125
	arch/$(ARCH)/src/mm/frame.c \
123
	arch/$(ARCH)/src/mm/page.c \
126
	arch/$(ARCH)/src/mm/page.c \
124
	arch/$(ARCH)/src/mm/tlb.c \
-
 
125
	arch/$(ARCH)/src/proc/scheduler.c \
127
	arch/$(ARCH)/src/proc/scheduler.c \
126
	arch/$(ARCH)/src/proc/thread.c \
128
	arch/$(ARCH)/src/proc/thread.c \
127
	arch/$(ARCH)/src/trap/mmu.S \
129
	arch/$(ARCH)/src/trap/mmu.S \
128
	arch/$(ARCH)/src/trap/trap.c \
130
	arch/$(ARCH)/src/trap/trap.c \
129
	arch/$(ARCH)/src/trap/exception.c \
131
	arch/$(ARCH)/src/trap/exception.c \
Line 142... Line 144...
142
endif
144
endif
143
 
145
 
144
ifeq ($(CONFIG_SMP),y)
146
ifeq ($(CONFIG_SMP),y)
145
ARCH_SOURCES += \
147
ARCH_SOURCES += \
146
	arch/$(ARCH)/src/smp/ipi.c \
148
	arch/$(ARCH)/src/smp/ipi.c \
147
	arch/$(ARCH)/src/smp/smp.c
149
	arch/$(ARCH)/src/smp/$(USARCH)/smp.c
148
endif
150
endif
149
 
151
 
150
ifeq ($(CONFIG_TSB),y)
152
ifeq ($(CONFIG_TSB),y)
151
ARCH_SOURCES += \
153
ARCH_SOURCES += \
152
	arch/$(ARCH)/src/mm/tsb.c
154
	arch/$(ARCH)/src/mm/tsb.c