Skip to contentSkip to conversation

powerpc merge (arch)

PATCH In review Heikki Lindholm 1 participant 1 message Oct 24, 2005 PowerPC

lore
Share & tools
lore
#0 lore raw

PATCH 2/3 powerpc merge (arch)

Merge architecture specifics from arch/ppc and arch/ppc64 to arch/powerpc.

-- Heikki Lindholm

arch/powerpc/defconfig +90 -0
diff -Nru --exclude=.svn xenomai-orig/arch/powerpc/defconfig xenomai-devel/arch/powerpc/defconfig
@@ -0,0 +1,90 @@
+#
+# Automatically generated make config: don't edit
+#
+CONFIG_MODULES=y
+CONFIG_XENO_VERSION="2.0"
+
+#
+# General
+#
+CONFIG_XENO_INSTALLDIR="/usr/realtime"
+CONFIG_XENO_LINUXDIR="/lib/modules/`uname -r`/build"
+
+#
+# Documentation
+#
+# CONFIG_XENO_DOC_DOX is not set
+# CONFIG_XENO_DOC_LATEX_NONSTOP is not set
+# CONFIG_XENO_DOC_DBX is not set
+CONFIG_XENO_OPT_EXPERT=y
+# CONFIG_XENO_OPT_KSYMS is not set
+# CONFIG_XENO_OPT_USYMS is not set
+# CONFIG_XENO_MAINT is not set
+
+#
+# Nucleus
+#
+CONFIG_XENO_OPT_PERVASIVE=y
+CONFIG_XENO_OPT_PIPE=y
+CONFIG_XENO_OPT_PIPE_NRDEV="32"
+CONFIG_XENO_OPT_SYS_HEAPSZ="128"
+CONFIG_XENO_OPT_STATS=y
+# CONFIG_XENO_OPT_DEBUG is not set
+# CONFIG_XENO_OPT_WATCHDOG is not set
+
+#
+# Scalability
+#
+# CONFIG_XENO_OPT_SCALABLE_SCHED is not set
+
+#
+# LTT tracepoints filtering
+#
+# CONFIG_XENO_OPT_FILTER_EVIRQ is not set
+# CONFIG_XENO_OPT_FILTER_EVTHR is not set
+# CONFIG_XENO_OPT_FILTER_EVSYS is not set
+# CONFIG_XENO_OPT_FILTER_EVALL is not set
+
+#
+# Machine (powerpc)
+#
+CONFIG_XENO_HW_FPU=y
+CONFIG_XENO_HW_PERIODIC_TIMER=y
+CONFIG_XENO_HW_TIMER_LATENCY="0"
+CONFIG_XENO_HW_SCHED_LATENCY="0"
+
+#
+# APIs
+#
+CONFIG_XENO_SKIN_NATIVE=y
+CONFIG_XENO_OPT_NATIVE_REGISTRY=y
+CONFIG_XENO_OPT_NATIVE_REGISTRY_NRSLOTS="512"
+CONFIG_XENO_OPT_NATIVE_PIPE=y
+CONFIG_XENO_OPT_NATIVE_PIPE_BUFSZ="4096"
+CONFIG_XENO_OPT_NATIVE_SEM=y
+CONFIG_XENO_OPT_NATIVE_EVENT=y
+CONFIG_XENO_OPT_NATIVE_MUTEX=y
+CONFIG_XENO_OPT_NATIVE_COND=y
+CONFIG_XENO_OPT_NATIVE_QUEUE=y
+CONFIG_XENO_OPT_NATIVE_HEAP=y
+CONFIG_XENO_OPT_NATIVE_ALARM=y
+CONFIG_XENO_OPT_NATIVE_MPS=y
+CONFIG_XENO_OPT_NATIVE_INTR=y
+CONFIG_XENO_SKIN_POSIX=y
+# CONFIG_XENO_SKIN_PSOS is not set
+# CONFIG_XENO_SKIN_UITRON is not set
+# CONFIG_XENO_SKIN_VRTX is not set
+# CONFIG_XENO_SKIN_VXWORKS is not set
+CONFIG_XENO_SKIN_RTDM=y
+# CONFIG_XENO_SKIN_RTAI is not set
+CONFIG_XENO_OPT_UVM=y
+
+#
+# Drivers
+#
+# CONFIG_XENO_DRIVERS_16550A is not set
+
+#
+# Simulator
+#
+# CONFIG_XENO_MVM is not set
arch/powerpc/GNUmakefile.am +3 -0
diff -Nru --exclude=.svn xenomai-orig/arch/powerpc/GNUmakefile.am xenomai-devel/arch/powerpc/GNUmakefile.am
@@ -0,0 +1,3 @@
+SUBDIRS = hal
+
+EXTRA_DIST = Kconfig defconfig patches
arch/powerpc/hal/fpu.S +78 -0

78 lines not on this page · raw message

arch/powerpc/hal/fpu_64.S +71 -0

71 lines not on this page · raw message

arch/powerpc/hal/GNUmakefile.am +41 -0

41 lines not on this page · raw message

arch/powerpc/hal/Makefile +13 -0
diff -Nru --exclude=.svn xenomai-orig/arch/powerpc/hal/Makefile xenomai-devel/arch/powerpc/hal/Makefile
@@ -0,0 +1,13 @@
+EXTRA_CFLAGS += -I$(xeno_srctree)/include \
+		-I$(src)/../../../include \
+		-I$(src)/../../.. \
+		$(xeno_extradef)
+
+EXTRA_AFLAGS += -I$(xeno_srctree)/include \
+		-I$(src)/../../../include \
+		-I$(src)/../../.. \
+		$(xeno_extradef)
+
+obj-m += xeno_hal.o
+
+xeno_hal-objs := $(xeno_objs)
arch/powerpc/hal/powerpc.c +190 -0

190 lines not on this page · raw message

arch/powerpc/hal/switch.S +119 -0

119 lines not on this page · raw message

arch/powerpc/hal/switch_64.S +123 -0

123 lines not on this page · raw message

arch/powerpc/Kconfig +71 -0

71 lines not on this page · raw message

arch/powerpc/patches/README +20 -0
diff -Nru --exclude=.svn xenomai-orig/arch/powerpc/patches/README xenomai-devel/arch/powerpc/patches/README
@@ -0,0 +1,20 @@
+-- arch/powerpc/patches
+
+Xenomai needs special kernel support to deliver fast and deterministic
+response time to external interrupts, and also to provide real-time
+services highly integrated with the standard Linux kernel.
+
+This support is provided by the Adeos real-time enabler [1], in the
+form of a kernel patch you have to apply to a vanilla kernel tree,
+before you attempt to compile the Xenomai codebase against the latter
+kernel.
+
+On the PowerPC architecture, Xenomai can run over the former and the 
+new generation of Adeos patches, namely adeos-linux-* and adeos-ipipe-*,
+that one can find in this directory. However, the 64-bit PowerPC
+architecture does not yet support the new generation Adeos variant. Just
+apply one of those patches to the corresponding kernel release. You may
+want to have a look at the README.*INSTALL guides at the top of the
+Xenomai tree for more information.
+
+[1] http://www.gna.org/projects/adeos/
arch/ppc/defconfig +0 -90

90 lines not on this page · raw message

arch/ppc/GNUmakefile.am +0 -3
diff -Nru --exclude=.svn xenomai-orig/arch/ppc/GNUmakefile.am xenomai-devel/arch/ppc/GNUmakefile.am
@@ -1,3 +0,0 @@
-SUBDIRS = hal
-
-EXTRA_DIST = Kconfig defconfig patches
arch/ppc/GNUmakefile.in +0 -614

614 lines not on this page · raw message

arch/ppc/hal/fpu.S +0 -78

78 lines not on this page · raw message

arch/ppc/hal/GNUmakefile.am +0 -33
diff -Nru --exclude=.svn xenomai-orig/arch/ppc/hal/GNUmakefile.am xenomai-devel/arch/ppc/hal/GNUmakefile.am
@@ -1,33 +0,0 @@
-moduledir = $(DESTDIR)@XENO_MODULE_DIR@
-
-modext = @XENO_MODULE_EXT@
-
-CROSS_COMPILE = @CROSS_COMPILE@
-
-libhal_SRC = ppc.c switch.S
-
-if CONFIG_XENO_HW_FPU
-libhal_SRC += fpu.S
-endif
-distfiles = fpu.S
-
-xeno_hal.ko: @XENO_KBUILD_ENV@
-xeno_hal.ko: $(libhal_SRC) generic.c FORCE
-	@XENO_KBUILD_CMD@ xeno_extradef="@XENO_KMOD_CFLAGS@"
-
-clean-local:
-	@XENO_KBUILD_CLEAN@
-
-all-local: xeno_hal$(modext)
-if CONFIG_XENO_OLD_FASHIONED_BUILD
-	$(mkinstalldirs) $(top_srcdir)/modules
-	$(INSTALL_DATA) $^ $(top_srcdir)/modules
-endif
-
-install-exec-local: xeno_hal$(modext)
-	$(mkinstalldirs) $(moduledir)
-	$(INSTALL_DATA) $< $(moduledir)
-
-.PHONY: FORCE
-
-EXTRA_DIST = $(libhal_SRC) $(distfiles) Makefile
arch/ppc/hal/GNUmakefile.in +0 -479

479 lines not on this page · raw message

arch/ppc/hal/Makefile +0 -13
diff -Nru --exclude=.svn xenomai-orig/arch/ppc/hal/Makefile xenomai-devel/arch/ppc/hal/Makefile
@@ -1,13 +0,0 @@
-EXTRA_CFLAGS += -I$(xeno_srctree)/include \
-		-I$(src)/../../../include \
-		-I$(src)/../../.. \
-		$(xeno_extradef)
-
-EXTRA_AFLAGS += -I$(xeno_srctree)/include \
-		-I$(src)/../../../include \
-		-I$(src)/../../.. \
-		$(xeno_extradef)
-
-obj-m += xeno_hal.o
-
-xeno_hal-objs := $(xeno_objs)
arch/ppc/hal/ppc.c +0 -184

184 lines not on this page · raw message

arch/ppc/hal/switch.S +0 -119

119 lines not on this page · raw message

arch/ppc/Kconfig +0 -71

71 lines not on this page · raw message

arch/ppc/patches/adeos-ipipe-2.6.13-ppc-1.0-03.patch +0 -4214

497 lines not on this page · raw message

arch/ppc/patches/adeos-linux-2.6.10-ppc-r8c4.patch +0 -5262

5,262 lines not on this page · raw message

arch/ppc/patches/README +0 -19
diff -Nru --exclude=.svn xenomai-orig/arch/ppc/patches/README xenomai-devel/arch/ppc/patches/README

Lines of this file are not shown. View the raw message.

arch/ppc64/defconfig +0 -67

67 lines not on this page · raw message

arch/ppc64/GNUmakefile.am +0 -3
diff -Nru --exclude=.svn xenomai-orig/arch/ppc64/GNUmakefile.am xenomai-devel/arch/ppc64/GNUmakefile.am

Lines of this file are not shown. View the raw message.

arch/ppc64/GNUmakefile.in +0 -614

614 lines not on this page · raw message

arch/ppc64/hal/fpu.S +0 -74

74 lines not on this page · raw message

arch/ppc64/hal/GNUmakefile.am +0 -33
diff -Nru --exclude=.svn xenomai-orig/arch/ppc64/hal/GNUmakefile.am xenomai-devel/arch/ppc64/hal/GNUmakefile.am

Lines of this file are not shown. View the raw message.

arch/ppc64/hal/GNUmakefile.in +0 -479

479 lines not on this page · raw message

arch/ppc64/hal/Makefile +0 -13
diff -Nru --exclude=.svn xenomai-orig/arch/ppc64/hal/Makefile xenomai-devel/arch/ppc64/hal/Makefile

Lines of this file are not shown. View the raw message.

arch/ppc64/hal/ppc64.c +0 -187

187 lines not on this page · raw message

arch/ppc64/hal/switch.S +0 -126

126 lines not on this page · raw message

arch/ppc64/Kconfig +0 -71

71 lines not on this page · raw message

arch/ppc64/patches/adeos-linux-2.6.10-ppc64-r2.patch +0 -5430

5,430 lines not on this page · raw message

arch/ppc64/patches/README +0 -17
diff -Nru --exclude=.svn xenomai-orig/arch/ppc64/patches/README xenomai-devel/arch/ppc64/patches/README

Lines of this file are not shown. View the raw message.

The rest of this diff is not shown. View the raw message.

Part of the diff is not shown here. View the raw message.