diff options
Diffstat (limited to 'libdde_linux26/.svn')
-rw-r--r-- | libdde_linux26/.svn/all-wcprops | 23 | ||||
-rw-r--r-- | libdde_linux26/.svn/entries | 142 | ||||
-rw-r--r-- | libdde_linux26/.svn/format | 1 | ||||
-rw-r--r-- | libdde_linux26/.svn/text-base/Makeconf.svn-base | 51 | ||||
-rw-r--r-- | libdde_linux26/.svn/text-base/Makefile.svn-base | 6 | ||||
-rw-r--r-- | libdde_linux26/.svn/text-base/README.svn-base | 46 |
6 files changed, 269 insertions, 0 deletions
diff --git a/libdde_linux26/.svn/all-wcprops b/libdde_linux26/.svn/all-wcprops new file mode 100644 index 00000000..de44035d --- /dev/null +++ b/libdde_linux26/.svn/all-wcprops @@ -0,0 +1,23 @@ +K 25 +svn:wc:ra_dav:version-url +V 50 +/repos/tudos/!svn/ver/457/trunk/l4/pkg/dde/linux26 +END +Makeconf +K 25 +svn:wc:ra_dav:version-url +V 59 +/repos/tudos/!svn/ver/455/trunk/l4/pkg/dde/linux26/Makeconf +END +Makefile +K 25 +svn:wc:ra_dav:version-url +V 59 +/repos/tudos/!svn/ver/174/trunk/l4/pkg/dde/linux26/Makefile +END +README +K 25 +svn:wc:ra_dav:version-url +V 57 +/repos/tudos/!svn/ver/455/trunk/l4/pkg/dde/linux26/README +END diff --git a/libdde_linux26/.svn/entries b/libdde_linux26/.svn/entries new file mode 100644 index 00000000..69bb8d78 --- /dev/null +++ b/libdde_linux26/.svn/entries @@ -0,0 +1,142 @@ +9 + +dir +465 +http://svn.tudos.org/repos/tudos/trunk/l4/pkg/dde/linux26 +http://svn.tudos.org/repos/tudos + + + +2009-05-23T02:50:17.774710Z +457 +l4check + + +svn:special svn:externals svn:needs-lock + + + + + + + + + + + +a704ac0b-3a55-4d43-a2a9-7be6f07c34fb + +contrib +dir + +include +dir + +Makeconf +file + + + + +2009-11-15T17:17:14.000000Z +c0edc2eea70328918c80e06dd5c6aba8 +2009-05-20T14:32:55.606606Z +455 +l4check + + + + + + + + + + + + + + + + + + + + + +1682 + +lib +dir + +Makefile +file + + + + +2009-11-15T17:17:14.000000Z +f5028b31de40397cea7207220bcdb539 +2007-09-08T19:44:13.897747Z +174 +l4check + + + + + + + + + + + + + + + + + + + + + +109 + +README +file + + + + +2009-11-15T17:17:14.000000Z +fb2eafed8dfc3d7b71b9e8326a735a08 +2009-05-20T14:32:55.606606Z +455 +l4check + + + + + + + + + + + + + + + + + + + + + +1311 + +examples +dir + diff --git a/libdde_linux26/.svn/format b/libdde_linux26/.svn/format new file mode 100644 index 00000000..ec635144 --- /dev/null +++ b/libdde_linux26/.svn/format @@ -0,0 +1 @@ +9 diff --git a/libdde_linux26/.svn/text-base/Makeconf.svn-base b/libdde_linux26/.svn/text-base/Makeconf.svn-base new file mode 100644 index 00000000..de84e39a --- /dev/null +++ b/libdde_linux26/.svn/text-base/Makeconf.svn-base @@ -0,0 +1,51 @@ +# Linux 2.6 defines some macros on command line +KBUILD_DEFINES = -D"KBUILD_STR(s)=\#s" \ + -D"KBUILD_BASENAME=KBUILD_STR($(patsubst %.o, %, $(notdir $@)))" \ + -D"KBUILD_MODNAME=KBUILD_STR($(patsubst %.o, %, $@))" + +# for some reasons, Linux 2.6 does not include autoconf.h in the implementation +# files but does so on the command line +ifeq ($(ARCH), x86) +KBUILD_CPPFLAGS = -include linux/autoconf.h +endif + +ifeq ($(ARCH), arm) +KBUILD_CPPFLAGS = -include linux/autoconf-arm.h +endif + +# includes +MY_DDE_INCDIR = $(OBJ_BASE)/include/$(ARCH)/l4/dde/linux26 \ + $(OBJ_BASE)/include/l4/dde/linux26 + +SUFFIX_amd64 = x86_64 +SUFFIX_x86 = x86 +SUFFIX_arm = arm + +MY_LINUX26_INCDIR = $(OBJ_BASE)/include/$(ARCH)/l4/dde/linux26/linux-headers \ + $(OBJ_BASE)/include/$(ARCH)/l4/dde/linux26/asm \ + $(OBJ_BASE)/include/l4/dde/linux26/linux-headers + +# stolen from fiasco/src/Makeconf, checks whether a compiler supports a certain +# parameter +CHECKCC = $(shell if $(CC) $(1) -S -o /dev/null -xc /dev/null \ + > /dev/null 2>&1; then echo "$(1)"; else echo "$(2)"; fi ;) + +# Linux always uses C... +MODE_USE_C = y +L4_MULTITHREADED = y + +# arch-specific stuff +ifeq ($(ARCH), x86) +MY_DDE_INCDIR += $(OBJ_BASE)/include/l4/dde/linux26/linux-headers/asm/mach-default +endif + +PRIVATE_INCDIR += $(MY_DDE_INCDIR) $(MY_LINUX26_INCDIR) + +DEFINES += -D__KERNEL__ -DDDE_LINUX $(KBUILD_DEFINES) +CPPFLAGS += $(KBUILD_CPPFLAGS) +CFLAGS += -ffunction-sections +ASFLAGS += -D__ASSEMBLY__ + +WARNINGS += -Wall -Wstrict-prototypes -fno-strict-aliasing +WARNINGS += $(call CHECKCC, -Wno-unused,) +WARNINGS += $(call CHECKCC, -Wno-pointer-sign,) diff --git a/libdde_linux26/.svn/text-base/Makefile.svn-base b/libdde_linux26/.svn/text-base/Makefile.svn-base new file mode 100644 index 00000000..5d180d78 --- /dev/null +++ b/libdde_linux26/.svn/text-base/Makefile.svn-base @@ -0,0 +1,6 @@ +PKGDIR ?= .. +L4DIR ?= $(PKGDIR)/../.. + +TARGET = contrib include lib examples + +include $(L4DIR)/mk/subdir.mk diff --git a/libdde_linux26/.svn/text-base/README.svn-base b/libdde_linux26/.svn/text-base/README.svn-base new file mode 100644 index 00000000..ccc58959 --- /dev/null +++ b/libdde_linux26/.svn/text-base/README.svn-base @@ -0,0 +1,46 @@ + This is DDELinux 2.6.29 + +Directory structure +################### + +'contrib/' +========== + +This directory tree holds unmodified Linux sources. The files residing here +are sourced by Makefiles in 'examples' and 'lib'. All unmodified C headers are +also kept here. + + +'include/' +========== + +Currently reimplemented and modified C headers as well as the DDELinux 2.6 API +definition are kept in this directory tree. + +Include stuff works as following. First, we install all Linux headers from +contrib/include to the build directory. Thereafter, we pull in our +modifications by installing all header files from include/ to the appropriate +include paths, thereby overwriting the original versions. + + +'lib/src/arch/l4' +================= + +Contains reimplementations of Linux functions that are implemented differently +in our environment or that are mapped to DDEKit calls. There are no Linux +functions included here. + + +'lib/src/<linux subdir name>' +============================= + +When we import functions from Linux instead of reimplementing them, we copy +the whole Linux source file containing this function to this location. We then +modify the file according to our needs, mostly by wrapping unneeded parts with +'#ifndef DDE_LINUX .. #endif' blocks. + + +'examples/' +========== + +Here reside test code and example drivers. |