summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2002-05-28 06:36:54 +0000
committerThomas Schwinge <tschwinge@gnu.org>2009-06-17 23:50:15 +0200
commite67e30a1e80339c3ed7ebc56bcee3a2597254166 (patch)
tree1822e541d15bda2c333e5f6cc3be4d5396feab36
parent2c4db5385f9f7770fad1ef50dc4e80429fba828f (diff)
2002-05-27 Roland McGrath <roland@frob.com>
* alpha/Makefrag: New file. * alpha/Files: New file. * alpha/Subdirs: New file.
-rw-r--r--alpha/Files57
-rw-r--r--alpha/Makefrag60
-rw-r--r--alpha/Subdirs6
3 files changed, 123 insertions, 0 deletions
diff --git a/alpha/Files b/alpha/Files
new file mode 100644
index 00000000..026d48b2
--- /dev/null
+++ b/alpha/Files
@@ -0,0 +1,57 @@
+alpha/Subdirs
+alpha/Files
+alpha/Makefrag
+alpha/alpha/alpha_cache.S
+alpha/alpha/alpha_copyin.S
+alpha/alpha/alpha_cpu.S
+alpha/alpha/alpha_cpu.h
+alpha/alpha/alpha_init.c
+alpha/alpha/alpha_instruction.c
+alpha/alpha/alpha_lock.S
+alpha/alpha/alpha_mem_ops.c
+alpha/alpha/alpha_misc.c
+alpha/alpha/alpha_scb.c
+alpha/alpha/alpha_scb.h
+alpha/alpha/alpha_startup.c
+alpha/alpha/ast.h
+alpha/alpha/ast_check.c
+alpha/alpha/ast_types.h
+alpha/alpha/autoconf.c
+alpha/alpha/c_misc.c
+alpha/alpha/clock.c
+alpha/alpha/clock.h
+alpha/alpha/context.S
+alpha/alpha/context.h
+alpha/alpha/cpu_number.h
+alpha/alpha/frame.h
+alpha/alpha/lock.h
+alpha/alpha/locore.S
+alpha/alpha/mach_param.h
+alpha/alpha/machspl.h
+alpha/alpha/parse_args.c
+alpha/alpha/pcb.c
+alpha/alpha/pmap.c
+alpha/alpha/pmap.h
+alpha/alpha/prom_interface.S
+alpha/alpha/prom_interface.h
+alpha/alpha/prom_routines.S
+alpha/alpha/prom_routines.h
+alpha/alpha/setjmp.h
+alpha/alpha/start.S
+alpha/alpha/supage.S
+alpha/alpha/thread.h
+alpha/alpha/time_stamp.h
+alpha/alpha/trap.c
+alpha/alpha/trap.h
+alpha/alpha/vm_tuning.h
+alpha/dec/ln_copy.c
+alpha/include/mach/alpha/alpha_instruction.h
+alpha/include/mach/alpha/asm.h
+alpha/include/mach/alpha/boolean.h
+alpha/include/mach/alpha/exception.h
+alpha/include/mach/alpha/kern_return.h
+alpha/include/mach/alpha/machine_types.defs
+alpha/include/mach/alpha/syscall_sw.h
+alpha/include/mach/alpha/thread_status.h
+alpha/include/mach/alpha/vm_param.h
+alpha/include/mach/alpha/vm_types.h
diff --git a/alpha/Makefrag b/alpha/Makefrag
new file mode 100644
index 00000000..d78a285d
--- /dev/null
+++ b/alpha/Makefrag
@@ -0,0 +1,60 @@
+# Alpha Mach makefile fragment
+# Copyright 2002 Free Software Foundation, Inc.
+#
+# Permission to use, copy, modify and distribute this software and its
+# documentation is hereby granted, provided that both the copyright
+# notice and this permission notice appear in all copies of the
+# software, derivative works or modified versions, and any portions
+# thereof, and that both notices appear in supporting documentation.
+#
+# THE FREE SOFTWARE FOUNDATION ALLOWS FREE USE OF THIS SOFTWARE IN ITS
+# "AS IS" CONDITION. THE FREE SOFTWARE FOUNDATION DISCLAIMS ANY
+# LIABILITY OF ANY KIND FOR ANY DAMAGES WHATSOEVER RESULTING FROM THE
+# USE OF THIS SOFTWARE.
+
+
+# Some of the alpha-specific code checks for these.
+DEFINES += -Dalpha=1
+
+# Source files for any alpha kernel
+dec-files = ln_copy.c
+alpha-files = alpha_init.c alpha_instruction.c alpha_mem_ops.c \
+ alpha_scb.c alpha_startup.c ast_check.c pcb.c pmap.c \
+ trap.c
+
+# Assembler source
+dec-Sfiles =
+alpha-Sfiles = alpha_cache.S alpha_copyin.S alpha_cpu.S alpha_lock.S \
+ context.S locore.S prom_interface.S supage.S
+
+objfiles += $(addsuffix .o,$(basename $(dec-files) $(dec-Sfiles) \
+ $(alpha-files) $(alpha-Sfiles)))
+vpath %.c $(sysdep)/dec $(sysdep)/alpha
+vpath %.S $(sysdep)/dec $(sysdep)/alpha
+
+
+
+# Where to find some things
+vpath alphaasm.sym $(sysdep)/alpha
+
+$(patsubst %.S,%.o,$(dec-Sfiles) $(alpha-Sfiles)): alphaasm.h
+
+# Our include files are here; make sure they PRECEDE the generic ones.
+INCLUDES := -I$(sysdep)/dec -I$(sysdep)/alpha \
+ -I$(sysdep)/include -I$(sysdep) \
+ $(INCLUDES)
+
+# arrange suitable load address
+KERN_LDFLAGS += -Ttext 0xfffffc0001000000
+
+# Assemble .S files correctly
+ASFLAGS += -DASSEMBLER
+
+
+# Header files we install
+
+alpha-installed-headers := $(addprefix mach/alpha/,\
+ alpha_instruction.h asm.h boolean.h exception.h \
+ kern_return.h machine_types.defs \
+ syscall_sw.h thread_status.h \
+ vm_param.h vm_types.h)
diff --git a/alpha/Subdirs b/alpha/Subdirs
new file mode 100644
index 00000000..cb3ea848
--- /dev/null
+++ b/alpha/Subdirs
@@ -0,0 +1,6 @@
+alpha
+alpha/alpha
+alpha/dec
+alpha/include
+alpha/include/mach
+alpha/include/mach/alpha