x86: Fixes TLS bug causing kernel page faults
[akaros.git] / kern / arch / sparc / Makefrag
index 5357327..c9e37e9 100644 (file)
@@ -5,6 +5,7 @@
 #
 
 KERN_ARCH_SRC_DIR = $(KERN_DIR)/arch/$(TARGET_ARCH)
+OBJDIRS += $(KERN_ARCH_SRC_DIR)
 
 # entry.S must be first, so that it's the first code in the text segment!!!
 #
@@ -18,8 +19,16 @@ KERN_ARCH_SRCFILES := $(KERN_ARCH_SRC_DIR)/entry.S \
                       $(KERN_ARCH_SRC_DIR)/boot.c \
                       $(KERN_ARCH_SRC_DIR)/cpuinfo.c \
                       $(KERN_ARCH_SRC_DIR)/console.c \
-                      $(KERN_ARCH_SRC_DIR)/frontend.c \
                       $(KERN_ARCH_SRC_DIR)/pmap.c \
+                      $(KERN_ARCH_SRC_DIR)/page_alloc.c \
+                      $(KERN_ARCH_SRC_DIR)/process.c \
+                      $(KERN_ARCH_SRC_DIR)/colored_caches.c \
                       $(KERN_ARCH_SRC_DIR)/timer.c \
                       $(KERN_ARCH_SRC_DIR)/env.c \
-                      $(KERN_ARCH_SRC_DIR)/smp.c
+                      $(KERN_ARCH_SRC_DIR)/init.c \
+                      $(KERN_ARCH_SRC_DIR)/smp.c \
+                      $(KERN_ARCH_SRC_DIR)/fpu.c \
+                      $(KERN_ARCH_SRC_DIR)/sparcfpu.c \
+                      $(KERN_ARCH_SRC_DIR)/softfloat.c \
+                      $(KERN_ARCH_SRC_DIR)/recip.S
+