Changeset 7004747 in mainline
- Timestamp:
- 2009-02-12T20:07:49Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 6da1013f
- Parents:
- 912ee7c
- Location:
- kernel/arch
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/amd64/Makefile.inc
r912ee7c r7004747 30 30 # 31 31 32 ifndef CROSS_PREFIX33 CROSS_PREFIX = /usr/local34 endif35 36 32 BFD_NAME = elf64-x86-64 37 33 BFD_ARCH = i386:x86-64 … … 46 42 SUNCC_CFLAGS += -m64 -xmodel=kernel 47 43 48 DEFS += -D MACHINE=$(MACHINE) -D__64_BITS__44 DEFS += -D__64_BITS__ 49 45 50 46 ## Accepted CPUs … … 56 52 ICC_CFLAGS += $(CMN2) 57 53 SUNCC_CFLAGS += -xtarget=opteron 58 DEFS += -DFENCES=p459 endif60 61 ## Own configuration directives62 #63 64 CONFIG_ACPI = y65 66 ## Compile with hierarchical page tables support.67 #68 69 CONFIG_PAGE_PT = y70 DEFS += -DCONFIG_PAGE_PT71 72 ## Compile with i8042 support.73 #74 75 CONFIG_I8042 = y76 DEFS += -DCONFIG_I804277 78 ## Compile with EGA support79 #80 81 CONFIG_EGA = y82 DEFS += -DCONFIG_EGA83 84 ## Accepted configuration directives85 #86 87 ifeq ($(CONFIG_SMP),y)88 DEFS += -DCONFIG_SMP89 endif90 ifeq ($(CONFIG_HT),y)91 DEFS += -DCONFIG_HT92 endif93 94 ifeq ($(CONFIG_SIMICS_FIX),y)95 DEFS += -DCONFIG_SIMICS_FIX96 54 endif 97 55 98 56 ARCH_SOURCES = \ 99 arch/$( ARCH)/src/fpu_context.c \100 arch/$( ARCH)/src/boot/boot.S \101 arch/$( ARCH)/src/boot/memmap.c \102 arch/$( ARCH)/src/pm.c \103 arch/$( ARCH)/src/context.S \104 arch/$( ARCH)/src/ddi/ddi.c \105 arch/$( ARCH)/src/drivers/vesa.c \106 arch/$( ARCH)/src/drivers/i8254.c \107 arch/$( ARCH)/src/drivers/i8259.c \108 arch/$( ARCH)/src/delay.S \109 arch/$( ARCH)/src/amd64.c \110 arch/$( ARCH)/src/bios/bios.c \111 arch/$( ARCH)/src/interrupt.c \112 arch/$( ARCH)/src/mm/as.c \113 arch/$( ARCH)/src/mm/frame.c \114 arch/$( ARCH)/src/mm/page.c \115 arch/$( ARCH)/src/mm/tlb.c \116 arch/$( ARCH)/src/asm_utils.S \117 arch/$( ARCH)/src/cpu/cpu.c \118 arch/$( ARCH)/src/proc/scheduler.c \119 arch/$( ARCH)/src/proc/task.c \120 arch/$( ARCH)/src/proc/thread.c \121 arch/$( ARCH)/src/userspace.c \122 arch/$( ARCH)/src/syscall.c \123 arch/$( ARCH)/src/debugger.c57 arch/$(KARCH)/src/fpu_context.c \ 58 arch/$(KARCH)/src/boot/boot.S \ 59 arch/$(KARCH)/src/boot/memmap.c \ 60 arch/$(KARCH)/src/pm.c \ 61 arch/$(KARCH)/src/context.S \ 62 arch/$(KARCH)/src/ddi/ddi.c \ 63 arch/$(KARCH)/src/drivers/vesa.c \ 64 arch/$(KARCH)/src/drivers/i8254.c \ 65 arch/$(KARCH)/src/drivers/i8259.c \ 66 arch/$(KARCH)/src/delay.S \ 67 arch/$(KARCH)/src/amd64.c \ 68 arch/$(KARCH)/src/bios/bios.c \ 69 arch/$(KARCH)/src/interrupt.c \ 70 arch/$(KARCH)/src/mm/as.c \ 71 arch/$(KARCH)/src/mm/frame.c \ 72 arch/$(KARCH)/src/mm/page.c \ 73 arch/$(KARCH)/src/mm/tlb.c \ 74 arch/$(KARCH)/src/asm_utils.S \ 75 arch/$(KARCH)/src/cpu/cpu.c \ 76 arch/$(KARCH)/src/proc/scheduler.c \ 77 arch/$(KARCH)/src/proc/task.c \ 78 arch/$(KARCH)/src/proc/thread.c \ 79 arch/$(KARCH)/src/userspace.c \ 80 arch/$(KARCH)/src/syscall.c \ 81 arch/$(KARCH)/src/debugger.c 124 82 125 83 ifeq ($(CONFIG_SMP),y) 126 84 ARCH_SOURCES += \ 127 arch/$( ARCH)/src/smp/ap.S \128 arch/$( ARCH)/src/smp/apic.c \129 arch/$( ARCH)/src/smp/ipi.c \130 arch/$( ARCH)/src/smp/mps.c \131 arch/$( ARCH)/src/smp/smp.c85 arch/$(KARCH)/src/smp/ap.S \ 86 arch/$(KARCH)/src/smp/apic.c \ 87 arch/$(KARCH)/src/smp/ipi.c \ 88 arch/$(KARCH)/src/smp/mps.c \ 89 arch/$(KARCH)/src/smp/smp.c 132 90 endif -
kernel/arch/arm32/Makefile.inc
r912ee7c r7004747 30 30 # 31 31 32 ifndef CROSS_PREFIX33 CROSS_PREFIX = /usr/local34 endif35 36 32 BFD_NAME = elf32-littlearm 37 33 BFD_ARCH = arm … … 41 37 42 38 KERNEL_LOAD_ADDRESS = 0x80200000 43 44 # ifeq ($(MACHINE), gxemul_testarm) 45 DMACHINE = MACHINE_GXEMUL_TESTARM 46 # endif 39 DMACHINE = MACHINE_GXEMUL_TESTARM 47 40 48 41 ATSIGN = % … … 52 45 DEFS += -D__32_BITS__ -DKERNEL_LOAD_ADDRESS=$(KERNEL_LOAD_ADDRESS) -D$(DMACHINE) 53 46 54 # Compile with framebuffer support55 56 ifeq ($(CONFIG_FB), y)57 DEFS += -DCONFIG_FB -DFB_INVERT_ENDIAN58 endif59 60 ## Compile with hierarchical page tables support.61 #62 63 CONFIG_PAGE_PT = y64 DEFS += -DCONFIG_PAGE_PT65 66 ## Compile with support for address space identifiers.67 #68 # no HW support for ASIDs69 #CONFIG_ASID = y70 #CONFIG_ASID_FIFO = y71 72 ## Compile with support with software division and multiplication.73 #74 75 CONFIG_SOFTINT = y76 77 47 ARCH_SOURCES = \ 78 arch/$(ARCH)/src/start.S \ 79 arch/$(ARCH)/src/asm.S \ 80 arch/$(ARCH)/src/arm32.c \ 81 arch/$(ARCH)/src/context.S \ 82 arch/$(ARCH)/src/dummy.S \ 83 arch/$(ARCH)/src/panic.S \ 84 arch/$(ARCH)/src/cpu/cpu.c \ 85 arch/$(ARCH)/src/ddi/ddi.c \ 86 arch/$(ARCH)/src/interrupt.c \ 87 arch/$(ARCH)/src/debug/print.c \ 88 arch/$(ARCH)/src/console.c \ 89 arch/$(ARCH)/src/exception.c \ 90 arch/$(ARCH)/src/userspace.c \ 91 arch/$(ARCH)/src/mm/as.c \ 92 arch/$(ARCH)/src/mm/frame.c \ 93 arch/$(ARCH)/src/mm/page.c \ 94 arch/$(ARCH)/src/mm/tlb.c \ 95 arch/$(ARCH)/src/mm/page_fault.c 96 97 # ifeq ($(MACHINE), gxemul_testarm) 98 ARCH_SOURCES += arch/$(ARCH)/src/drivers/gxemul.c 99 # endif 100 48 arch/$(KARCH)/src/start.S \ 49 arch/$(KARCH)/src/asm.S \ 50 arch/$(KARCH)/src/arm32.c \ 51 arch/$(KARCH)/src/context.S \ 52 arch/$(KARCH)/src/dummy.S \ 53 arch/$(KARCH)/src/panic.S \ 54 arch/$(KARCH)/src/cpu/cpu.c \ 55 arch/$(KARCH)/src/ddi/ddi.c \ 56 arch/$(KARCH)/src/interrupt.c \ 57 arch/$(KARCH)/src/debug/print.c \ 58 arch/$(KARCH)/src/console.c \ 59 arch/$(KARCH)/src/exception.c \ 60 arch/$(KARCH)/src/userspace.c \ 61 arch/$(KARCH)/src/mm/as.c \ 62 arch/$(KARCH)/src/mm/frame.c \ 63 arch/$(KARCH)/src/mm/page.c \ 64 arch/$(KARCH)/src/mm/tlb.c \ 65 arch/$(KARCH)/src/mm/page_fault.c \ 66 arch/$(KARCH)/src/drivers/gxemul.c -
kernel/arch/ia32/Makefile.inc
r912ee7c r7004747 30 30 # 31 31 32 ifndef CROSS_PREFIX33 CROSS_PREFIX = /usr/local34 endif35 36 32 BFD_NAME = elf32-i386 37 33 BFD_ARCH = i386 … … 40 36 TOOLCHAIN_DIR = $(CROSS_PREFIX)/i686 41 37 42 DEFS += -D MACHINE=$(MACHINE) -D__32_BITS__38 DEFS += -D__32_BITS__ 43 39 44 40 CMN1 = -m32 … … 53 49 CMN2 = -march=athlon-xp 54 50 SUNCC_CFLAGS += -xarch=ssea 55 DEFS += -DCONFIG_FENCES_P356 CONFIG_SMP = n57 CONFIG_HT = n58 51 endif 59 52 ifeq ($(MACHINE),athlon-mp) 60 53 CMN2 = -march=athlon-mp 61 54 SUNCC_CFLAGS += xarch=ssea 62 DEFS += -DCONFIG_FENCES_P363 CONFIG_HT = n64 55 endif 65 56 ifeq ($(MACHINE),pentium3) 66 57 CMN2 = -march=pentium3 67 58 SUNCC_CFLAGS += -xarch=sse 68 DEFS += -DCONFIG_FENCES_P369 CONFIG_HT = n70 59 endif 71 60 ifeq ($(MACHINE),pentium4) 72 61 CMN2 = -march=pentium4 73 62 SUNCC_CFLAGS += -xarch=sse2 74 DEFS += -DCONFIG_FENCES_P475 63 endif 76 64 ifeq ($(MACHINE),core) 77 65 CMN2 = -march=prescott 78 66 SUNCC_CFLAGS += -xarch=sse3 79 DEFS += -DCONFIG_FENCES_P480 67 endif 81 68 … … 84 71 ICC_CFLAGS += $(CMN2) 85 72 86 ## Own configuration directives87 #88 89 CONFIG_ACPI = y90 91 ## Compile with hierarchical page tables support.92 #93 94 CONFIG_PAGE_PT = y95 DEFS += -DCONFIG_PAGE_PT96 97 ## Compile with i8042 controller support98 #99 100 CONFIG_I8042 = y101 DEFS += -DCONFIG_I8042102 103 ## Compile with EGA support104 #105 106 CONFIG_EGA = y107 DEFS += -DCONFIG_EGA108 109 ## Accepted configuration directives110 #111 112 ifeq ($(CONFIG_SMP),y)113 DEFS += -DCONFIG_SMP114 endif115 ifeq ($(CONFIG_HT),y)116 DEFS += -DCONFIG_HT117 endif118 ifeq ($(CONFIG_SIMICS_FIX),y)119 DEFS += -DCONFIG_SIMICS_FIX120 endif121 122 ## Compile with support for software integer division.123 #124 125 CONFIG_SOFTINT = y126 127 73 ARCH_SOURCES = \ 128 arch/$( ARCH)/src/context.S \129 arch/$( ARCH)/src/debug/panic.s \130 arch/$( ARCH)/src/delay.s \131 arch/$( ARCH)/src/asm.S \132 arch/$( ARCH)/src/proc/scheduler.c \133 arch/$( ARCH)/src/proc/task.c \134 arch/$( ARCH)/src/proc/thread.c \135 arch/$( ARCH)/src/bios/bios.c \136 arch/$( ARCH)/src/smp/ap.S \137 arch/$( ARCH)/src/smp/apic.c \138 arch/$( ARCH)/src/smp/mps.c \139 arch/$( ARCH)/src/smp/smp.c \140 arch/$( ARCH)/src/atomic.S \141 arch/$( ARCH)/src/smp/ipi.c \142 arch/$( ARCH)/src/ia32.c \143 arch/$( ARCH)/src/interrupt.c \144 arch/$( ARCH)/src/pm.c \145 arch/$( ARCH)/src/userspace.c \146 arch/$( ARCH)/src/cpu/cpu.c \147 arch/$( ARCH)/src/mm/as.c \148 arch/$( ARCH)/src/mm/frame.c \149 arch/$( ARCH)/src/mm/page.c \150 arch/$( ARCH)/src/mm/tlb.c \151 arch/$( ARCH)/src/ddi/ddi.c \152 arch/$( ARCH)/src/drivers/i8254.c \153 arch/$( ARCH)/src/drivers/i8259.c \154 arch/$( ARCH)/src/drivers/vesa.c \155 arch/$( ARCH)/src/boot/boot.S \156 arch/$( ARCH)/src/boot/memmap.c \157 arch/$( ARCH)/src/fpu_context.c \158 arch/$( ARCH)/src/debugger.c \159 arch/$( ARCH)/src/syscall.c74 arch/$(KARCH)/src/context.S \ 75 arch/$(KARCH)/src/debug/panic.s \ 76 arch/$(KARCH)/src/delay.s \ 77 arch/$(KARCH)/src/asm.S \ 78 arch/$(KARCH)/src/proc/scheduler.c \ 79 arch/$(KARCH)/src/proc/task.c \ 80 arch/$(KARCH)/src/proc/thread.c \ 81 arch/$(KARCH)/src/bios/bios.c \ 82 arch/$(KARCH)/src/smp/ap.S \ 83 arch/$(KARCH)/src/smp/apic.c \ 84 arch/$(KARCH)/src/smp/mps.c \ 85 arch/$(KARCH)/src/smp/smp.c \ 86 arch/$(KARCH)/src/atomic.S \ 87 arch/$(KARCH)/src/smp/ipi.c \ 88 arch/$(KARCH)/src/ia32.c \ 89 arch/$(KARCH)/src/interrupt.c \ 90 arch/$(KARCH)/src/pm.c \ 91 arch/$(KARCH)/src/userspace.c \ 92 arch/$(KARCH)/src/cpu/cpu.c \ 93 arch/$(KARCH)/src/mm/as.c \ 94 arch/$(KARCH)/src/mm/frame.c \ 95 arch/$(KARCH)/src/mm/page.c \ 96 arch/$(KARCH)/src/mm/tlb.c \ 97 arch/$(KARCH)/src/ddi/ddi.c \ 98 arch/$(KARCH)/src/drivers/i8254.c \ 99 arch/$(KARCH)/src/drivers/i8259.c \ 100 arch/$(KARCH)/src/drivers/vesa.c \ 101 arch/$(KARCH)/src/boot/boot.S \ 102 arch/$(KARCH)/src/boot/memmap.c \ 103 arch/$(KARCH)/src/fpu_context.c \ 104 arch/$(KARCH)/src/debugger.c \ 105 arch/$(KARCH)/src/syscall.c -
kernel/arch/ia64/Makefile.inc
r912ee7c r7004747 30 30 # 31 31 32 ifndef CROSS_PREFIX33 CROSS_PREFIX = /usr/local34 endif35 36 32 BFD_NAME = elf64-little 37 33 BFD_ARCH = ia64-elf64 … … 46 42 AFLAGS += -mconstant-gp 47 43 48 DEFS += -D__64_BITS__ -D$(MACHINE) 49 50 ## Compile with page hash table support. 51 # 52 53 CONFIG_PAGE_HT = y 54 DEFS += -DCONFIG_PAGE_HT 55 56 ## Compile with support for address space identifiers. 57 # 58 59 CONFIG_ASID = y 60 CONFIG_ASID_FIFO = y 61 62 ## Compile with support for software integer division. 63 # 64 65 CONFIG_SOFTINT = y 44 DEFS += -D__64_BITS__ 66 45 67 46 ARCH_SOURCES = \ 68 arch/$( ARCH)/src/start.S \69 arch/$( ARCH)/src/asm.S \70 arch/$( ARCH)/src/dummy.s \71 arch/$( ARCH)/src/ia64.c \72 arch/$( ARCH)/src/fpu_context.c \73 arch/$( ARCH)/src/context.S \74 arch/$( ARCH)/src/cpu/cpu.c \75 arch/$( ARCH)/src/ivt.S \76 arch/$( ARCH)/src/interrupt.c \77 arch/$( ARCH)/src/mm/as.c \78 arch/$( ARCH)/src/mm/frame.c \79 arch/$( ARCH)/src/mm/page.c \80 arch/$( ARCH)/src/mm/tlb.c \81 arch/$( ARCH)/src/mm/vhpt.c \82 arch/$( ARCH)/src/proc/scheduler.c \83 arch/$( ARCH)/src/ddi/ddi.c \84 arch/$( ARCH)/src/smp/smp.c \85 arch/$( ARCH)/src/drivers/it.c47 arch/$(KARCH)/src/start.S \ 48 arch/$(KARCH)/src/asm.S \ 49 arch/$(KARCH)/src/dummy.s \ 50 arch/$(KARCH)/src/ia64.c \ 51 arch/$(KARCH)/src/fpu_context.c \ 52 arch/$(KARCH)/src/context.S \ 53 arch/$(KARCH)/src/cpu/cpu.c \ 54 arch/$(KARCH)/src/ivt.S \ 55 arch/$(KARCH)/src/interrupt.c \ 56 arch/$(KARCH)/src/mm/as.c \ 57 arch/$(KARCH)/src/mm/frame.c \ 58 arch/$(KARCH)/src/mm/page.c \ 59 arch/$(KARCH)/src/mm/tlb.c \ 60 arch/$(KARCH)/src/mm/vhpt.c \ 61 arch/$(KARCH)/src/proc/scheduler.c \ 62 arch/$(KARCH)/src/ddi/ddi.c \ 63 arch/$(KARCH)/src/smp/smp.c \ 64 arch/$(KARCH)/src/drivers/it.c 86 65 87 66 ifeq ($(MACHINE),ski) 88 ARCH_SOURCES += arch/$( ARCH)/src/ski/ski.c67 ARCH_SOURCES += arch/$(KARCH)/src/ski/ski.c 89 68 DEFS += -DSKI 90 69 BFD = binary … … 92 71 93 72 ifeq ($(MACHINE),i460GX) 94 CONFIG_I8042 = y 95 CONFIG_EGA = y 96 DEFS += -DI460GX -DCONFIG_I8042 -DCONFIG_EGA 73 DEFS += -DI460GX 97 74 BFD = binary 98 75 endif 99 100 ifeq ($(CONFIG_SMP),y)101 DEFS += -DCONFIG_SMP102 endif103 -
kernel/arch/mips32/Makefile.inc
r912ee7c r7004747 30 30 # 31 31 32 ifndef CROSS_PREFIX33 CROSS_PREFIX = /usr/local34 endif35 36 32 BFD_ARCH = mips 37 33 TARGET = mipsel-linux-gnu … … 42 38 GCC_CFLAGS += -mno-abicalls -G 0 -fno-zero-initialized-in-bss 43 39 44 DEFS += -D__32_BITS__ -DMACHINE=$(MACHINE) -DKERNEL_LOAD_ADDRESS=${KERNEL_LOAD_ADDRESS} 45 46 ## Compile with hierarchical page tables support. 47 # 48 49 CONFIG_PAGE_PT = y 50 DEFS += -DCONFIG_PAGE_PT 51 52 ## Compile with support for address space identifiers. 53 # 54 55 CONFIG_ASID = y 56 CONFIG_ASID_FIFO = y 40 DEFS += -D__32_BITS__ -D$(MACHINE) -DKERNEL_LOAD_ADDRESS=$(KERNEL_LOAD_ADDRESS) 57 41 58 42 ## Accepted MACHINEs … … 62 46 BFD_NAME = elf32-tradlittlemips 63 47 BFD = binary 64 GCC_CFLAGS += - DFB_INVERT_ENDIAN -DARCH_HAS_FPU -mips348 GCC_CFLAGS += -mips3 65 49 endif 66 50 ifeq ($(MACHINE),bgxemul) … … 69 53 TOOLCHAIN_DIR = $(CROSS_PREFIX)/mips 70 54 TARGET = mips-sgi-irix5 71 GCC_CFLAGS += -EB -DBIG_ENDIAN - DARCH_HAS_FPU -mips355 GCC_CFLAGS += -EB -DBIG_ENDIAN -mips3 72 56 endif 73 57 ifeq ($(MACHINE),simics) … … 86 70 endif 87 71 88 ## Compile with support for software integer division.89 #90 91 CONFIG_SOFTINT = y92 93 94 72 ARCH_SOURCES = \ 95 arch/$( ARCH)/src/start.S \96 arch/$( ARCH)/src/context.S \97 arch/$( ARCH)/src/panic.S \98 arch/$( ARCH)/src/mips32.c \99 arch/$( ARCH)/src/dummy.S \100 arch/$( ARCH)/src/console.c \101 arch/$( ARCH)/src/asm.S \102 arch/$( ARCH)/src/exception.c \103 arch/$( ARCH)/src/interrupt.c \104 arch/$( ARCH)/src/cache.c \105 arch/$( ARCH)/src/debugger.c \106 arch/$( ARCH)/src/cpu/cpu.c \107 arch/$( ARCH)/src/mm/frame.c \108 arch/$( ARCH)/src/mm/page.c \109 arch/$( ARCH)/src/mm/tlb.c \110 arch/$( ARCH)/src/mm/as.c \111 arch/$( ARCH)/src/fpu_context.c \112 arch/$( ARCH)/src/ddi/ddi.c \113 arch/$( ARCH)/src/drivers/msim.c \114 arch/$( ARCH)/src/drivers/serial.c \115 arch/$( ARCH)/src/smp/order.c73 arch/$(KARCH)/src/start.S \ 74 arch/$(KARCH)/src/context.S \ 75 arch/$(KARCH)/src/panic.S \ 76 arch/$(KARCH)/src/mips32.c \ 77 arch/$(KARCH)/src/dummy.S \ 78 arch/$(KARCH)/src/console.c \ 79 arch/$(KARCH)/src/asm.S \ 80 arch/$(KARCH)/src/exception.c \ 81 arch/$(KARCH)/src/interrupt.c \ 82 arch/$(KARCH)/src/cache.c \ 83 arch/$(KARCH)/src/debugger.c \ 84 arch/$(KARCH)/src/cpu/cpu.c \ 85 arch/$(KARCH)/src/mm/frame.c \ 86 arch/$(KARCH)/src/mm/page.c \ 87 arch/$(KARCH)/src/mm/tlb.c \ 88 arch/$(KARCH)/src/mm/as.c \ 89 arch/$(KARCH)/src/fpu_context.c \ 90 arch/$(KARCH)/src/ddi/ddi.c \ 91 arch/$(KARCH)/src/drivers/msim.c \ 92 arch/$(KARCH)/src/drivers/serial.c \ 93 arch/$(KARCH)/src/smp/order.c -
kernel/arch/ppc32/Makefile.inc
r912ee7c r7004747 30 30 # 31 31 32 ifndef CROSS_PREFIX33 CROSS_PREFIX = /usr/local34 endif35 36 32 BFD_NAME = elf32-powerpc 37 33 BFD_ARCH = powerpc:common … … 46 42 DEFS += -D__32_BITS__ 47 43 48 ## Own configuration directives49 #50 51 CONFIG_FB = y52 53 ## Compile with hierarchical page tables support.54 #55 56 CONFIG_PAGE_PT = y57 DEFS += -DCONFIG_PAGE_PT58 59 ## Compile with support for address space identifiers.60 #61 62 CONFIG_ASID = y63 CONFIG_ASID_FIFO = y64 65 ## Compile with support for software integer division.66 #67 68 CONFIG_SOFTINT = y69 70 44 ARCH_SOURCES = \ 71 arch/$( ARCH)/src/context.S \72 arch/$( ARCH)/src/debug/panic.s \73 arch/$( ARCH)/src/fpu_context.S \74 arch/$( ARCH)/src/boot/boot.S \75 arch/$( ARCH)/src/ppc32.c \76 arch/$( ARCH)/src/dummy.s \77 arch/$( ARCH)/src/exception.S \78 arch/$( ARCH)/src/interrupt.c \79 arch/$( ARCH)/src/asm.S \80 arch/$( ARCH)/src/cpu/cpu.c \81 arch/$( ARCH)/src/proc/scheduler.c \82 arch/$( ARCH)/src/ddi/ddi.c \83 arch/$( ARCH)/src/drivers/cuda.c \84 arch/$( ARCH)/src/mm/as.c \85 arch/$( ARCH)/src/mm/frame.c \86 arch/$( ARCH)/src/mm/page.c \87 arch/$( ARCH)/src/mm/tlb.c \88 arch/$( ARCH)/src/drivers/pic.c45 arch/$(KARCH)/src/context.S \ 46 arch/$(KARCH)/src/debug/panic.s \ 47 arch/$(KARCH)/src/fpu_context.S \ 48 arch/$(KARCH)/src/boot/boot.S \ 49 arch/$(KARCH)/src/ppc32.c \ 50 arch/$(KARCH)/src/dummy.s \ 51 arch/$(KARCH)/src/exception.S \ 52 arch/$(KARCH)/src/interrupt.c \ 53 arch/$(KARCH)/src/asm.S \ 54 arch/$(KARCH)/src/cpu/cpu.c \ 55 arch/$(KARCH)/src/proc/scheduler.c \ 56 arch/$(KARCH)/src/ddi/ddi.c \ 57 arch/$(KARCH)/src/drivers/cuda.c \ 58 arch/$(KARCH)/src/mm/as.c \ 59 arch/$(KARCH)/src/mm/frame.c \ 60 arch/$(KARCH)/src/mm/page.c \ 61 arch/$(KARCH)/src/mm/tlb.c \ 62 arch/$(KARCH)/src/drivers/pic.c -
kernel/arch/sparc64/Makefile.inc
r912ee7c r7004747 30 30 # 31 31 32 ifndef CROSS_PREFIX33 CROSS_PREFIX = /usr/local34 endif35 36 32 BFD_NAME = elf64-sparc 37 33 BFD_ARCH = sparc … … 47 43 DEFS += -D__64_BITS__ 48 44 49 ## Own configuration directives50 #51 52 ## Compile with page hash table support.53 #54 55 CONFIG_PAGE_HT = y56 DEFS += -DCONFIG_PAGE_HT57 58 ## Compile with support for address space identifiers.59 #60 61 CONFIG_ASID = y62 CONFIG_ASID_FIFO = y63 64 ## Compile with support for framebuffer.65 #66 67 45 ifeq ($(MACHINE),us) 68 CONFIG_FB = y 69 endif 70 71 ## Compile with support for Sun keyboard. 72 # 73 74 CONFIG_SUN_KBD = y 75 76 ## Compile with support for OpenFirmware device tree. 77 # 78 79 CONFIG_OFW_TREE = y 80 81 ifeq ($(CONFIG_SMP),y) 82 DEFS += -DCONFIG_SMP 83 endif 84 85 ifeq ($(CONFIG_SGCN),y) 86 DEFS += -DCONFIG_SGCN 87 endif 88 89 ifeq ($(MACHINE),us) 90 DEFS += -DUS 46 DEFS += -DUS 91 47 endif 92 48 … … 96 52 97 53 ARCH_SOURCES = \ 98 arch/$( ARCH)/src/cpu/cpu.c \99 arch/$( ARCH)/src/asm.S \100 arch/$( ARCH)/src/panic.S \101 arch/$( ARCH)/src/console.c \102 arch/$( ARCH)/src/context.S \103 arch/$( ARCH)/src/fpu_context.c \104 arch/$( ARCH)/src/dummy.s \105 arch/$( ARCH)/src/mm/as.c \106 arch/$( ARCH)/src/mm/cache.S \107 arch/$( ARCH)/src/mm/frame.c \108 arch/$( ARCH)/src/mm/page.c \109 arch/$( ARCH)/src/mm/tlb.c \110 arch/$( ARCH)/src/sparc64.c \111 arch/$( ARCH)/src/start.S \112 arch/$( ARCH)/src/proc/scheduler.c \113 arch/$( ARCH)/src/proc/thread.c \114 arch/$( ARCH)/src/trap/mmu.S \115 arch/$( ARCH)/src/trap/trap_table.S \116 arch/$( ARCH)/src/trap/trap.c \117 arch/$( ARCH)/src/trap/exception.c \118 arch/$( ARCH)/src/trap/interrupt.c \119 arch/$( ARCH)/src/ddi/ddi.c \120 arch/$( ARCH)/src/drivers/tick.c \121 arch/$( ARCH)/src/drivers/kbd.c \122 arch/$( ARCH)/src/drivers/sgcn.c \123 arch/$( ARCH)/src/drivers/pci.c54 arch/$(KARCH)/src/cpu/cpu.c \ 55 arch/$(KARCH)/src/asm.S \ 56 arch/$(KARCH)/src/panic.S \ 57 arch/$(KARCH)/src/console.c \ 58 arch/$(KARCH)/src/context.S \ 59 arch/$(KARCH)/src/fpu_context.c \ 60 arch/$(KARCH)/src/dummy.s \ 61 arch/$(KARCH)/src/mm/as.c \ 62 arch/$(KARCH)/src/mm/cache.S \ 63 arch/$(KARCH)/src/mm/frame.c \ 64 arch/$(KARCH)/src/mm/page.c \ 65 arch/$(KARCH)/src/mm/tlb.c \ 66 arch/$(KARCH)/src/sparc64.c \ 67 arch/$(KARCH)/src/start.S \ 68 arch/$(KARCH)/src/proc/scheduler.c \ 69 arch/$(KARCH)/src/proc/thread.c \ 70 arch/$(KARCH)/src/trap/mmu.S \ 71 arch/$(KARCH)/src/trap/trap_table.S \ 72 arch/$(KARCH)/src/trap/trap.c \ 73 arch/$(KARCH)/src/trap/exception.c \ 74 arch/$(KARCH)/src/trap/interrupt.c \ 75 arch/$(KARCH)/src/ddi/ddi.c \ 76 arch/$(KARCH)/src/drivers/tick.c \ 77 arch/$(KARCH)/src/drivers/kbd.c \ 78 arch/$(KARCH)/src/drivers/sgcn.c \ 79 arch/$(KARCH)/src/drivers/pci.c 124 80 125 81 ifeq ($(CONFIG_FB),y) 126 82 ARCH_SOURCES += \ 127 arch/$( ARCH)/src/drivers/scr.c83 arch/$(KARCH)/src/drivers/scr.c 128 84 endif 129 85 130 86 ifeq ($(CONFIG_SMP),y) 131 ARCH_SOURCES += \132 arch/$(ARCH)/src/smp/ipi.c \133 arch/$(ARCH)/src/smp/smp.c87 ARCH_SOURCES += \ 88 arch/$(KARCH)/src/smp/ipi.c \ 89 arch/$(KARCH)/src/smp/smp.c 134 90 endif 135 91 136 92 ifeq ($(CONFIG_TSB),y) 137 ARCH_SOURCES += \138 arch/$(ARCH)/src/mm/tsb.c93 ARCH_SOURCES += \ 94 arch/$(KARCH)/src/mm/tsb.c 139 95 endif 140 96 141 97 ifdef CONFIG_Z8530 142 ARCH_SOURCES += \143 arch/$(ARCH)/src/drivers/fhc.c98 ARCH_SOURCES += \ 99 arch/$(KARCH)/src/drivers/fhc.c 144 100 endif
Note:
See TracChangeset
for help on using the changeset viewer.