aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas "Cakeisalie5" Touhey <thomas@touhey.fr>2017-09-09 01:58:19 +0200
committerThomas "Cakeisalie5" Touhey <thomas@touhey.fr>2017-09-09 01:58:19 +0200
commit6f97401007b2f5fd016d59caf53460be835a011b (patch)
treee3156c27c3b14428d90c3c6be061dc08552da77f
parent1404783751b0fb1fa4e3651504c3bbbf7b698d95 (diff)
Clarified licensing.
-rw-r--r--AUTHORS.md13
-rw-r--r--CODING.md10
-rw-r--r--LICENSE.md4
-rw-r--r--README.md91
-rw-r--r--arch/all/compiler-gcc/bits/alloca.h31
-rw-r--r--arch/all/compiler-gcc/bits/compiler.h69
-rw-r--r--arch/all/compiler-gcc/bits/endian.h31
-rw-r--r--arch/all/compiler-gcc/bits/stdarg.h31
-rw-r--r--arch/all/compiler-gcc/bits/types/exact.h31
-rw-r--r--arch/all/compiler-gcc/bits/types/fast.h31
-rw-r--r--arch/all/compiler-gcc/bits/types/least.h31
-rw-r--r--arch/all/compiler-gcc/bits/types/max.h31
-rw-r--r--arch/all/compiler-gcc/bits/types/primitive.h31
-rw-r--r--arch/all/compiler-gcc/bits/types/ptr.h31
-rw-r--r--arch/all/compiler-gcc/copyright.yml2
-rw-r--r--arch/all/compiler-renesas/bits/compiler.h31
-rw-r--r--arch/all/compiler-renesas/bits/endian.h31
-rw-r--r--arch/all/compiler-renesas/bits/stdarg.h31
-rw-r--r--arch/all/compiler-renesas/bits/types/exact.h31
-rw-r--r--arch/all/compiler-renesas/bits/types/fast.h31
-rw-r--r--arch/all/compiler-renesas/bits/types/float.h31
-rw-r--r--arch/all/compiler-renesas/bits/types/least.h31
-rw-r--r--arch/all/compiler-renesas/bits/types/max.h31
-rw-r--r--arch/all/compiler-renesas/bits/types/primitive.h31
-rw-r--r--arch/all/compiler-renesas/bits/types/ptr.h31
-rw-r--r--arch/all/compiler-renesas/copyright.yml2
-rw-r--r--arch/all/compiler-renesas/info.yml1
-rw-r--r--arch/all/compiler-sdcc/README.md6
-rw-r--r--arch/all/compiler-sdcc/bits/compiler.h44
-rw-r--r--arch/all/compiler-sdcc/bits/endian.h29
-rw-r--r--arch/all/compiler-sdcc/bits/stdarg.h72
-rw-r--r--arch/all/compiler-sdcc/bits/types/primitive.h63
-rw-r--r--arch/all/compiler-sdcc/info.yml7
-rw-r--r--arch/all/compiler-sdcc/roles.yml4
-rw-r--r--arch/all/compiler-turbo/README.md4
-rw-r--r--arch/all/compiler-turbo/bits/compiler.h31
-rw-r--r--arch/all/compiler-turbo/bits/endian.h23
-rw-r--r--arch/all/compiler-turbo/bits/stdarg.h32
-rw-r--r--arch/all/compiler-turbo/copyright.yml6
-rw-r--r--arch/all/compiler-turbo/info.yml7
-rw-r--r--arch/all/compiler-turbo/roles.yml4
-rw-r--r--arch/all/compiler-xlc/README.md5
-rw-r--r--arch/all/compiler-xlc/bits/compiler.h53
-rw-r--r--arch/all/compiler-xlc/bits/endian.h30
-rw-r--r--arch/all/compiler-xlc/bits/types/primitive.h73
-rw-r--r--arch/all/compiler-xlc/copyright.yml6
-rw-r--r--arch/all/compiler-xlc/info.yml6
-rw-r--r--arch/all/compiler-xlc/roles.yml5
-rw-r--r--arch/all/core-sh/bits/byteswap.h31
-rw-r--r--arch/all/core-sh/bits/setjmp.h31
-rw-r--r--arch/all/core-sh/copyright.yml2
-rw-r--r--arch/all/core-sh/include/builtin.h31
-rw-r--r--arch/all/core-sh/include/fixed.h31
-rw-r--r--arch/all/core-sh/include/machine.h31
-rw-r--r--arch/all/core-sh/include/smachine.h31
-rw-r--r--arch/all/core-sh/include/umachine.h31
-rw-r--r--arch/all/core/copyright.yml4
-rw-r--r--arch/all/core/include/alloca.h31
-rw-r--r--arch/all/core/include/assert.h31
-rw-r--r--arch/all/core/include/byteswap.h31
-rw-r--r--arch/all/core/include/cdefs.h31
-rw-r--r--arch/all/core/include/cdefs/attrs.h31
-rw-r--r--arch/all/core/include/cdefs/compiler.h31
-rw-r--r--arch/all/core/include/cdefs/features.h31
-rw-r--r--arch/all/core/include/cdefs/utils.h31
-rw-r--r--arch/all/core/include/complex.h31
-rw-r--r--arch/all/core/include/ctype.h31
-rw-r--r--arch/all/core/include/dirent.h31
-rw-r--r--arch/all/core/include/endian.h31
-rw-r--r--arch/all/core/include/errno.h31
-rw-r--r--arch/all/core/include/features.h35
-rw-r--r--arch/all/core/include/fenv.h31
-rw-r--r--arch/all/core/include/float.h35
-rw-r--r--arch/all/core/include/inttypes.h31
-rw-r--r--arch/all/core/include/iso646.h31
-rw-r--r--arch/all/core/include/limits.h31
-rw-r--r--arch/all/core/include/locale.h31
-rw-r--r--arch/all/core/include/malloc.h31
-rw-r--r--arch/all/core/include/printf.h31
-rw-r--r--arch/all/core/include/setjmp.h31
-rw-r--r--arch/all/core/include/signal.h31
-rw-r--r--arch/all/core/include/stdarg.h31
-rw-r--r--arch/all/core/include/stdatomic.h31
-rw-r--r--arch/all/core/include/stdbool.h36
-rw-r--r--arch/all/core/include/stddef.h31
-rw-r--r--arch/all/core/include/stdfix.h31
-rw-r--r--arch/all/core/include/stdint.h31
-rw-r--r--arch/all/core/include/stdio.h31
-rw-r--r--arch/all/core/include/stdio_ext.h31
-rw-r--r--arch/all/core/include/stdlib.h31
-rw-r--r--arch/all/core/include/string.h32
-rw-r--r--arch/all/core/include/strings.h68
-rw-r--r--arch/all/core/include/time.h31
-rw-r--r--arch/all/core/include/varargs.h31
-rw-r--r--arch/all/core/roles.yml1
-rw-r--r--arch/all/core/src/byteswap.c31
-rw-r--r--arch/all/core/src/ctype/funcs.c31
-rw-r--r--arch/all/core/src/ctype/tab.c31
-rw-r--r--arch/all/core/src/errno.c31
-rw-r--r--arch/all/core/src/locales.c31
-rw-r--r--arch/all/core/src/stdio/printf/default.c31
-rw-r--r--arch/all/core/src/stdio/printf/fprintf.c31
-rw-r--r--arch/all/core/src/stdio/printf/register.c31
-rw-r--r--arch/all/core/src/stdio/printf/sprintf.c31
-rw-r--r--arch/all/core/src/stdio/printf/vfprintf.c31
-rw-r--r--arch/all/core/src/stdio/read.c31
-rw-r--r--arch/all/core/src/stdio/seek.c31
-rw-r--r--arch/all/core/src/stdio/stdout.c31
-rw-r--r--arch/all/core/src/stdio/write.c31
-rw-r--r--arch/all/core/src/stdlib/div.c31
-rw-r--r--arch/all/core/src/stdlib/rand.c31
-rw-r--r--arch/all/core/src/stdlib/wchar.c31
-rw-r--r--arch/all/core/src/string/memchr.c31
-rw-r--r--arch/all/core/src/string/memcpy.c31
-rw-r--r--arch/all/core/src/string/memset.c31
-rw-r--r--arch/all/core/src/string/strchr.c31
-rw-r--r--arch/all/core/src/string/strlen.c31
-rw-r--r--arch/all/cpp/copyright.yml2
-rw-r--r--arch/all/cpp/include/ios31
-rw-r--r--arch/all/cpp/include/iosfwd31
-rw-r--r--arch/all/cpp/include/iostream31
-rw-r--r--arch/all/cpp/include/mystrbuf31
-rw-r--r--arch/all/cpp/include/new31
-rw-r--r--arch/all/cpp/include/streambuf31
-rw-r--r--arch/all/cpp/include/string31
-rw-r--r--arch/all/ensigdsp-sh/copyright.yml2
-rw-r--r--arch/all/ensigdsp-sh/include/ensigdsp.h31
-rw-r--r--arch/all/helloworld/copyright.yml (renamed from arch/all/compiler-sdcc/copyright.yml)2
-rw-r--r--arch/all/helloworld/include/helloworld.h31
-rw-r--r--arch/all/helloworld/info.yml4
-rw-r--r--arch/all/helloworld/roles.yml6
-rw-r--r--arch/all/helloworld/src/helloworld.c40
-rw-r--r--arch/all/iconv/copyright.yml2
-rw-r--r--arch/all/iconv/include/iconv.h35
-rw-r--r--arch/all/iconv/src/conv/utf8_to_wchar.c31
-rw-r--r--arch/all/iconv/src/conv/wchar_to_utf8.c31
-rw-r--r--arch/all/iconv/src/iconv.c31
-rw-r--r--arch/all/iconv/src/open.c31
-rw-r--r--arch/all/iconv/src/routes.c31
-rw-r--r--arch/all/math/copyright.yml2
-rw-r--r--arch/all/math/include/math.h31
-rw-r--r--arch/all/math/include/mathf.h31
-rw-r--r--arch/all/stdcocorico/copyright.yml4
-rw-r--r--arch/all/stdcocorico/include/stdcocorico.h31
-rw-r--r--arch/casiowin/README.md2
-rw-r--r--arch/casiowin/core-crt/copyright.yml2
-rw-r--r--arch/casiowin/core-crt/src/crt0.c31
-rw-r--r--arch/casiowin/core/bits/time.h31
-rw-r--r--arch/casiowin/core/copyright.yml2
-rw-r--r--arch/casiowin/core/src/assert/assert.c31
-rw-r--r--arch/casiowin/easy-grayscales/copyright.yml2
-rw-r--r--arch/casiowin/easy-grayscales/include/draw.h31
-rw-r--r--arch/casiowin/easy-grayscales/include/gray.h31
-rw-r--r--arch/casiowin/easy-input/copyright.yml4
-rw-r--r--arch/casiowin/easy-input/include/EasyInput.h31
-rw-r--r--arch/casiowin/easy-input/src/main.c31
-rw-r--r--arch/casiowin/fxlib/copyright.yml2
l---------arch/casiowin/fxlib/docs1
-rw-r--r--arch/casiowin/fxlib/include/commbios.h31
-rw-r--r--arch/casiowin/fxlib/include/dispbios.h31
-rw-r--r--arch/casiowin/fxlib/include/filebios.h31
-rw-r--r--arch/casiowin/fxlib/include/fxlib.h31
-rw-r--r--arch/casiowin/fxlib/include/fxlib/app.h31
-rw-r--r--arch/casiowin/fxlib/include/fxlib/battery.h31
-rw-r--r--arch/casiowin/fxlib/include/fxlib/bcd.h31
-rw-r--r--arch/casiowin/fxlib/include/fxlib/cdefs.h31
-rw-r--r--arch/casiowin/fxlib/include/fxlib/clock.h31
-rw-r--r--arch/casiowin/fxlib/include/fxlib/comm.h31
-rw-r--r--arch/casiowin/fxlib/include/fxlib/display.h31
-rw-r--r--arch/casiowin/fxlib/include/fxlib/file.h31
-rw-r--r--arch/casiowin/fxlib/include/fxlib/keyboard.h31
-rw-r--r--arch/casiowin/fxlib/include/fxlib/serial.h31
-rw-r--r--arch/casiowin/fxlib/include/fxlib/syscall.h31
-rw-r--r--arch/casiowin/fxlib/include/fxlib/timer.h31
-rw-r--r--arch/casiowin/fxlib/include/keybios.h31
-rw-r--r--arch/casiowin/fxlib/include/timer.h31
-rw-r--r--arch/casiowin/fxlib/src/dirent/error.c31
-rw-r--r--arch/casiowin/fxlib/src/dirent/open.c31
-rw-r--r--arch/casiowin/fxlib/src/file/sdk.c31
-rw-r--r--arch/casiowin/fxlib/src/syscall.h2
-rw-r--r--arch/casiowin/fxlib/src/timer/sdk.c31
-rw-r--r--arch/casiowin/g1a.ld (renamed from arch/casiowin/application.ld)0
-rw-r--r--arch/casiowin/info.yml7
-rw-r--r--arch/casiowin/libfxsys/copyright.yml2
-rw-r--r--arch/casiowin/libfxsys/include/app.h31
-rw-r--r--arch/casiowin/libfxsys/include/asm.h31
-rw-r--r--arch/casiowin/libfxsys/include/disp.h31
-rw-r--r--arch/casiowin/libfxsys/include/file.h31
-rw-r--r--arch/casiowin/libfxsys/include/key.h31
-rw-r--r--arch/casiowin/libfxsys/include/keycodes.h31
-rw-r--r--arch/casiowin/libfxsys/include/official.h31
-rw-r--r--arch/casiowin/libfxsys/include/print.h31
-rw-r--r--arch/casiowin/libfxsys/include/rtc.h31
-rw-r--r--arch/casiowin/libfxsys/include/syscall.h31
-rw-r--r--arch/casiowin/monochromelib/copyright.yml2
l---------arch/casiowin/monochromelib/docs1
-rw-r--r--arch/casiowin/monochromelib/include/MonochromeLib.h31
-rw-r--r--arch/casiowin/monochromelib/include/monochrome.h31
-rw-r--r--arch/casiowin/monochromelib/src/bmp_16_and.c31
-rw-r--r--arch/casiowin/monochromelib/src/bmp_16_and_cl.c31
-rw-r--r--arch/casiowin/monochromelib/src/bmp_16_or.c31
-rw-r--r--arch/casiowin/monochromelib/src/bmp_16_or_cl.c31
-rw-r--r--arch/casiowin/monochromelib/src/bmp_16_xor.c31
-rw-r--r--arch/casiowin/monochromelib/src/bmp_16_xor_cl.c31
-rw-r--r--arch/casiowin/monochromelib/src/bmp_8_and.c31
-rw-r--r--arch/casiowin/monochromelib/src/bmp_8_and_cl.c31
-rw-r--r--arch/casiowin/monochromelib/src/bmp_8_or.c31
-rw-r--r--arch/casiowin/monochromelib/src/bmp_8_or_cl.c31
-rw-r--r--arch/casiowin/monochromelib/src/bmp_8_xor.c31
-rw-r--r--arch/casiowin/monochromelib/src/bmp_8_xor_cl.c31
-rw-r--r--arch/casiowin/monochromelib/src/bmp_and.c31
-rw-r--r--arch/casiowin/monochromelib/src/bmp_and_cl.c31
-rw-r--r--arch/casiowin/monochromelib/src/bmp_or.c31
-rw-r--r--arch/casiowin/monochromelib/src/bmp_or_cl.c31
-rw-r--r--arch/casiowin/monochromelib/src/bmp_xor.c31
-rw-r--r--arch/casiowin/monochromelib/src/bmp_xor_cl.c31
-rw-r--r--arch/casiowin/monochromelib/src/circle.c31
-rw-r--r--arch/casiowin/monochromelib/src/clear_screen.c31
-rw-r--r--arch/casiowin/monochromelib/src/clear_vram.c31
-rw-r--r--arch/casiowin/monochromelib/src/display_vram.c31
-rw-r--r--arch/casiowin/monochromelib/src/ellipse.c31
-rw-r--r--arch/casiowin/monochromelib/src/ellipse_in_rect.c31
-rw-r--r--arch/casiowin/monochromelib/src/filled_circle.c31
-rw-r--r--arch/casiowin/monochromelib/src/filled_ellipse.c31
-rw-r--r--arch/casiowin/monochromelib/src/filled_ellipse_in_rect.c31
-rw-r--r--arch/casiowin/monochromelib/src/filled_polygon.c31
-rw-r--r--arch/casiowin/monochromelib/src/get_contrast.c31
-rw-r--r--arch/casiowin/monochromelib/src/horizontal_line.c31
-rw-r--r--arch/casiowin/monochromelib/src/horizontal_scroll.c31
-rw-r--r--arch/casiowin/monochromelib/src/line.c31
-rw-r--r--arch/casiowin/monochromelib/src/pixel.c31
-rw-r--r--arch/casiowin/monochromelib/src/pixel_test.c31
-rw-r--r--arch/casiowin/monochromelib/src/point.c31
-rw-r--r--arch/casiowin/monochromelib/src/polygon.c31
-rw-r--r--arch/casiowin/monochromelib/src/rectangle.c31
-rw-r--r--arch/casiowin/monochromelib/src/set_contrast.c31
-rw-r--r--arch/casiowin/monochromelib/src/vertical_line.c31
-rw-r--r--arch/casiowin/monochromelib/src/vertical_scroll.c31
-rw-r--r--arch/casiowin/monochromelib/src/vram_adress.c31
-rw-r--r--arch/casiowin/revolutionfx/copyright.yml2
-rw-r--r--arch/casiowin/revolutionfx/include/revolution.h31
-rw-r--r--copyright.yml2
-rw-r--r--docs/authors.en.md8
-rw-r--r--docs/casiowin/fxlib/display.md (renamed from arch/casiowin/fxlib/doc/display.md)0
-rw-r--r--docs/casiowin/fxlib/draw.en.md135
-rw-r--r--docs/casiowin/fxlib/index.en.md48
-rw-r--r--docs/casiowin/fxlib/vram.en.md4
-rw-r--r--docs/casiowin/index.en.md24
-rw-r--r--docs/casiowin/monochromelib/bmp.en.md5
-rw-r--r--docs/casiowin/monochromelib/draw.en.md4
-rw-r--r--docs/casiowin/monochromelib/index.en.md20
-rw-r--r--docs/casiowin/monochromelib/screen.en.md34
-rw-r--r--docs/casiowin/monochromelib/vram.en.md72
-rw-r--r--docs/coding.en.md11
-rw-r--r--docs/contributing.en.md (renamed from CONTRIBUTING.md)51
-rw-r--r--docs/formats.en.md (renamed from FORMATS.md)56
-rw-r--r--docs/index.en.md43
-rw-r--r--docs/licensing.en.md65
-rw-r--r--docs/todo.en.md (renamed from TODO.md)4
-rw-r--r--docs/using.en.md66
-rw-r--r--requirements.txt1
-rwxr-xr-xtools/Internals/__init__.py2
-rw-r--r--tools/Internals/arch.py46
-rw-r--r--tools/Internals/cache.py2
-rwxr-xr-xtools/Internals/exceptions.py27
-rw-r--r--tools/Internals/headers/manager.py3
-rw-r--r--tools/Internals/headers/output.py6
-rw-r--r--tools/Internals/headers/parse.py29
-rw-r--r--tools/Internals/locales/en_US.yml2
-rw-r--r--tools/Internals/locales/fr_FR.yml9
-rwxr-xr-xtools/Internals/tools/__init__.py205
-rwxr-xr-xtools/Internals/tools/gnu_ar.py2
-rwxr-xr-xtools/Internals/tools/gnu_as.py2
-rwxr-xr-xtools/Internals/tools/gnu_gcc.py3
-rwxr-xr-xtools/Internals/tools/renesas_asmsh.py4
-rwxr-xr-xtools/Internals/tools/renesas_optlnk.py2
-rwxr-xr-xtools/Internals/tools/renesas_shc.py5
-rwxr-xr-xtools/Internals/tools/utils/bfd.py2
-rw-r--r--tools/Internals/topc.py48
-rwxr-xr-xtools/configure.py31
-rwxr-xr-xtools/getcopyright.py2
-rwxr-xr-xtools/make.py3
282 files changed, 4801 insertions, 2912 deletions
diff --git a/AUTHORS.md b/AUTHORS.md
deleted file mode 100644
index 4f93f5b..0000000
--- a/AUTHORS.md
+++ /dev/null
@@ -1,13 +0,0 @@
-# libcarrot authors and maintainers
-This version ("the upstream") version of libcarrot is maintained by
-Thomas "Cakeisalie5" Touhey <<thomas@touhey.fr>>.
-
-Each file belongs to its authors.
-
-Aside from the standards the projects aims at being compliant with,
-parts are adapted, or are rewritten to be compatible with:
-
-- Hitachi/Renesas C/C++ environment headers;
-- the GNU C library;
-- Andreas Bertheussen's libfxsys for some tips;
-- gint, a general library for the CASIO fx-9860G.
diff --git a/CODING.md b/CODING.md
deleted file mode 100644
index 7c77d6d..0000000
--- a/CODING.md
+++ /dev/null
@@ -1,10 +0,0 @@
-# libcarrot coding style
-## Introduction
-This coding style is the one the libcarrot project uses -- see `CONTRIBUTING.md`
-for a more general guide about how to contribute, or the rest of this guide
-for how to code in this project.
-
-This file is to re-write (TODO), as many things have been rethought
-(top comments are now generated, the super-preprocessor has been
-introducted with include guards, many macros for internal use such as `_OF`
-have to be used, and stuff).
diff --git a/LICENSE.md b/LICENSE.md
index 081cece..443caa7 100644
--- a/LICENSE.md
+++ b/LICENSE.md
@@ -1,3 +1,3 @@
# libcarrot license
-libcarrot is made of symbols with different licenses.
-This will be clarified in a short amount of time.
+All of the files do not belong to the same people/organizations, and are not
+covered by the same licenses, see `docs/licensing.en.md` for more details.
diff --git a/README.md b/README.md
index 6b938b3..65605aa 100644
--- a/README.md
+++ b/README.md
@@ -1,90 +1,5 @@
# libcarrot - an experimental and modular libc for learning
-## Introduction
+The description of this project has moved to the `docs/` folder, with the
+other documentation files. You can also check out [the official website][web]!
-Although originally made to replace CASIO's fxlib under Linux, libcarrot has
-now become a more global static standard library for C and C++, originally
-targetting the SuperH/J-Core platform, with extensions for the CASIO fx-9860G,
-but now aiming to have extensions for more platforms and languages.
-
-The library aims at being compatible with the ISO C and C++ standards,
-POSIX/Single Unix Specification, other standards the GNU C library supports,
-and at being usable with several compilers such as Hitachi/Renesas' C/C++
-compiler (SHC), the GNU Compiler Collection (GCC), the Small Device C Compiler
-(SDCC), IBM's XL C/C++ Compiler (XLC), and many more!
-
-It is organized using modules, regrouped by platform, e.g. `linux` or `win32`.
-When compiling for a platform, modules will be taken from `all` (common to
-all platforms), from your platform's folder, and eventually from others that
-are compatible. You can add some additional modules on top of that for
-non-essential features or compatibility with some exotic programs.
-
-## Setting it all up
-### Requirements
-
-You will need Python 3.x to run the build tool, with the following modules
-(you should install them using `pip`):
-- `PyYAML` (YAML file parser).
-
-Other dependencies are optional, and should be tipped off by this tool.
-Here are the toolchains you can use:
-- the GNU toolchain: `sh3eb-elf-gcc`, `sh3eb-elf-as`, `sh3eb-elf-as`;
-- the Renesas toolchain: `shc.exe`, `asmsh.exe`, `LnkSpawn.exe`.
-
-### Configuring
-
-The project uses the Unix style of building, which means you shall first
-configure with the options that suit you, then make (build), then install,
-in three different commands. On Unix-like OSes, this can be achieved using
-the famous `./configure && make && sudo make install` bash command; but I'll
-suppose you want to go a little deeper into its options.
-
-The 'real' configure script is in `tool/configure.py`, though it can be
-accessed under Unix-like OSes through the `configure` bash script and under
-Microsoft Windows' command shell through the `configure.bat` script,
-for simplicity. `-h`/`--help` prints the help message, listing the options
-and a little help message, `-v`/`--version` prints the project version.
-
-libcarrot can build for several targets, which combine platforms and
-architectures:
-
-- an architecture represents the hardware (or hardware emulation layer) on
-which the code will run, more specifically the processor. For example,
-the Intel i686 microprocessor, or the SuperH Core 3 (SH3);
-- a platform represents the software on which the C library is running,
-generally the kernel, like the Linux kernel (`linux`) or CASIOWIN (the
-OS CASIO uses on its graphing calculators).
-
-To select the target, you shall use the `--target` option with the value
-being the architecture then the platform, separated with a dash, e.g.
-`sh3-casiowin` for CASIOWIN on a SuperH Core 3 microprocessor.
-
-You can also select the programming languages libcarrot shall support with
-the `--languages` option, with the languages being separated with commas,
-for example, `--languages=c,c++`. libcarrot currently only supports C.
-
-In addition to this, there is the `--add` option to add additional modules
-to the usual selected one. For example, if you're allowing yourself some
-fantasy, you can add the `all/stdcocorico` module, which will add the
-joke `stdcocorico.h` header to your programs so you can code in a french
-C or C++ dialect.
-
-Once you've fiddled with the configure options, you can select the
-installation directories and options! (TODO: document these once they're ready)
-
-### Building and installing
-
-Once the project is configured, you can `make` under UNIX-like OSes,
-`make.bat` under Microsft Windows (using the command shell), or
-`tools/make.py` on any other platform.
-
-There are actually a few other commands you can do with `make`, such as
-`clean` to remove generated files (excepted the configuration),
-`mrproper` or `distclean` to remove everything (including the configuration),
-`re` to remake everything (expected the configuration).
-
-To install the library, use `make install`.
-
-## Contributing
-
-Advanced instructions for what to do, how to do it and stuff, start in the
-`CONTRIBUTING.md` file!
+[web]: https://libcarrot.touhey.fr/
diff --git a/arch/all/compiler-gcc/bits/alloca.h b/arch/all/compiler-gcc/bits/alloca.h
index 15efc96..c26edc7 100644
--- a/arch/all/compiler-gcc/bits/alloca.h
+++ b/arch/all/compiler-gcc/bits/alloca.h
@@ -1,23 +1,32 @@
/* ****************************************************************************
* alloca.h -- Static allocation for GCC.
- *
* Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'all/compiler-gcc' module in libcarrot, an
* experimental modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
/* GCC has a built-in for this! */
diff --git a/arch/all/compiler-gcc/bits/compiler.h b/arch/all/compiler-gcc/bits/compiler.h
index 6074909..508da83 100644
--- a/arch/all/compiler-gcc/bits/compiler.h
+++ b/arch/all/compiler-gcc/bits/compiler.h
@@ -1,28 +1,35 @@
/* ****************************************************************************
* compiler.h -- GCC identification macros.
- *
* Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'all/compiler-gcc' module in libcarrot, an
* experimental modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
-/* ************************************************************************* */
-/* Detection and version checking */
-/* ************************************************************************* */
-/* This macro is taken from the GNU C library.
+/* Detection and version checking:
+ * This macro is taken from the GNU C library.
* Actually, some other compilers define the GCC-specific macros too, but as
* they provide the same features (XXX: sure, ICC?), we shouldn't care. */
@@ -35,10 +42,8 @@
#else
# define __GNUC_PREREQ(_MAJ, _MIN) 0
#endif
-/* ************************************************************************* */
-/* Inline assembly */
-/* ************************************************************************* */
-/* Check if GCC extensions are on. */
+
+/* Inline assembly: check if GCC extensions are on. */
#if defined(__GNUC_ASM)
# undef __GNUC_ASM
@@ -56,11 +61,9 @@
#else
# define __GNUC_ASM 0
#endif
-/* ************************************************************************* */
-/* Attributes */
-/* ************************************************************************* */
-/* A lot of attributes come from GCC, so you guessed it, there is going to be
- * a lot. */
+
+/* Attributes: a lot of attributes come from GCC, so you guessed it, there
+ * is going to be a lot of definitions here. */
#if __GNUC_PREREQ(1, 0)
# define __inline __attribute__((always_inline, unused))
@@ -76,19 +79,15 @@
# define __printf_format(_FORMAT_INDEX, _ARGS_INDEX) \
__attribute__((format(printf, _FORMAT_INDEX, _ARGS_INDEX)))
#endif
-/* ************************************************************************* */
-/* Utilities */
-/* ************************************************************************* */
+
/* Optimize the conditions for a likely or unlikely condition. */
#if __GNUC_PREREQ(2, 96)
# define likely(_COND) __builtin_expect(!!(_COND), 1)
# define unlikely(_COND) __builtin_expect(!!(_COND), 0)
#endif
-/* ************************************************************************* */
-/* SuperH CPU architecture-guessing */
-/* ************************************************************************* */
-/* Try to guess the CPU from the vague GCC macros. */
+
+/* Try to guess the SuperH CPU from the vague GCC macros. */
#if __GNUC_PREREQ(1, 0)
/* Detect the CPU type.
@@ -129,11 +128,9 @@
# define _SH
# endif
#endif
-/* ************************************************************************* */
-/* SuperH DSP-C interface */
-/* ************************************************************************* */
-/* Then, try to check if the N1169 draft extension is enabled, so we can
- * use it as the fixed-point thingies. */
+
+/* SuperH DSP-C Interface: try to check if the N1169 draft extension is
+ * enabled, so we can use it as the fixed-point thingies. */
#if __GNUC_PREREQ(1, 0) && defined(_SH)
# if defined(__FRACT_FBIT__) && !defined(__STRICT_ANSI__)
diff --git a/arch/all/compiler-gcc/bits/endian.h b/arch/all/compiler-gcc/bits/endian.h
index cabdb0a..41318ea 100644
--- a/arch/all/compiler-gcc/bits/endian.h
+++ b/arch/all/compiler-gcc/bits/endian.h
@@ -1,23 +1,32 @@
/* ****************************************************************************
* endian.h -- Endianness identification for GCC.
- *
* Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'all/compiler-gcc' module in libcarrot, an
* experimental modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
/* GCC defines the `__BYTE_ORDER__` variable, along with the
* `__ORDER_LITTLE_ENDIAN__`, `__ORDER_BIG_ENDIAN__` and
diff --git a/arch/all/compiler-gcc/bits/stdarg.h b/arch/all/compiler-gcc/bits/stdarg.h
index b068d44..12cff17 100644
--- a/arch/all/compiler-gcc/bits/stdarg.h
+++ b/arch/all/compiler-gcc/bits/stdarg.h
@@ -1,23 +1,32 @@
/* ****************************************************************************
* stdarg.h -- Variable argument list management for GCC.
- *
* Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'all/compiler-gcc' module in libcarrot, an
* experimental modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
/* GCC provides built-ins to make the variable argument list implementation
* easier. */
diff --git a/arch/all/compiler-gcc/bits/types/exact.h b/arch/all/compiler-gcc/bits/types/exact.h
index 622f139..e60fd5e 100644
--- a/arch/all/compiler-gcc/bits/types/exact.h
+++ b/arch/all/compiler-gcc/bits/types/exact.h
@@ -1,23 +1,32 @@
/* ****************************************************************************
* types/exact.h -- Exact-width integer types for GCC.
- *
* Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'all/compiler-gcc' module in libcarrot, an
* experimental modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
typedef __INT8_TYPE__ __int8_t;
typedef __UINT8_TYPE__ __uint8_t;
diff --git a/arch/all/compiler-gcc/bits/types/fast.h b/arch/all/compiler-gcc/bits/types/fast.h
index 1d9b83a..cd3be82 100644
--- a/arch/all/compiler-gcc/bits/types/fast.h
+++ b/arch/all/compiler-gcc/bits/types/fast.h
@@ -1,23 +1,32 @@
/* ****************************************************************************
* types/fast.h -- Fastest-width integer types for GCC.
- *
* Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'all/compiler-gcc' module in libcarrot, an
* experimental modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
typedef __int32_t __int_fast8_t;
typedef __uint32_t __uint_fast8_t;
diff --git a/arch/all/compiler-gcc/bits/types/least.h b/arch/all/compiler-gcc/bits/types/least.h
index 5a9f6d1..cf5196b 100644
--- a/arch/all/compiler-gcc/bits/types/least.h
+++ b/arch/all/compiler-gcc/bits/types/least.h
@@ -1,23 +1,32 @@
/* ****************************************************************************
* types/least.h -- Least-width integer types for GCC.
- *
* Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'all/compiler-gcc' module in libcarrot, an
* experimental modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
typedef __int8_t __int_least8_t;
typedef __uint8_t __uint_least8_t;
diff --git a/arch/all/compiler-gcc/bits/types/max.h b/arch/all/compiler-gcc/bits/types/max.h
index 64299c9..29377f4 100644
--- a/arch/all/compiler-gcc/bits/types/max.h
+++ b/arch/all/compiler-gcc/bits/types/max.h
@@ -1,23 +1,32 @@
/* ****************************************************************************
* types/max.h -- Maximum width integer types for GCC.
- *
* Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'all/compiler-gcc' module in libcarrot, an
* experimental modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
typedef __int32_t __intmax_t;
typedef __uint32_t __uintmax_t;
diff --git a/arch/all/compiler-gcc/bits/types/primitive.h b/arch/all/compiler-gcc/bits/types/primitive.h
index 38d2411..87350a6 100644
--- a/arch/all/compiler-gcc/bits/types/primitive.h
+++ b/arch/all/compiler-gcc/bits/types/primitive.h
@@ -1,23 +1,32 @@
/* ****************************************************************************
* types/primitive.h -- Information about the primitive types for GCC.
- *
* Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'all/compiler-gcc' module in libcarrot, an
* experimental modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
/* Char type. */
diff --git a/arch/all/compiler-gcc/bits/types/ptr.h b/arch/all/compiler-gcc/bits/types/ptr.h
index 916803c..00eade1 100644
--- a/arch/all/compiler-gcc/bits/types/ptr.h
+++ b/arch/all/compiler-gcc/bits/types/ptr.h
@@ -1,23 +1,32 @@
/* ****************************************************************************
* types/ptr.h -- Pointer type in GCC.
- *
* Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'all/compiler-gcc' module in libcarrot, an
* experimental modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
typedef __int32_t __intptr_t;
typedef __uint32_t __uintptr_t;
diff --git a/arch/all/compiler-gcc/copyright.yml b/arch/all/compiler-gcc/copyright.yml
index b9cb33b..f4d127d 100644
--- a/arch/all/compiler-gcc/copyright.yml
+++ b/arch/all/compiler-gcc/copyright.yml
@@ -3,4 +3,4 @@
files: '*'
copyright:
- [2017, Thomas "Cakeisalie5" Touhey, thomas@touhey.fr]
-license: LGPL-3
+license: free
diff --git a/arch/all/compiler-renesas/bits/compiler.h b/arch/all/compiler-renesas/bits/compiler.h
index 591e36e..7b486a5 100644
--- a/arch/all/compiler-renesas/bits/compiler.h
+++ b/arch/all/compiler-renesas/bits/compiler.h
@@ -1,23 +1,32 @@
/* ****************************************************************************
* compiler.h -- SHC identification macros.
- *
* Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'all/compiler-renesas' module in libcarrot, an
* experimental modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
/* Identify the compiler. */
#if !defined(__HITACHI__)
diff --git a/arch/all/compiler-renesas/bits/endian.h b/arch/all/compiler-renesas/bits/endian.h
index cdbdc40..40bf3d6 100644
--- a/arch/all/compiler-renesas/bits/endian.h
+++ b/arch/all/compiler-renesas/bits/endian.h
@@ -1,23 +1,32 @@
/* ****************************************************************************
* endian.h -- Endianness identification for SHC.
- *
* Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'all/compiler-renesas' module in libcarrot, an
* experimental modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
/* Renesas' SuperH compiler defines the `_LIT` or `_BIG` macros
* if it's configured for little or big endian. */
diff --git a/arch/all/compiler-renesas/bits/stdarg.h b/arch/all/compiler-renesas/bits/stdarg.h
index cb00c8e..1c8d9c3 100644
--- a/arch/all/compiler-renesas/bits/stdarg.h
+++ b/arch/all/compiler-renesas/bits/stdarg.h
@@ -1,23 +1,32 @@
/* ****************************************************************************
* stdarg.h -- Variable argument list management for SHC.
- *
* Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'all/compiler-renesas' module in libcarrot, an
* experimental modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
typedef char* __va_list;
diff --git a/arch/all/compiler-renesas/bits/types/exact.h b/arch/all/compiler-renesas/bits/types/exact.h
index 253acfd..b1eed22 100644
--- a/arch/all/compiler-renesas/bits/types/exact.h
+++ b/arch/all/compiler-renesas/bits/types/exact.h
@@ -1,23 +1,32 @@
/* ****************************************************************************
* types/exact.h -- Exact-width integer types for SHC.
- *
* Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'all/compiler-renesas' module in libcarrot, an
* experimental modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
typedef signed char __int8_t;
typedef unsigned char __uint8_t;
diff --git a/arch/all/compiler-renesas/bits/types/fast.h b/arch/all/compiler-renesas/bits/types/fast.h
index 2383043..13aeffd 100644
--- a/arch/all/compiler-renesas/bits/types/fast.h
+++ b/arch/all/compiler-renesas/bits/types/fast.h
@@ -1,23 +1,32 @@
/* ****************************************************************************
* types/fast.h -- Fastest-width integer types for SHC.
- *
* Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'all/compiler-renesas' module in libcarrot, an
* experimental modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
typedef __int32_t __int_fast8_t;
typedef __uint32_t __uint_fast8_t;
diff --git a/arch/all/compiler-renesas/bits/types/float.h b/arch/all/compiler-renesas/bits/types/float.h
index 92be026..98b703b 100644
--- a/arch/all/compiler-renesas/bits/types/float.h
+++ b/arch/all/compiler-renesas/bits/types/float.h
@@ -1,23 +1,32 @@
/* ****************************************************************************
* types/float.h -- Floating-point types information for SHC.
- *
* Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'all/compiler-renesas' module in libcarrot, an
* experimental modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#if defined(_FPD)
# define __FLOAT_DOUBLE 1
diff --git a/arch/all/compiler-renesas/bits/types/least.h b/arch/all/compiler-renesas/bits/types/least.h
index fe7ee89..c29f3ff 100644
--- a/arch/all/compiler-renesas/bits/types/least.h
+++ b/arch/all/compiler-renesas/bits/types/least.h
@@ -1,23 +1,32 @@
/* ****************************************************************************
* types/least.h -- Least-width integer types for SHC.
- *
* Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'all/compiler-renesas' module in libcarrot, an
* experimental modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
typedef __int8_t __int_least8_t;
typedef __uint8_t __uint_least8_t;
diff --git a/arch/all/compiler-renesas/bits/types/max.h b/arch/all/compiler-renesas/bits/types/max.h
index e1d2549..417e6f9 100644
--- a/arch/all/compiler-renesas/bits/types/max.h
+++ b/arch/all/compiler-renesas/bits/types/max.h
@@ -1,23 +1,32 @@
/* ****************************************************************************
* types/max.h -- Maximum width integer types for SHC.
- *
* Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'all/compiler-renesas' module in libcarrot, an
* experimental modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
typedef __int32_t __intmax_t;
typedef __uint32_t __uintmax_t;
diff --git a/arch/all/compiler-renesas/bits/types/primitive.h b/arch/all/compiler-renesas/bits/types/primitive.h
index 3fbeb58..a967c06 100644
--- a/arch/all/compiler-renesas/bits/types/primitive.h
+++ b/arch/all/compiler-renesas/bits/types/primitive.h
@@ -1,23 +1,32 @@
/* ****************************************************************************
* types/primitive.h -- Information about the primitive types for SHC.
- *
* Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'all/compiler-renesas' module in libcarrot, an
* experimental modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#define __CHAR_BIT ( 8)
#define __CHAR_IS_SIGNED 1
diff --git a/arch/all/compiler-renesas/bits/types/ptr.h b/arch/all/compiler-renesas/bits/types/ptr.h
index 8fcea0c..b99d71e 100644
--- a/arch/all/compiler-renesas/bits/types/ptr.h
+++ b/arch/all/compiler-renesas/bits/types/ptr.h
@@ -1,23 +1,32 @@
/* ****************************************************************************
* types/ptr.h -- Pointer type in SHC.
- *
* Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'all/compiler-renesas' module in libcarrot, an
* experimental modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
typedef __int32_t __intptr_t;
typedef __uint32_t __uintptr_t;
diff --git a/arch/all/compiler-renesas/copyright.yml b/arch/all/compiler-renesas/copyright.yml
index b9cb33b..f4d127d 100644
--- a/arch/all/compiler-renesas/copyright.yml
+++ b/arch/all/compiler-renesas/copyright.yml
@@ -3,4 +3,4 @@
files: '*'
copyright:
- [2017, Thomas "Cakeisalie5" Touhey, thomas@touhey.fr]
-license: LGPL-3
+license: free
diff --git a/arch/all/compiler-renesas/info.yml b/arch/all/compiler-renesas/info.yml
index 2302179..1b876b1 100644
--- a/arch/all/compiler-renesas/info.yml
+++ b/arch/all/compiler-renesas/info.yml
@@ -5,3 +5,4 @@ description: Compiler bit headers for Renesas C/C++ compiler.
requires:
compiler:
- ['Renesas', 'SHC']
+ - ['Hitachi', 'SHC']
diff --git a/arch/all/compiler-sdcc/README.md b/arch/all/compiler-sdcc/README.md
deleted file mode 100644
index 4b2d750..0000000
--- a/arch/all/compiler-sdcc/README.md
+++ /dev/null
@@ -1,6 +0,0 @@
-# Small Device C Compiler
-Because of GNU not supporting the tiny targets, someone made a compiler that
-used adapted versions of the GNU binutils, and managed small targets not a lot
-of GPL'd compilers did manage.
-
-This module provides the header bits for this compiler.
diff --git a/arch/all/compiler-sdcc/bits/compiler.h b/arch/all/compiler-sdcc/bits/compiler.h
deleted file mode 100644
index 6916bdf..0000000
--- a/arch/all/compiler-sdcc/bits/compiler.h
+++ /dev/null
@@ -1,44 +0,0 @@
-/* ****************************************************************************
- * compiler.h -- SDCC identification macros.
- *
- * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
- *
- * This file is part of the 'all/compiler-sdcc' module in libcarrot, an
- * experimental modular libc project.
- *
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
- *
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
- * ************************************************************************* */
-#if defined(SDCC) && !defined(__SDCC)
-# define __SDCC SDCC
-#endif
-#if !defined(__SDCC)
-# error "This header should only be used with SDCC!"
-#endif
-
-/* For detection and version checking, SDCC provides the `SDCC` macro in
- * legacy versions, or `__SDCC` otherwise.
- *
- * If `__SDCC_VERSION_MAJOR` and `__SDCC_VERSION_MINOR` are defined,
- * they should be used.
- * Otherwise, both macros should be of the decimal MMmm format,
- * where `MM` is the major and `mm` the minor. */
-
-#if defined(__SDCC_VERSION_MAJOR) && defined(__SDCC_VERSION_MINOR)
-# define __SDCC_PREREQ(_MAJ, _MIN) \
- ((_MAJ) > __SDCC_VERSION_MAJOR || ((_MAJ) == __SDCC_VERSION_MAJOR \
- && (_MIN) >= __SDCC_VERSION_MINOR))
-#elif defined(__SDCC)
-# define __SDCC_PREREQ(_MAJ, _MIN) \
- (__SDCC >= ((_MAJ) * 100) + ((_MIN) * 10))
-#endif
diff --git a/arch/all/compiler-sdcc/bits/endian.h b/arch/all/compiler-sdcc/bits/endian.h
deleted file mode 100644
index aa7ad45..0000000
--- a/arch/all/compiler-sdcc/bits/endian.h
+++ /dev/null
@@ -1,29 +0,0 @@
-/* ****************************************************************************
- * endian.h -- Endianness identification for SDCC.
- *
- * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
- *
- * This file is part of the 'all/compiler-sdcc' module in libcarrot, an
- * experimental modular libc project.
- *
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
- *
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
- * ************************************************************************* */
-/* FIXME: isn't correspond to some architectures, if people are interested
- * in this and have the time, they should contribute here. */
-
-#if defined(__SDCC_z80) || defined(__SDCC_z180)
-# define __BYTE_ORDER __BIG_ENDIAN
-#else
-# define __BYTE_ORDER __LITTLE_ENDIAN
-#endif
diff --git a/arch/all/compiler-sdcc/bits/stdarg.h b/arch/all/compiler-sdcc/bits/stdarg.h
deleted file mode 100644
index 766f0a3..0000000
--- a/arch/all/compiler-sdcc/bits/stdarg.h
+++ /dev/null
@@ -1,72 +0,0 @@
-/* ****************************************************************************
- * stdarg.h -- Variable argument list management for SDCC.
- *
- * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
- *
- * This file is part of the 'all/compiler-sdcc' module in libcarrot, an
- * experimental modular libc project.
- *
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
- *
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
- * ************************************************************************* */
-/* ************************************************************************* */
-/* Upwards and downwards `__va_start` and `__va_arg` versions. */
-/* ************************************************************************* */
-/* Start a list. */
-#define __va_start_up(_AP, _PARAM) \
- { _AP = (va_list)&_PARAM + sizeof(_PARAM); }
-#define __va_start_dn(_AP, _PARAM) \
- { _AP = (va_list)&_PARAM; }
-
-/* Get an argument. */
-#define __va_arg_up(_AP, _TYPE) \
- *((_TYPE __va_attr*)((_AP += sizeof(_TYPE)) - sizeof(_TYPE)))
-#define __va_arg_dn(_AP, _TYPE) \
- *((_TYPE __va_attr*)(_AP -= sizeof(_TYPE)))
-/* ************************************************************************* */
-/* Target-specific elements */
-/* ************************************************************************* */
-/* Target-specific elements */
-#if defined(__SDCC_z80) || defined(__SDCC_z180) || defined(__SDCC_r2k) \
- || defined(__SDCC_r3ka) || defined(__SDCC_tlcs90) \
- || defined(__SDCC_gbz80) || defined(__SDCC_hc08) || defined(__SDCC_s08) \
- || defined(__SDCC_stm8)
-# define __va_attr /* no attribute for these architectures! */
-# define __stdarg_va_start __va_start_up
-# define __stdarg_va_arg __va_arg_up
-
-#elif defined(__SDCC_ds390) || defined(__SDCC_ds400)
-# define __va_attr /* no attribute for these architectures! */
-# define __stdarg_va_start __va_start_dn
-# define __stdarg_va_arg __va_arg_dn
-
-#elif defined(__SDCC_USE_XSTACK)
-# define __va_attr __pdata
-# define __stdarg_va_start __va_start_dn
-# define __stdarg_va_arg __va_arg_dn
-
-#else /* other cases */
-# define __va_attr __data
-# define __stdarg_va_start __va_start_dn
-# define __stdarg_va_arg __va_arg_dn
-
-#endif
-/* ************************************************************************* */
-/* Define the other elements. */
-/* ************************************************************************* */
-/* Define the `__va_list` type. */
-typedef unsigned char __va_attr* __va_list;
-
-/* Define the common macros. */
-#define __stdarg_va_end(_AP) (void)(_AP = NULL)
-#define __stdarg_va_copy(_D, _S) (void)(_D = _S)
diff --git a/arch/all/compiler-sdcc/bits/types/primitive.h b/arch/all/compiler-sdcc/bits/types/primitive.h
deleted file mode 100644
index 612fc7f..0000000
--- a/arch/all/compiler-sdcc/bits/types/primitive.h
+++ /dev/null
@@ -1,63 +0,0 @@
-/* ****************************************************************************
- * types/primitive.h -- (unknown role)
- *
- * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
- *
- * This file is part of the 'all/compiler-sdcc' module in libcarrot, an
- * experimental modular libc project.
- *
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
- *
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
- * ************************************************************************* */
-/* Char type. */
-
-# define __CHAR_BIT 128
-# define __CHAR_IS_SIGNED 1
-
-# define __CHAR_WIDTH 8
-# define __CHAR_MIN (-127 - 1)
-# define __CHAR_MAX (+127)
-# define __UCHAR_MIN (0U)
-# define __UCHAR_MAX (255U)
-
-/* Short type. */
-
-# define __SHRT_WIDTH 16
-# define __SHRT_MIN (-32767 - 1)
-# define __SHRT_MAX (+32767)
-# define __USHRT_MIN (0U)
-# define __USHRT_MAX (65535U)
-
-/* Int type. */
-
-# define __INT_WIDTH 16
-# define __INT_MIN (-32767 - 1)
-# define __INT_MAX (+32767)
-# define __UINT_MIN (0U)
-# define __UINT_MAX (65535U)
-
-/* Long type. */
-
-# define __LONG_WIDTH 32
-# define __LONG_MIN (-2147483647L - 1L)
-# define __LONG_MAX (+2147483647L)
-# define __ULONG_MIN (0UL)
-# define __ULONG_MAX (4294967295UL)
-
-/* Long long type. */
-
-# define __LLONG_WIDTH 64
-# define __LLONG_MIN (-9223372036854775807LL - 1LL)
-# define __LLONG_MAX (+9223372036854775807LL)
-# define __ULLONG_MIN (0ULL)
-# define __ULLONG_MAX (18446744073709551615ULL)
diff --git a/arch/all/compiler-sdcc/info.yml b/arch/all/compiler-sdcc/info.yml
deleted file mode 100644
index 79f3846..0000000
--- a/arch/all/compiler-sdcc/info.yml
+++ /dev/null
@@ -1,7 +0,0 @@
-%YAML 1.2
----
-magic: potatosdk-1.0
-description: Compiler bit headers for SDCC.
-requires:
- compiler:
- - ['SDCC', 'SDCC']
diff --git a/arch/all/compiler-sdcc/roles.yml b/arch/all/compiler-sdcc/roles.yml
deleted file mode 100644
index 809b408..0000000
--- a/arch/all/compiler-sdcc/roles.yml
+++ /dev/null
@@ -1,4 +0,0 @@
-bits:
- compiler.h: SDCC identification macros.
- endian.h: Endianness identification for SDCC.
- stdarg.h: Variable argument list management for SDCC.
diff --git a/arch/all/compiler-turbo/README.md b/arch/all/compiler-turbo/README.md
deleted file mode 100644
index b31d513..0000000
--- a/arch/all/compiler-turbo/README.md
+++ /dev/null
@@ -1,4 +0,0 @@
-# Turbo C Compiler
-<TODO: compiler history>
-
-This module provides the bits headers for this compiler.
diff --git a/arch/all/compiler-turbo/bits/compiler.h b/arch/all/compiler-turbo/bits/compiler.h
deleted file mode 100644
index 672a5f8..0000000
--- a/arch/all/compiler-turbo/bits/compiler.h
+++ /dev/null
@@ -1,31 +0,0 @@
-/* ****************************************************************************
- * compiler.h -- Turbo C identification macros.
- *
- * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
- *
- * This file is part of the 'all/compiler-turbo' module in libcarrot, an
- * experimental modular libc project.
- *
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
- *
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
- * ************************************************************************* */
-#if !defined(__TURBOC__)
-# error "This header should only be used with the Turbo C Compiler!"
-#endif
-/* ************************************************************************* */
-/* Detection and version checking */
-/* ************************************************************************* */
-/* PCC defines the `__PCC__` and the `__PCC_MINOR__` macros, like GCC. */
-
-#define __TURBOC_PREREQ(_MAJ, _MIN) \
- (__TURBOC__ >= ((_MAJ) << 8) + (_MIN))
diff --git a/arch/all/compiler-turbo/bits/endian.h b/arch/all/compiler-turbo/bits/endian.h
deleted file mode 100644
index 77a5f3e..0000000
--- a/arch/all/compiler-turbo/bits/endian.h
+++ /dev/null
@@ -1,23 +0,0 @@
-/* ****************************************************************************
- * endian.h -- Endianness identification for Turbo C.
- *
- * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
- *
- * This file is part of the 'all/compiler-turbo' module in libcarrot, an
- * experimental modular libc project.
- *
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
- *
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
- * ************************************************************************* */
-/* TODO */
-# error "This file is to write."
diff --git a/arch/all/compiler-turbo/bits/stdarg.h b/arch/all/compiler-turbo/bits/stdarg.h
deleted file mode 100644
index 37f9a20..0000000
--- a/arch/all/compiler-turbo/bits/stdarg.h
+++ /dev/null
@@ -1,32 +0,0 @@
-/* ****************************************************************************
- * stdarg.h -- Variable argument list management for Turbo C.
- *
- * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
- *
- * This file is part of the 'all/compiler-turbo' module in libcarrot, an
- * experimental modular libc project.
- *
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
- *
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
- * ************************************************************************* */
-typedef void *__va_list;
-
-/* Open and close a variable argument list. */
-#define __stdarg_va_start(_AP, _PARAM) (void)(_AP = ...)
-#define __stdarg_va_end(_AP)
-
-/* Obtain an argument from the variable argument list. */
-#define __stdarg_va_arg(_AP) (*((_TYPE*)(_AP))++)
-
-/* Copy a variable argument list. */
-#define __stdarg_va_copy(_D, _S) (void)(_D = _S)
diff --git a/arch/all/compiler-turbo/copyright.yml b/arch/all/compiler-turbo/copyright.yml
deleted file mode 100644
index b9cb33b..0000000
--- a/arch/all/compiler-turbo/copyright.yml
+++ /dev/null
@@ -1,6 +0,0 @@
-%YAML 1.2
----
-files: '*'
-copyright:
-- [2017, Thomas "Cakeisalie5" Touhey, thomas@touhey.fr]
-license: LGPL-3
diff --git a/arch/all/compiler-turbo/info.yml b/arch/all/compiler-turbo/info.yml
deleted file mode 100644
index fcadc18..0000000
--- a/arch/all/compiler-turbo/info.yml
+++ /dev/null
@@ -1,7 +0,0 @@
-%YAML 1.2
----
-magic: potatosdk-1.0
-description: Compiler bit headers for the Turbo C Compiler.
-requires:
- compiler:
- - ['Borland', 'Turbo C']
diff --git a/arch/all/compiler-turbo/roles.yml b/arch/all/compiler-turbo/roles.yml
deleted file mode 100644
index 0cb49de..0000000
--- a/arch/all/compiler-turbo/roles.yml
+++ /dev/null
@@ -1,4 +0,0 @@
-bits:
- compiler.h: Turbo C identification macros.
- endian.h: Endianness identification for Turbo C.
- stdarg.h: Variable argument list management for Turbo C.
diff --git a/arch/all/compiler-xlc/README.md b/arch/all/compiler-xlc/README.md
deleted file mode 100644
index 5023f4a..0000000
--- a/arch/all/compiler-xlc/README.md
+++ /dev/null
@@ -1,5 +0,0 @@
-# IBM XLC Compiler
-XLC is the main C/C++ compiler for the AIX platform. (?)
-
-This module provides the header bits for this compiler.
-They may be a little too approximative, so don't trust them yet.
diff --git a/arch/all/compiler-xlc/bits/compiler.h b/arch/all/compiler-xlc/bits/compiler.h
deleted file mode 100644
index 138d042..0000000
--- a/arch/all/compiler-xlc/bits/compiler.h
+++ /dev/null
@@ -1,53 +0,0 @@
-/* ****************************************************************************
- * compiler.h -- XLC identification macros.
- *
- * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
- *
- * This file is part of the 'all/compiler-xlc' module in libcarrot, an
- * experimental modular libc project.
- *
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
- *
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
- * ************************************************************************* */
-#if !defined(__IBMC__) && !defined(__xlC__)
-# error "This header should only be used with IBM XLC!"
-#endif
-
-/* For detection and version checking, IBM XLC provides the `__IBMC__`,
- * `__xlc__`, `__xlC__` and `__xlC_ver__` macros.
- * `__IBMC__` is probably historical, so it should be checked if no other
- * macro is there. `__xlc__` is unusable for version checking,
- * so I'll be using the other macros.
- *
- * `__IBMC__` is as VRM (in base 10), where V is the version number (major),
- * R is the release number (minor), and M is the modification number (patch?).
- *
- * `__xlc__` is a string of the format "V.R.M.F", where V represents the
- * version number (major), R represents the release number (minor), M
- * represents the modification number and F is the fix level (patch?).
- *
- * `__xlC__` indicates the VR level of the XL compiler version
- * in the 0xVVRR format, where 'VV' represents the version number (major),
- * and 'RR' represents the release number (minor).
- *
- * `__xlC_ver__` indicates the MF level of the XL compiler version
- * in the 0x0000MMFF format, where 'MM' represents the version number,
- * and 'RR' represents the release number. */
-
-#if defined(__xlC__)
-# define __XLC_PREREQ(_VER, _REL) \
- ((__xlC__) >= ((_VER) << 8) | ((_REL) << 8))
-#else /* defined(__IBMC__) */
-# define __XLC_PREREQ(_MAJ, _MIN) \
- ((__IBMC__) >= (_MAJ) * 100 + (_MIN) * 10)
-#endif
diff --git a/arch/all/compiler-xlc/bits/endian.h b/arch/all/compiler-xlc/bits/endian.h
deleted file mode 100644
index ac19037..0000000
--- a/arch/all/compiler-xlc/bits/endian.h
+++ /dev/null
@@ -1,30 +0,0 @@
-/* ****************************************************************************
- * endian.h -- Endianness identification for XLC.
- *
- * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
- *
- * This file is part of the 'all/compiler-xlc' module in libcarrot, an
- * experimental modular libc project.
- *
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
- *
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
- * ************************************************************************* */
-/* The IBM C compiler provides the `_BIG_ENDIAN` and/or `__BIG_ENDIAN__`
- * pre-defined macros to know if the platform is big endian or not. */
-
-#if (defined(_BIG_ENDIAN) && _BIG_ENDIAN) \
- || (defined(__BIG_ENDIAN__) && __BIG_ENDIAN__)
-# define __BYTE_ORDER __BIG_ENDIAN
-#else
-# define __BYTE_ORDER __LITTLE_ENDIAN
-#endif
diff --git a/arch/all/compiler-xlc/bits/types/primitive.h b/arch/all/compiler-xlc/bits/types/primitive.h
deleted file mode 100644
index 0bb661b..0000000
--- a/arch/all/compiler-xlc/bits/types/primitive.h
+++ /dev/null
@@ -1,73 +0,0 @@
-/* ****************************************************************************
- * types/primitive.h -- Information about the primitive types for XLC.
- *
- * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
- *
- * This file is part of the 'all/compiler-xlc' module in libcarrot, an
- * experimental modular libc project.
- *
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
- *
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
- * ************************************************************************* */
-/* Char type. */
-
-#define __CHAR_BIT 8
-#define __CHAR_IS_SIGNED \
- (defined(__CHAR_SIGNED) && __CHAR_SIGNED) || \
- (defined(__CHAR_SIGNED__) && __CHAR_SIGNED__)
-
-#define __CHAR_WIDTH ( 8)
-#define __CHAR_MIN (-127 - 1)
-#define __CHAR_MAX (+127)
-#define __UCHAR_MIN (0U)
-#define __UCHAR_MAX (255U)
-
-/* Short type. */
-
-#define __SHRT_WIDTH ( 16)
-#define __SHRT_MIN (-32767 - 1)
-#define __SHRT_MAX (+32767)
-#define __USHRT_MIN (0U)
-#define __USHRT_MAX (65536U)
-
-/* Int type. */
-
-#define __INT_WIDTH ( 32)
-#define __INT_MIN (-2147483647 - 1)
-#define __INT_MAX (+2147483647)
-#define __UINT_MIN (0U)
-#define __UINT_MAX (4294967296U)
-
-/* Long type. */
-
-#if defined(__64BIT__) && __64BIT__
-# define __LONG_WIDTH ( 32)
-# define __LONG_MIN (-2147483647 - 1)
-# define __LONG_MAX (+2147483647)
-# define __ULONG_MIN (0UL)
-# define __ULONG_MAX (4294967296U)
-#else
-# define __LONG_WIDTH ( 64)
-# define __LONG_MIN (-9223372036854775807 - 1)
-# define __LONG_MAX (+9223372036854775807)
-# define __ULONG_MIN (0ULL)
-# define __ULONG_MAX (18446744073709551616ULL)
-#endif
-
-/* Long long type. */
-
-#define __LLONG_WIDTH ( 64)
-#define __LLONG_MIN (-9223372036854775807 - 1)
-#define __LLONG_MAX (+9223372036854775807)
-#define __ULLONG_MIN (0ULL)
-#define __ULLONG_MAX (18446744073709551616ULL)
diff --git a/arch/all/compiler-xlc/copyright.yml b/arch/all/compiler-xlc/copyright.yml
deleted file mode 100644
index b9cb33b..0000000
--- a/arch/all/compiler-xlc/copyright.yml
+++ /dev/null
@@ -1,6 +0,0 @@
-%YAML 1.2
----
-files: '*'
-copyright:
-- [2017, Thomas "Cakeisalie5" Touhey, thomas@touhey.fr]
-license: LGPL-3
diff --git a/arch/all/compiler-xlc/info.yml b/arch/all/compiler-xlc/info.yml
deleted file mode 100644
index bfdc8d1..0000000
--- a/arch/all/compiler-xlc/info.yml
+++ /dev/null
@@ -1,6 +0,0 @@
-%YAML 1.2
----
-magic: potatosdk-1.0
-description: Compiler bit headers for IBM XLC.
-requires:
- compiler: ['IBM', 'XL C/C++']
diff --git a/arch/all/compiler-xlc/roles.yml b/arch/all/compiler-xlc/roles.yml
deleted file mode 100644
index 035ded2..0000000
--- a/arch/all/compiler-xlc/roles.yml
+++ /dev/null
@@ -1,5 +0,0 @@
-bits:
- types:
- primitive.h: Information about the primitive types for XLC.
- compiler.h: XLC identification macros.
- endian.h: Endianness identification for XLC.
diff --git a/arch/all/core-sh/bits/byteswap.h b/arch/all/core-sh/bits/byteswap.h
index 37d8a47..148f2ed 100644
--- a/arch/all/core-sh/bits/byteswap.h
+++ b/arch/all/core-sh/bits/byteswap.h
@@ -1,23 +1,32 @@
/* ****************************************************************************
* byteswap.h -- Optimized byteswapping utilities for SuperH.
- *
* Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'all/core-sh' module in libcarrot, an experimental
* modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#define __BYTESWAP_SUB16
#define __BYTESWAP_SUB32
diff --git a/arch/all/core-sh/bits/setjmp.h b/arch/all/core-sh/bits/setjmp.h
index e84dc41..5c0fea5 100644
--- a/arch/all/core-sh/bits/setjmp.h
+++ b/arch/all/core-sh/bits/setjmp.h
@@ -1,23 +1,32 @@
/* ****************************************************************************
* setjmp.h -- Non-local jump buffer type.
- *
* Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'all/core-sh' module in libcarrot, an experimental
* modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
/* Jump buffer type. */
typedef __uint32_t jmp_buf[16];
diff --git a/arch/all/core-sh/copyright.yml b/arch/all/core-sh/copyright.yml
index b9cb33b..f4d127d 100644
--- a/arch/all/core-sh/copyright.yml
+++ b/arch/all/core-sh/copyright.yml
@@ -3,4 +3,4 @@
files: '*'
copyright:
- [2017, Thomas "Cakeisalie5" Touhey, thomas@touhey.fr]
-license: LGPL-3
+license: free
diff --git a/arch/all/core-sh/include/builtin.h b/arch/all/core-sh/include/builtin.h
index c07f34c..0f6a087 100644
--- a/arch/all/core-sh/include/builtin.h
+++ b/arch/all/core-sh/include/builtin.h
@@ -1,23 +1,32 @@
/* ****************************************************************************
* builtin.h -- Built-ins for SHC.
- *
* Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'all/core-sh' module in libcarrot, an experimental
* modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#include <cdefs.h>
#include <stdint.h>
diff --git a/arch/all/core-sh/include/fixed.h b/arch/all/core-sh/include/fixed.h
index 648ee4c..f00e3e3 100644
--- a/arch/all/core-sh/include/fixed.h
+++ b/arch/all/core-sh/include/fixed.h
@@ -1,23 +1,32 @@
/* ****************************************************************************
* fixed.h -- Fixed-point numbers, Renesas' way.
- *
* Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'all/core-sh' module in libcarrot, an experimental
* modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#include <cdefs.h>
diff --git a/arch/all/core-sh/include/machine.h b/arch/all/core-sh/include/machine.h
index 4293d9e..5593b0b 100644
--- a/arch/all/core-sh/include/machine.h
+++ b/arch/all/core-sh/include/machine.h
@@ -1,23 +1,32 @@
/* ****************************************************************************
* machine.h -- SuperH intrinsics.
- *
* Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'all/core-sh' module in libcarrot, an experimental
* modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
/* Include the subheaders. */
# include <smachine.h>
diff --git a/arch/all/core-sh/include/smachine.h b/arch/all/core-sh/include/smachine.h
index 3804dff..bb31634 100644
--- a/arch/all/core-sh/include/smachine.h
+++ b/arch/all/core-sh/include/smachine.h
@@ -1,23 +1,32 @@
/* ****************************************************************************
* smachine.h -- SuperH intrinsics, privileged mode.
- *
* Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'all/core-sh' module in libcarrot, an experimental
* modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#include <cdefs.h>
#include <stdint.h>
diff --git a/arch/all/core-sh/include/umachine.h b/arch/all/core-sh/include/umachine.h
index c5efee3..47bfcc5 100644
--- a/arch/all/core-sh/include/umachine.h
+++ b/arch/all/core-sh/include/umachine.h
@@ -1,23 +1,32 @@
/* ****************************************************************************
* umachine.h -- SuperH intrinsics, user mode.
- *
* Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'all/core-sh' module in libcarrot, an experimental
* modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#include <cdefs.h>
#include <stdint.h>
diff --git a/arch/all/core/copyright.yml b/arch/all/core/copyright.yml
index 659c51d..5bf969a 100644
--- a/arch/all/core/copyright.yml
+++ b/arch/all/core/copyright.yml
@@ -3,10 +3,10 @@
files: '*'
copyright:
- [2017, Thomas "Cakeisalie5" Touhey, thomas@touhey.fr]
-license: LGPL-3
+license: free
---
files: 'src/ctype/tab.c'
copyright:
- [1991, 2016, "Free Software Foundation, Inc", "info@fsf.org"]
- [2017, Thomas "Cakeisalie5" Touhey, thomas@touhey.fr]
-license: LGPL-3
+license: free
diff --git a/arch/all/core/include/alloca.h b/arch/all/core/include/alloca.h
index 99dd14e..67bdf23 100644
--- a/arch/all/core/include/alloca.h
+++ b/arch/all/core/include/alloca.h
@@ -1,23 +1,32 @@
/* ****************************************************************************
* alloca.h -- Allocate memory on stack.
- *
* Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'all/core' module in libcarrot, an experimental
* modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#include <cdefs.h>
#include <stddef.h>
diff --git a/arch/all/core/include/assert.h b/arch/all/core/include/assert.h
index b8900ec..0ad25a2 100644
--- a/arch/all/core/include/assert.h
+++ b/arch/all/core/include/assert.h
@@ -1,23 +1,32 @@
/* ****************************************************************************
* assert.h -- Assertions.
- *
* Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'all/core' module in libcarrot, an experimental
* modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#include <cdefs.h>
#include <stddef.h>
diff --git a/arch/all/core/include/byteswap.h b/arch/all/core/include/byteswap.h
index 87ad537..ada0bf9 100644
--- a/arch/all/core/include/byteswap.h
+++ b/arch/all/core/include/byteswap.h
@@ -1,23 +1,32 @@
/* ****************************************************************************
* byteswap.h -- Byte swapping utilities.
- *
* Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'all/core' module in libcarrot, an experimental
* modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#include <cdefs.h>
#include <stdint.h>
diff --git a/arch/all/core/include/cdefs.h b/arch/all/core/include/cdefs.h
index e3754ea..c4b5179 100644
--- a/arch/all/core/include/cdefs.h
+++ b/arch/all/core/include/cdefs.h
@@ -1,23 +1,32 @@
/* ****************************************************************************
* cdefs.h -- C definitions.
- *
* Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'all/core' module in libcarrot, an experimental
* modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
/* Identification macros for libcarrot.
* - `__LIBCARROT__` is defined and equal to 1 if the current libc
diff --git a/arch/all/core/include/cdefs/attrs.h b/arch/all/core/include/cdefs/attrs.h
index 8b41e1b..d5b74fd 100644
--- a/arch/all/core/include/cdefs/attrs.h
+++ b/arch/all/core/include/cdefs/attrs.h
@@ -1,23 +1,32 @@
/* ****************************************************************************
* cdefs/attrs.h -- C Compiler helpers.
- *
* Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'all/core' module in libcarrot, an experimental
* modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#ifndef _CDEFS_H
# error "This file should be included by `cdefs.h`!"
diff --git a/arch/all/core/include/cdefs/compiler.h b/arch/all/core/include/cdefs/compiler.h
index f862feb..e5181df 100644
--- a/arch/all/core/include/cdefs/compiler.h
+++ b/arch/all/core/include/cdefs/compiler.h
@@ -1,23 +1,32 @@
/* ****************************************************************************
* cdefs/compiler.h -- Compiler description.
- *
* Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'all/core' module in libcarrot, an experimental
* modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#ifndef _CDEFS_H
# error "This file should be included by `cdefs.h`!"
diff --git a/arch/all/core/include/cdefs/features.h b/arch/all/core/include/cdefs/features.h
index 04d599f..052e711 100644
--- a/arch/all/core/include/cdefs/features.h
+++ b/arch/all/core/include/cdefs/features.h
@@ -1,23 +1,32 @@
/* ****************************************************************************
* cdefs/features.h -- Compiler features.
- *
* Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'all/core' module in libcarrot, an experimental
* modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#ifndef _CDEFS_H
# error "This file should be included by `cdefs.h`!"
diff --git a/arch/all/core/include/cdefs/utils.h b/arch/all/core/include/cdefs/utils.h
index 5f28118..38b1548 100644
--- a/arch/all/core/include/cdefs/utils.h
+++ b/arch/all/core/include/cdefs/utils.h
@@ -1,23 +1,32 @@
/* ****************************************************************************
* cdefs/utils.h -- C utilities.
- *
* Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'all/core' module in libcarrot, an experimental
* modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#ifndef _CDEFS_H
# error "This file should be included by `cdefs.h`!"
diff --git a/arch/all/core/include/complex.h b/arch/all/core/include/complex.h
index 629663e..13b548e 100644
--- a/arch/all/core/include/complex.h
+++ b/arch/all/core/include/complex.h
@@ -1,23 +1,32 @@
/* ****************************************************************************
* complex.h -- Complex utilities.
- *
* Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'all/core' module in libcarrot, an experimental
* modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#include <cdefs.h>
diff --git a/arch/all/core/include/ctype.h b/arch/all/core/include/ctype.h
index 186b695..4fcee18 100644
--- a/arch/all/core/include/ctype.h
+++ b/arch/all/core/include/ctype.h
@@ -1,23 +1,32 @@
/* ****************************************************************************
* ctype.h -- Character type.
- *
* Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'all/core' module in libcarrot, an experimental
* modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#include <cdefs.h>
__BEGIN_DECLS
diff --git a/arch/all/core/include/dirent.h b/arch/all/core/include/dirent.h
index 9b072b7..3055bc5 100644
--- a/arch/all/core/include/dirent.h
+++ b/arch/all/core/include/dirent.h
@@ -1,23 +1,32 @@
/* ****************************************************************************
* dirent.h -- Directory listing.
- *
* Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'all/core' module in libcarrot, an experimental
* modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#include <cdefs.h>
__BEGIN_DECLS
diff --git a/arch/all/core/include/endian.h b/arch/all/core/include/endian.h
index d594deb..b805afa 100644
--- a/arch/all/core/include/endian.h
+++ b/arch/all/core/include/endian.h
@@ -1,23 +1,32 @@
/* ****************************************************************************
* endian.h -- Endian conversion utilities.
- *
* Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'all/core' module in libcarrot, an experimental
* modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#include <cdefs.h>
#include <byteswap.h>
diff --git a/arch/all/core/include/errno.h b/arch/all/core/include/errno.h
index 39c0683..81565f2 100644
--- a/arch/all/core/include/errno.h
+++ b/arch/all/core/include/errno.h
@@ -1,23 +1,32 @@
/* ****************************************************************************
* errno.h -- libc error codes.
- *
* Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'all/core' module in libcarrot, an experimental
* modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#include <cdefs.h>
__BEGIN_DECLS
diff --git a/arch/all/core/include/features.h b/arch/all/core/include/features.h
index f0a3807..c9f91eb 100644
--- a/arch/all/core/include/features.h
+++ b/arch/all/core/include/features.h
@@ -1,23 +1,32 @@
/* ****************************************************************************
* features.h -- C features.
- *
* Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'all/core' module in libcarrot, an experimental
* modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
- *
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
+ *
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
+ *
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
/* This file turns the feature macros, defined by the compiler or by the
* user, into internal macros used by the library, in order to set the
diff --git a/arch/all/core/include/fenv.h b/arch/all/core/include/fenv.h
index d97e1c9..9a216d1 100644
--- a/arch/all/core/include/fenv.h
+++ b/arch/all/core/include/fenv.h
@@ -1,22 +1,31 @@
/* ****************************************************************************
* fenv.h -- Floating environment.
- *
* Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'all/core' module in libcarrot, an experimental
* modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
/* TODO */
diff --git a/arch/all/core/include/float.h b/arch/all/core/include/float.h
index 5bce649..625f513 100644
--- a/arch/all/core/include/float.h
+++ b/arch/all/core/include/float.h
@@ -1,23 +1,32 @@
/* ****************************************************************************
* float.h -- Floating constants.
- *
* Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'all/core' module in libcarrot, an experimental
* modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
- *
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
+ *
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
+ *
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#include <cdefs.h>
#include_bits <types.h>
diff --git a/arch/all/core/include/inttypes.h b/arch/all/core/include/inttypes.h
index 941c562..7bc0cc6 100644
--- a/arch/all/core/include/inttypes.h
+++ b/arch/all/core/include/inttypes.h
@@ -1,23 +1,32 @@
/* ****************************************************************************
* inttypes.h -- Things using types from `stdint.h`.
- *
* Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'all/core' module in libcarrot, an experimental
* modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#include <cdefs.h>
#include <stddef.h>
diff --git a/arch/all/core/include/iso646.h b/arch/all/core/include/iso646.h
index 3c136bf..98586da 100644
--- a/arch/all/core/include/iso646.h
+++ b/arch/all/core/include/iso646.h
@@ -1,23 +1,32 @@
/* ****************************************************************************
* iso646.h -- English words.
- *
* Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'all/core' module in libcarrot, an experimental
* modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#include <cdefs.h>
diff --git a/arch/all/core/include/limits.h b/arch/all/core/include/limits.h
index f9f920b..df7a13f 100644
--- a/arch/all/core/include/limits.h
+++ b/arch/all/core/include/limits.h
@@ -1,23 +1,32 @@
/* ****************************************************************************
* limits.h -- Integer limits.
- *
* Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'all/core' module in libcarrot, an experimental
* modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#include <cdefs.h>
#include <stddef.h>
diff --git a/arch/all/core/include/locale.h b/arch/all/core/include/locale.h
index 4ca8c62..3c219cb 100644
--- a/arch/all/core/include/locale.h
+++ b/arch/all/core/include/locale.h
@@ -1,23 +1,32 @@
/* ****************************************************************************
* locale.h -- Locales.
- *
* Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'all/core' module in libcarrot, an experimental
* modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#include <cdefs.h>
#include <stddef.h>
diff --git a/arch/all/core/include/malloc.h b/arch/all/core/include/malloc.h
index 9885cce..f3d3891 100644
--- a/arch/all/core/include/malloc.h
+++ b/arch/all/core/include/malloc.h
@@ -1,23 +1,32 @@
/* ****************************************************************************
* malloc.h -- Dynamic memory allocation.
- *
* Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'all/core' module in libcarrot, an experimental
* modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#include <cdefs.h>
#include <alloca.h>
diff --git a/arch/all/core/include/printf.h b/arch/all/core/include/printf.h
index 3a189ea..fcf4b2e 100644
--- a/arch/all/core/include/printf.h
+++ b/arch/all/core/include/printf.h
@@ -1,23 +1,32 @@
/* ****************************************************************************
* printf.h -- printf-related utilities.
- *
* Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'all/core' module in libcarrot, an experimental
* modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#include <cdefs.h>
#include <stdio.h>
diff --git a/arch/all/core/include/setjmp.h b/arch/all/core/include/setjmp.h
index 527c882..b579fa1 100644
--- a/arch/all/core/include/setjmp.h
+++ b/arch/all/core/include/setjmp.h
@@ -1,23 +1,32 @@
/* ****************************************************************************
* setjmp.h -- Non-local jumps.
- *
* Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'all/core' module in libcarrot, an experimental
* modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#include <cdefs.h>
__BEGIN_DECLS
diff --git a/arch/all/core/include/signal.h b/arch/all/core/include/signal.h
index 7849f30..fb36f15 100644
--- a/arch/all/core/include/signal.h
+++ b/arch/all/core/include/signal.h
@@ -1,23 +1,32 @@
/* ****************************************************************************
* signal.h -- Signals.
- *
* Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'all/core' module in libcarrot, an experimental
* modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#include <cdefs.h>
__BEGIN_NAMESPACE_STD
diff --git a/arch/all/core/include/stdarg.h b/arch/all/core/include/stdarg.h
index d983482..d09f183 100644
--- a/arch/all/core/include/stdarg.h
+++ b/arch/all/core/include/stdarg.h
@@ -1,23 +1,32 @@
/* ****************************************************************************
* stdarg.h -- Variable argument lists.
- *
* Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'all/core' module in libcarrot, an experimental
* modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#include <cdefs.h>
#if defined(_VARARGS_H)
diff --git a/arch/all/core/include/stdatomic.h b/arch/all/core/include/stdatomic.h
index d0cb3ee..0fdfb74 100644
--- a/arch/all/core/include/stdatomic.h
+++ b/arch/all/core/include/stdatomic.h
@@ -1,23 +1,32 @@
/* ****************************************************************************
* stdatomic.h -- Atomic integer types.
- *
* Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'all/core' module in libcarrot, an experimental
* modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#include <cdefs.h>
diff --git a/arch/all/core/include/stdbool.h b/arch/all/core/include/stdbool.h
index 005005b..aad29a4 100644
--- a/arch/all/core/include/stdbool.h
+++ b/arch/all/core/include/stdbool.h
@@ -1,30 +1,44 @@
/* ****************************************************************************
* stdbool.h -- Booleans.
- *
* Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'all/core' module in libcarrot, an experimental
* modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#include <cdefs.h>
#if !__USE_CXX98
+
+/* Define the 'bool' type and values. */
+
# define bool _Bool
# define true 1
# define false 0
+/* The `__bool_true_false_are_defined` is ISO C compliant. */
+
# define __bool_true_false_are_defined 1
#endif
diff --git a/arch/all/core/include/stddef.h b/arch/all/core/include/stddef.h
index 846ad7b..013c6a9 100644
--- a/arch/all/core/include/stddef.h
+++ b/arch/all/core/include/stddef.h
@@ -1,23 +1,32 @@
/* ****************************************************************************
* stddef.h -- Standard definitions.
- *
* Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'all/core' module in libcarrot, an experimental
* modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#include <cdefs.h>
__BEGIN_NAMESPACE_STD
diff --git a/arch/all/core/include/stdfix.h b/arch/all/core/include/stdfix.h
index 88cfdd4..c5db232 100644
--- a/arch/all/core/include/stdfix.h
+++ b/arch/all/core/include/stdfix.h
@@ -1,23 +1,32 @@
/* ****************************************************************************
* stdfix.h -- Standard fix integers.
- *
* Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'all/core' module in libcarrot, an experimental
* modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#include <cdefs.h>
diff --git a/arch/all/core/include/stdint.h b/arch/all/core/include/stdint.h
index e97471d..a3b6330 100644
--- a/arch/all/core/include/stdint.h
+++ b/arch/all/core/include/stdint.h
@@ -1,23 +1,32 @@
/* ****************************************************************************
* stdint.h -- Standard integer types.
- *
* Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'all/core' module in libcarrot, an experimental
* modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#include <cdefs.h>
#include <stddef.h>
diff --git a/arch/all/core/include/stdio.h b/arch/all/core/include/stdio.h
index 7d154c2..a6b190e 100644
--- a/arch/all/core/include/stdio.h
+++ b/arch/all/core/include/stdio.h
@@ -1,23 +1,32 @@
/* ****************************************************************************
* stdio.h -- Standard I/O.
- *
* Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'all/core' module in libcarrot, an experimental
* modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#include <cdefs.h>
#include <stddef.h>
diff --git a/arch/all/core/include/stdio_ext.h b/arch/all/core/include/stdio_ext.h
index f3d486f..d97ee8b 100644
--- a/arch/all/core/include/stdio_ext.h
+++ b/arch/all/core/include/stdio_ext.h
@@ -1,23 +1,32 @@
/* ****************************************************************************
* stdio_ext.h -- Extended standard I/O utilities.
- *
* Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'all/core' module in libcarrot, an experimental
* modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#include <cdefs.h>
#include <stdio.h>
diff --git a/arch/all/core/include/stdlib.h b/arch/all/core/include/stdlib.h
index dec5de7..0e2b4b7 100644
--- a/arch/all/core/include/stdlib.h
+++ b/arch/all/core/include/stdlib.h
@@ -1,23 +1,32 @@
/* ****************************************************************************
* stdlib.h -- Standard library utilities.
- *
* Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'all/core' module in libcarrot, an experimental
* modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#include <cdefs.h>
#include <stddef.h>
diff --git a/arch/all/core/include/string.h b/arch/all/core/include/string.h
index c5efe85..3c32f2d 100644
--- a/arch/all/core/include/string.h
+++ b/arch/all/core/include/string.h
@@ -1,26 +1,36 @@
/* ****************************************************************************
* string.h -- String utilities.
- *
* Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'all/core' module in libcarrot, an experimental
* modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#include <cdefs.h>
#include <stddef.h>
+#include <strings.h>
__BEGIN_DECLS
__BEGIN_NAMESPACE_STD
diff --git a/arch/all/core/include/strings.h b/arch/all/core/include/strings.h
new file mode 100644
index 0000000..749c1b5
--- /dev/null
+++ b/arch/all/core/include/strings.h
@@ -0,0 +1,68 @@
+/* ****************************************************************************
+ * strings.h -- BSD-compatible string utilities.
+ * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
+ *
+ * This file is part of the 'all/core' module in libcarrot, an experimental
+ * modular libc project.
+ *
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
+ *
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
+ *
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
+ * ************************************************************************* */
+#include <cdefs.h>
+#include <stddef.h>
+#include <locale.h>
+__BEGIN_DECLS
+__BEGIN_NAMESPACE_STD
+
+/* BSD-style string functions. */
+
+extern __nonnull(1, __s1) __nonnull(2, __s2)
+int bcmp _OF((const void *__s1, const void *__s2, size_t __len));
+
+extern __nonnull(1, __src) __nonnull(2, __dst)
+void bcopy _OF((const void *__src, void *__dst, size_t __len));
+
+extern __nonnull(1, __s)
+void bzero _OF((void *__s, size_t __len));
+
+extern __pure int ffs _OF((int __word));
+
+extern __nonnull(1, __s) char* index _OF((const char *__s, int __ch));
+
+extern __nonnull(1, __s) char* rindex _OF((const char *__s, int __ch));
+
+extern __nonnull(1, __s1) __nonnull(2, __s2)
+int strcasecmp _OF((const char *__s1, const char *__s2));
+
+extern __nonnull(1, __s1) __nonnull(2, __s2)
+int strcasecmp_l _OF((const char *__s1, const char *__s2, locale_t __loc));
+
+extern __nonnull(1, __s1) __nonnull(2, __s2)
+int strncasecmp _OF((const char *__s1, const char *__s2, size_t __len));
+
+extern __nonnull(1, __s1) __nonnull(2, __s2)
+int strncasecmp_l _OF((const char *__s1, const char *__s2, size_t __len,
+ locale_t __loc));
+
+__END_NAMESPACE_STD
+__END_DECLS
diff --git a/arch/all/core/include/time.h b/arch/all/core/include/time.h
index 269ba6f..09cf77b 100644
--- a/arch/all/core/include/time.h
+++ b/arch/all/core/include/time.h
@@ -1,23 +1,32 @@
/* ****************************************************************************
* time.h -- Time utilities.
- *
* Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'all/core' module in libcarrot, an experimental
* modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#include <cdefs.h>
#include <stddef.h>
diff --git a/arch/all/core/include/varargs.h b/arch/all/core/include/varargs.h
index 35c8555..4c19429 100644
--- a/arch/all/core/include/varargs.h
+++ b/arch/all/core/include/varargs.h
@@ -1,23 +1,32 @@
/* ****************************************************************************
* varargs.h -- Old variable argument lists.
- *
* Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'all/core' module in libcarrot, an experimental
* modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#include <cdefs.h>
diff --git a/arch/all/core/roles.yml b/arch/all/core/roles.yml
index 525e368..87541fa 100644
--- a/arch/all/core/roles.yml
+++ b/arch/all/core/roles.yml
@@ -36,6 +36,7 @@ include:
stdio_ext.h: Extended standard I/O utilities.
stdlib.h: Standard library utilities.
string.h: String utilities.
+ strings.h: BSD-compatible string utilities.
time.h: Time utilities.
varargs.h: Old variable argument lists.
src:
diff --git a/arch/all/core/src/byteswap.c b/arch/all/core/src/byteswap.c
index 3a3f05d..bf12b1a 100644
--- a/arch/all/core/src/byteswap.c
+++ b/arch/all/core/src/byteswap.c
@@ -1,23 +1,32 @@
/* ****************************************************************************
* byteswap.c -- default byte swapping utilities.
- *
* Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'all/core' module in libcarrot, an experimental
* modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#define __NO_BYTESWAP
#include <byteswap.h>
diff --git a/arch/all/core/src/ctype/funcs.c b/arch/all/core/src/ctype/funcs.c
index 73889cd..c0cc6b6 100644
--- a/arch/all/core/src/ctype/funcs.c
+++ b/arch/all/core/src/ctype/funcs.c
@@ -1,23 +1,32 @@
/* ****************************************************************************
* ctype/funcs.c -- Character utilities.
- *
* Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'all/core' module in libcarrot, an experimental
* modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#define __NO_CTYPE
#include <ctype.h>
diff --git a/arch/all/core/src/ctype/tab.c b/arch/all/core/src/ctype/tab.c
index bf56a9c..395014d 100644
--- a/arch/all/core/src/ctype/tab.c
+++ b/arch/all/core/src/ctype/tab.c
@@ -1,24 +1,33 @@
/* ****************************************************************************
* ctype/tab.c -- ASCII locale table for character identification.
- *
* Copyright (C) 1991-2016 Free Software Foundation, Inc <info@fsf.org>
* Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'all/core' module in libcarrot, an experimental
* modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#include <ctype.h>
#define _U _ISupper
diff --git a/arch/all/core/src/errno.c b/arch/all/core/src/errno.c
index 3211336..ee7c4ac 100644
--- a/arch/all/core/src/errno.c
+++ b/arch/all/core/src/errno.c
@@ -1,23 +1,32 @@
/* ****************************************************************************
* errno.c -- errno management.
- *
* Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'all/core' module in libcarrot, an experimental
* modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#include <errno.h>
diff --git a/arch/all/core/src/locales.c b/arch/all/core/src/locales.c
index 9fc34bf..926d161 100644
--- a/arch/all/core/src/locales.c
+++ b/arch/all/core/src/locales.c
@@ -1,23 +1,32 @@
/* ****************************************************************************
* locales.c -- Localization register.
- *
* Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'all/core' module in libcarrot, an experimental
* modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#include <locale.h>
#include <limits.h>
diff --git a/arch/all/core/src/stdio/printf/default.c b/arch/all/core/src/stdio/printf/default.c
index e924448..b3b567c 100644
--- a/arch/all/core/src/stdio/printf/default.c
+++ b/arch/all/core/src/stdio/printf/default.c
@@ -1,23 +1,32 @@
/* ****************************************************************************
* stdio/printf/default.c -- Default printf callbacks.
- *
* Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'all/core' module in libcarrot, an experimental
* modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#include "printf.h"
#include <string.h>
diff --git a/arch/all/core/src/stdio/printf/fprintf.c b/arch/all/core/src/stdio/printf/fprintf.c
index 7b79a38..d03bd2d 100644
--- a/arch/all/core/src/stdio/printf/fprintf.c
+++ b/arch/all/core/src/stdio/printf/fprintf.c
@@ -1,23 +1,32 @@
/* ****************************************************************************
* stdio/printf/fprintf.c -- Print formatted in a stream.
- *
* Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'all/core' module in libcarrot, an experimental
* modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#include "printf.h"
diff --git a/arch/all/core/src/stdio/printf/register.c b/arch/all/core/src/stdio/printf/register.c
index 868e86c..fee535f 100644
--- a/arch/all/core/src/stdio/printf/register.c
+++ b/arch/all/core/src/stdio/printf/register.c
@@ -1,23 +1,32 @@
/* ****************************************************************************
* stdio/printf/register.c -- Manage printf callbacks.
- *
* Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'all/core' module in libcarrot, an experimental
* modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#include "stdio.h"
#include <string.h>
diff --git a/arch/all/core/src/stdio/printf/sprintf.c b/arch/all/core/src/stdio/printf/sprintf.c
index 148ab44..6478c32 100644
--- a/arch/all/core/src/stdio/printf/sprintf.c
+++ b/arch/all/core/src/stdio/printf/sprintf.c
@@ -1,23 +1,32 @@
/* ****************************************************************************
* stdio/printf/sprintf.c -- String front-end to [v]s[n]printf.
- *
* Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'all/core' module in libcarrot, an experimental
* modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#include "printf.h"
#include <string.h>
diff --git a/arch/all/core/src/stdio/printf/vfprintf.c b/arch/all/core/src/stdio/printf/vfprintf.c
index 94e2f4c..d7e8106 100644
--- a/arch/all/core/src/stdio/printf/vfprintf.c
+++ b/arch/all/core/src/stdio/printf/vfprintf.c
@@ -1,23 +1,32 @@
/* ****************************************************************************
* stdio/printf/vfprintf.c -- The core of all.
- *
* Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'all/core' module in libcarrot, an experimental
* modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#include "printf.h"
#include <stdlib.h>
diff --git a/arch/all/core/src/stdio/read.c b/arch/all/core/src/stdio/read.c
index c7daad1..22d2889 100644
--- a/arch/all/core/src/stdio/read.c
+++ b/arch/all/core/src/stdio/read.c
@@ -1,23 +1,32 @@
/* ****************************************************************************
* stdio/read.c -- Read from a stream.
- *
* Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'all/core' module in libcarrot, an experimental
* modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#include "stdio.h"
diff --git a/arch/all/core/src/stdio/seek.c b/arch/all/core/src/stdio/seek.c
index 2a31769..07c52f7 100644
--- a/arch/all/core/src/stdio/seek.c
+++ b/arch/all/core/src/stdio/seek.c
@@ -1,23 +1,32 @@
/* ****************************************************************************
* stdio/seek.c -- Seek on a stream.
- *
* Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'all/core' module in libcarrot, an experimental
* modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#include "stdio.h"
diff --git a/arch/all/core/src/stdio/stdout.c b/arch/all/core/src/stdio/stdout.c
index 86c6c3e..41f21fe 100644
--- a/arch/all/core/src/stdio/stdout.c
+++ b/arch/all/core/src/stdio/stdout.c
@@ -1,23 +1,32 @@
/* ****************************************************************************
* stdio/stdout.c -- Standard output and error streams definition.
- *
* Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'all/core' module in libcarrot, an experimental
* modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#include "stdio.h"
diff --git a/arch/all/core/src/stdio/write.c b/arch/all/core/src/stdio/write.c
index 215a34f..a300077 100644
--- a/arch/all/core/src/stdio/write.c
+++ b/arch/all/core/src/stdio/write.c
@@ -1,23 +1,32 @@
/* ****************************************************************************
* stdio/write.c -- Write to a stream.
- *
* Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'all/core' module in libcarrot, an experimental
* modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#include "stdio.h"
diff --git a/arch/all/core/src/stdlib/div.c b/arch/all/core/src/stdlib/div.c
index 6d786db..5283b17 100644
--- a/arch/all/core/src/stdlib/div.c
+++ b/arch/all/core/src/stdlib/div.c
@@ -1,23 +1,32 @@
/* ****************************************************************************
* stdlib/div.c -- Division utilities.
- *
* Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'all/core' module in libcarrot, an experimental
* modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#include <stdlib.h>
diff --git a/arch/all/core/src/stdlib/rand.c b/arch/all/core/src/stdlib/rand.c
index c0dfb96..3cb7355 100644
--- a/arch/all/core/src/stdlib/rand.c
+++ b/arch/all/core/src/stdlib/rand.c
@@ -1,23 +1,32 @@
/* ****************************************************************************
* stdlib/rand.c -- Basic random utilities.
- *
* Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'all/core' module in libcarrot, an experimental
* modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#include <stdlib.h>
diff --git a/arch/all/core/src/stdlib/wchar.c b/arch/all/core/src/stdlib/wchar.c
index e7dffac..44fe4e4 100644
--- a/arch/all/core/src/stdlib/wchar.c
+++ b/arch/all/core/src/stdlib/wchar.c
@@ -1,23 +1,32 @@
/* ****************************************************************************
* stdlib/wchar.c -- Wide char-related utilities.
- *
* Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'all/core' module in libcarrot, an experimental
* modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#include <stdlib.h>
#include <string.h>
diff --git a/arch/all/core/src/string/memchr.c b/arch/all/core/src/string/memchr.c
index a1b3d64..8d310dc 100644
--- a/arch/all/core/src/string/memchr.c
+++ b/arch/all/core/src/string/memchr.c
@@ -1,23 +1,32 @@
/* ****************************************************************************
* string/memchr.c -- Look for a character in a memory area.
- *
* Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'all/core' module in libcarrot, an experimental
* modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#include <string.h>
diff --git a/arch/all/core/src/string/memcpy.c b/arch/all/core/src/string/memcpy.c
index 3624dd8..a171f48 100644
--- a/arch/all/core/src/string/memcpy.c
+++ b/arch/all/core/src/string/memcpy.c
@@ -1,23 +1,32 @@
/* ****************************************************************************
* string/memcpy.c -- Copy the content of a memory area into another.
- *
* Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'all/core' module in libcarrot, an experimental
* modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#include <string.h>
diff --git a/arch/all/core/src/string/memset.c b/arch/all/core/src/string/memset.c
index 48b0d30..5af14c3 100644
--- a/arch/all/core/src/string/memset.c
+++ b/arch/all/core/src/string/memset.c
@@ -1,23 +1,32 @@
/* ****************************************************************************
* string/memset.c -- Initialize the content of a memory area.
- *
* Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'all/core' module in libcarrot, an experimental
* modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#include <string.h>
#include <stdint.h>
diff --git a/arch/all/core/src/string/strchr.c b/arch/all/core/src/string/strchr.c
index 9f0e11b..9800b43 100644
--- a/arch/all/core/src/string/strchr.c
+++ b/arch/all/core/src/string/strchr.c
@@ -1,23 +1,32 @@
/* ****************************************************************************
* string/strchr.c -- Look for a character in a string.
- *
* Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'all/core' module in libcarrot, an experimental
* modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#include <string.h>
diff --git a/arch/all/core/src/string/strlen.c b/arch/all/core/src/string/strlen.c
index b4b6b09..8793eee 100644
--- a/arch/all/core/src/string/strlen.c
+++ b/arch/all/core/src/string/strlen.c
@@ -1,23 +1,32 @@
/* ****************************************************************************
* string/strlen.c -- Find out the length of a string.
- *
* Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'all/core' module in libcarrot, an experimental
* modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#include <string.h>
diff --git a/arch/all/cpp/copyright.yml b/arch/all/cpp/copyright.yml
index b9cb33b..f4d127d 100644
--- a/arch/all/cpp/copyright.yml
+++ b/arch/all/cpp/copyright.yml
@@ -3,4 +3,4 @@
files: '*'
copyright:
- [2017, Thomas "Cakeisalie5" Touhey, thomas@touhey.fr]
-license: LGPL-3
+license: free
diff --git a/arch/all/cpp/include/ios b/arch/all/cpp/include/ios
index ec55530..1f26df6 100644
--- a/arch/all/cpp/include/ios
+++ b/arch/all/cpp/include/ios
@@ -1,23 +1,32 @@
/* ****************************************************************************
* ios -- C++ I/O streams.
- *
* Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'all/cpp' module in libcarrot, an experimental
* modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#if __USE_CXX98 && !defined(_IOS_HPP) && !defined(_IOS_)
# define _IOS_HPP 1
diff --git a/arch/all/cpp/include/iosfwd b/arch/all/cpp/include/iosfwd
index 305411a..f1e1fa4 100644
--- a/arch/all/cpp/include/iosfwd
+++ b/arch/all/cpp/include/iosfwd
@@ -1,23 +1,32 @@
/* ****************************************************************************
* iosfwd -- C++ I/O library forward declarations.
- *
* Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'all/cpp' module in libcarrot, an experimental
* modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#if __USE_CXX98 && !defined(_IOSFWD_HPP) && !defined(_IOSFWD_)
# define _IOSFWD_HPP 1
diff --git a/arch/all/cpp/include/iostream b/arch/all/cpp/include/iostream
index ab6b9cb..aba8d59 100644
--- a/arch/all/cpp/include/iostream
+++ b/arch/all/cpp/include/iostream
@@ -1,23 +1,32 @@
/* ****************************************************************************
* iostream -- C++ I/O standard iostream object.
- *
* Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'all/cpp' module in libcarrot, an experimental
* modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#if __USE_CXX98 && !defined(_IOSTREAM_)
# define _IOSTREAM_HPP 1
diff --git a/arch/all/cpp/include/mystrbuf b/arch/all/cpp/include/mystrbuf
index c3039a0..65d94f0 100644
--- a/arch/all/cpp/include/mystrbuf
+++ b/arch/all/cpp/include/mystrbuf
@@ -1,23 +1,32 @@
/* ****************************************************************************
* mystrbuf -- C++ string buffer.
- *
* Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'all/cpp' module in libcarrot, an experimental
* modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#if __USE_CXX98 && !defined(_MYSTRBUF_HPP) && !defined(_MYSTRBUF_)
# define _MYSTRBUF_HPP 1
diff --git a/arch/all/cpp/include/new b/arch/all/cpp/include/new
index b466320..2cdf8fe 100644
--- a/arch/all/cpp/include/new
+++ b/arch/all/cpp/include/new
@@ -1,23 +1,32 @@
/* ****************************************************************************
* new -- C++ new operator.
- *
* Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'all/cpp' module in libcarrot, an experimental
* modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#if __USE_CXX98 && !defined(_NEW_HPP) && !defined(__NEW__) \
&& !defined(_NEW_) && !defined(__NEW_H)
diff --git a/arch/all/cpp/include/streambuf b/arch/all/cpp/include/streambuf
index db58dae..f57f685 100644
--- a/arch/all/cpp/include/streambuf
+++ b/arch/all/cpp/include/streambuf
@@ -1,23 +1,32 @@
/* ****************************************************************************
* streambuf -- C++ stream buffer.
- *
* Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'all/cpp' module in libcarrot, an experimental
* modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#if __USE_CXX98 && !defined(_STREAMBUF_HPP) && !defined(_STREAMBUF_)
# define _STREAMBUF_HPP 1
diff --git a/arch/all/cpp/include/string b/arch/all/cpp/include/string
index 0cdb267..909d5a8 100644
--- a/arch/all/cpp/include/string
+++ b/arch/all/cpp/include/string
@@ -1,23 +1,32 @@
/* ****************************************************************************
* string -- C++ string.h wrapper.
- *
* Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'all/cpp' module in libcarrot, an experimental
* modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#if __USE_CXX98 && !defined(_STRING_HPP) && !defined(_STRING_)
# define _STRING_HPP 1
diff --git a/arch/all/ensigdsp-sh/copyright.yml b/arch/all/ensigdsp-sh/copyright.yml
index b9cb33b..f4d127d 100644
--- a/arch/all/ensigdsp-sh/copyright.yml
+++ b/arch/all/ensigdsp-sh/copyright.yml
@@ -3,4 +3,4 @@
files: '*'
copyright:
- [2017, Thomas "Cakeisalie5" Touhey, thomas@touhey.fr]
-license: LGPL-3
+license: free
diff --git a/arch/all/ensigdsp-sh/include/ensigdsp.h b/arch/all/ensigdsp-sh/include/ensigdsp.h
index 5dfd966..09146da 100644
--- a/arch/all/ensigdsp-sh/include/ensigdsp.h
+++ b/arch/all/ensigdsp-sh/include/ensigdsp.h
@@ -1,23 +1,32 @@
/* ****************************************************************************
* ensigdsp.h -- Ensigma DSP library.
- *
* Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'all/ensigdsp-sh' module in libcarrot, an
* experimental modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#include <fixed.h>
__BEGIN_DECLS
diff --git a/arch/all/compiler-sdcc/copyright.yml b/arch/all/helloworld/copyright.yml
index b9cb33b..f4d127d 100644
--- a/arch/all/compiler-sdcc/copyright.yml
+++ b/arch/all/helloworld/copyright.yml
@@ -3,4 +3,4 @@
files: '*'
copyright:
- [2017, Thomas "Cakeisalie5" Touhey, thomas@touhey.fr]
-license: LGPL-3
+license: free
diff --git a/arch/all/helloworld/include/helloworld.h b/arch/all/helloworld/include/helloworld.h
new file mode 100644
index 0000000..6e777fd
--- /dev/null
+++ b/arch/all/helloworld/include/helloworld.h
@@ -0,0 +1,31 @@
+/* ****************************************************************************
+ * helloworld.h -- hello world features.
+ * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
+ *
+ * This file is part of the 'all/helloworld' module in libcarrot, an
+ * experimental modular libc project.
+ *
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
+ *
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
+ *
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
+ * ************************************************************************* */
+extern void helloworld _OF((void));
diff --git a/arch/all/helloworld/info.yml b/arch/all/helloworld/info.yml
new file mode 100644
index 0000000..4597fa4
--- /dev/null
+++ b/arch/all/helloworld/info.yml
@@ -0,0 +1,4 @@
+%YAML 1.2
+---
+magic: potatosdk-1.0
+description: The "Hello world" module, for demonstration purposes.
diff --git a/arch/all/helloworld/roles.yml b/arch/all/helloworld/roles.yml
new file mode 100644
index 0000000..4a94caa
--- /dev/null
+++ b/arch/all/helloworld/roles.yml
@@ -0,0 +1,6 @@
+%YAML 1.2
+---
+src:
+ helloworld.c: hello world function.
+include:
+ helloworld.h: hello world features.
diff --git a/arch/all/helloworld/src/helloworld.c b/arch/all/helloworld/src/helloworld.c
new file mode 100644
index 0000000..20562d8
--- /dev/null
+++ b/arch/all/helloworld/src/helloworld.c
@@ -0,0 +1,40 @@
+/* ****************************************************************************
+ * helloworld.c -- hello world function.
+ * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
+ *
+ * This file is part of the 'all/helloworld' module in libcarrot, an
+ * experimental modular libc project.
+ *
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
+ *
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
+ *
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
+ * ************************************************************************* */
+#include <helloworld.h>
+#include <stdio.h>
+
+/* This function prints the traditional "hello, world" message to
+ * standard output. */
+
+void hello_world(void)
+{
+ printf("hello, world\n");
+}
diff --git a/arch/all/iconv/copyright.yml b/arch/all/iconv/copyright.yml
index b9cb33b..f4d127d 100644
--- a/arch/all/iconv/copyright.yml
+++ b/arch/all/iconv/copyright.yml
@@ -3,4 +3,4 @@
files: '*'
copyright:
- [2017, Thomas "Cakeisalie5" Touhey, thomas@touhey.fr]
-license: LGPL-3
+license: free
diff --git a/arch/all/iconv/include/iconv.h b/arch/all/iconv/include/iconv.h
index 3531f6e..3cea155 100644
--- a/arch/all/iconv/include/iconv.h
+++ b/arch/all/iconv/include/iconv.h
@@ -1,23 +1,32 @@
/* ****************************************************************************
* iconv.h -- Generic Conversion Interface.
- *
* Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'all/iconv' module in libcarrot, an experimental
* modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
- *
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
+ *
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
+ *
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#include <cdefs.h>
#include <stddef.h>
diff --git a/arch/all/iconv/src/conv/utf8_to_wchar.c b/arch/all/iconv/src/conv/utf8_to_wchar.c
index 7048008..22654ef 100644
--- a/arch/all/iconv/src/conv/utf8_to_wchar.c
+++ b/arch/all/iconv/src/conv/utf8_to_wchar.c
@@ -1,23 +1,32 @@
/* ****************************************************************************
* conv/utf8_to_wchar.c -- UTF-8 to `wchar_t`.
- *
* Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'all/iconv' module in libcarrot, an experimental
* modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#include "../iconv.h"
#define set_utf8_cookie(c_count, c_ini) { \
diff --git a/arch/all/iconv/src/conv/wchar_to_utf8.c b/arch/all/iconv/src/conv/wchar_to_utf8.c
index f0975d0..27499f8 100644
--- a/arch/all/iconv/src/conv/wchar_to_utf8.c
+++ b/arch/all/iconv/src/conv/wchar_to_utf8.c
@@ -1,23 +1,32 @@
/* ****************************************************************************
* conv/wchar_to_utf8.c -- `wchar_t` to UTF-8.
- *
* Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'all/iconv' module in libcarrot, an experimental
* modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#include "../iconv.h"
diff --git a/arch/all/iconv/src/iconv.c b/arch/all/iconv/src/iconv.c
index 6d1b2a4..5b870fc 100644
--- a/arch/all/iconv/src/iconv.c
+++ b/arch/all/iconv/src/iconv.c
@@ -1,23 +1,32 @@
/* ****************************************************************************
* iconv.c -- Main conversion function.
- *
* Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'all/iconv' module in libcarrot, an experimental
* modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#include "iconv.h"
diff --git a/arch/all/iconv/src/open.c b/arch/all/iconv/src/open.c
index 742fe26..5e426e2 100644
--- a/arch/all/iconv/src/open.c
+++ b/arch/all/iconv/src/open.c
@@ -1,23 +1,32 @@
/* ****************************************************************************
* open.c -- Open and close an iconv descriptor.
- *
* Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'all/iconv' module in libcarrot, an experimental
* modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#include "iconv.h"
diff --git a/arch/all/iconv/src/routes.c b/arch/all/iconv/src/routes.c
index 6561893..9ec3b32 100644
--- a/arch/all/iconv/src/routes.c
+++ b/arch/all/iconv/src/routes.c
@@ -1,23 +1,32 @@
/* ****************************************************************************
* routes.c -- Encoding routes.
- *
* Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'all/iconv' module in libcarrot, an experimental
* modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#include "iconv.h"
#define ENT(FROM, TO, FUNC) \
diff --git a/arch/all/math/copyright.yml b/arch/all/math/copyright.yml
index b9cb33b..f4d127d 100644
--- a/arch/all/math/copyright.yml
+++ b/arch/all/math/copyright.yml
@@ -3,4 +3,4 @@
files: '*'
copyright:
- [2017, Thomas "Cakeisalie5" Touhey, thomas@touhey.fr]
-license: LGPL-3
+license: free
diff --git a/arch/all/math/include/math.h b/arch/all/math/include/math.h
index 4752354..2aabb4f 100644
--- a/arch/all/math/include/math.h
+++ b/arch/all/math/include/math.h
@@ -1,23 +1,32 @@
/* ****************************************************************************
* math.h -- Math functions.
- *
* Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'all/math' module in libcarrot, an experimental
* modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#include <cdefs.h>
#include <errno.h>
diff --git a/arch/all/math/include/mathf.h b/arch/all/math/include/mathf.h
index 0a0b31f..82b74a3 100644
--- a/arch/all/math/include/mathf.h
+++ b/arch/all/math/include/mathf.h
@@ -1,23 +1,32 @@
/* ****************************************************************************
* mathf.h -- Math functions for floats.
- *
* Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'all/math' module in libcarrot, an experimental
* modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#include <cdefs.h>
#include <errno.h>
diff --git a/arch/all/stdcocorico/copyright.yml b/arch/all/stdcocorico/copyright.yml
index 93e584f..5d381e9 100644
--- a/arch/all/stdcocorico/copyright.yml
+++ b/arch/all/stdcocorico/copyright.yml
@@ -3,10 +3,10 @@
files: '*'
copyright:
- [2017, Thomas "Cakeisalie5" Touhey, thomas@touhey.fr]
-license: LGPL-3
+license: free
---
files: 'include/stdcocorico.h'
copyright:
- [2014, Simon "Gee" Giraudot, contact@ptilouk.net]
- [2017, Thomas "Cakeisalie5" Touhey, thomas@touhey.fr]
-license: LGPL-3
+license: free
diff --git a/arch/all/stdcocorico/include/stdcocorico.h b/arch/all/stdcocorico/include/stdcocorico.h
index 24716bb..4ca7604 100644
--- a/arch/all/stdcocorico/include/stdcocorico.h
+++ b/arch/all/stdcocorico/include/stdcocorico.h
@@ -1,24 +1,33 @@
/* ****************************************************************************
* stdcocorico.h -- Cocorico! Code in french.
- *
* Copyright (C) 2014 Simon "Gee" Giraudot <contact@ptilouk.net>
* Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'all/stdcocorico' module in libcarrot, an
* experimental modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#include <cdefs.h>
#include <stdlib.h>
diff --git a/arch/casiowin/README.md b/arch/casiowin/README.md
new file mode 100644
index 0000000..d1a0eff
--- /dev/null
+++ b/arch/casiowin/README.md
@@ -0,0 +1,2 @@
+# CASIOWIN (by CASIO)
+See `docs/casiowin/index.en.md`.
diff --git a/arch/casiowin/core-crt/copyright.yml b/arch/casiowin/core-crt/copyright.yml
index b9cb33b..f4d127d 100644
--- a/arch/casiowin/core-crt/copyright.yml
+++ b/arch/casiowin/core-crt/copyright.yml
@@ -3,4 +3,4 @@
files: '*'
copyright:
- [2017, Thomas "Cakeisalie5" Touhey, thomas@touhey.fr]
-license: LGPL-3
+license: free
diff --git a/arch/casiowin/core-crt/src/crt0.c b/arch/casiowin/core-crt/src/crt0.c
index 2eed0d5..c4d6f46 100644
--- a/arch/casiowin/core-crt/src/crt0.c
+++ b/arch/casiowin/core-crt/src/crt0.c
@@ -1,23 +1,32 @@
/* ****************************************************************************
* crt0.c -- Main C runtime initialization.
- *
* Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'casiowin/core-crt' module in libcarrot, an
* experimental modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#include <stdlib.h>
#include <string.h>
diff --git a/arch/casiowin/core/bits/time.h b/arch/casiowin/core/bits/time.h
index ea43a0f..e346e7f 100644
--- a/arch/casiowin/core/bits/time.h
+++ b/arch/casiowin/core/bits/time.h
@@ -1,23 +1,32 @@
/* ****************************************************************************
* time.h -- Standard time header internals.
- *
* Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'casiowin/core' module in libcarrot, an
* experimental modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
/* Number of ticks per second. */
# define __CLOCKS_PER_SEC 120
diff --git a/arch/casiowin/core/copyright.yml b/arch/casiowin/core/copyright.yml
index b9cb33b..f4d127d 100644
--- a/arch/casiowin/core/copyright.yml
+++ b/arch/casiowin/core/copyright.yml
@@ -3,4 +3,4 @@
files: '*'
copyright:
- [2017, Thomas "Cakeisalie5" Touhey, thomas@touhey.fr]
-license: LGPL-3
+license: free
diff --git a/arch/casiowin/core/src/assert/assert.c b/arch/casiowin/core/src/assert/assert.c
index 36237b7..197b35d 100644
--- a/arch/casiowin/core/src/assert/assert.c
+++ b/arch/casiowin/core/src/assert/assert.c
@@ -1,23 +1,32 @@
/* ****************************************************************************
* assert/assert.c -- Make an assertion failed pop-up.
- *
* Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'casiowin/core' module in libcarrot, an
* experimental modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#include <assert.h>
#include <stdio.h>
diff --git a/arch/casiowin/easy-grayscales/copyright.yml b/arch/casiowin/easy-grayscales/copyright.yml
index b9cb33b..f4d127d 100644
--- a/arch/casiowin/easy-grayscales/copyright.yml
+++ b/arch/casiowin/easy-grayscales/copyright.yml
@@ -3,4 +3,4 @@
files: '*'
copyright:
- [2017, Thomas "Cakeisalie5" Touhey, thomas@touhey.fr]
-license: LGPL-3
+license: free
diff --git a/arch/casiowin/easy-grayscales/include/draw.h b/arch/casiowin/easy-grayscales/include/draw.h
index ff8363a..103339f 100644
--- a/arch/casiowin/easy-grayscales/include/draw.h
+++ b/arch/casiowin/easy-grayscales/include/draw.h
@@ -1,23 +1,32 @@
/* ****************************************************************************
* draw.h -- Easy grayscale's draw utilities.
- *
* Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'casiowin/easy-grayscales' module in libcarrot, an
* experimental modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#include <cdefs.h>
diff --git a/arch/casiowin/easy-grayscales/include/gray.h b/arch/casiowin/easy-grayscales/include/gray.h
index 5f8d580..3d08339 100644
--- a/arch/casiowin/easy-grayscales/include/gray.h
+++ b/arch/casiowin/easy-grayscales/include/gray.h
@@ -1,23 +1,32 @@
/* ****************************************************************************
* gray.h -- Easy grayscale's gray drawing utilities.
- *
* Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'casiowin/easy-grayscales' module in libcarrot, an
* experimental modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#include <cdefs.h>
diff --git a/arch/casiowin/easy-input/copyright.yml b/arch/casiowin/easy-input/copyright.yml
index 37ca27a..d97c74d 100644
--- a/arch/casiowin/easy-input/copyright.yml
+++ b/arch/casiowin/easy-input/copyright.yml
@@ -4,9 +4,9 @@ files: 'src/*'
copyright:
- [2015, 2016, Louis "Dark Storm" Gatin, l.gatin@neuf.fr]
- [2016, 2017, Thomas "Cakeisalie5" Touhey, thomas@touhey.fr]
-license: LGPL-3
+license: free
---
files: '*'
copyright:
- [2017, Thomas "Cakeisalie5" Touhey, thomas@touhey.fr]
-license: LGPL-3
+license: free
diff --git a/arch/casiowin/easy-input/include/EasyInput.h b/arch/casiowin/easy-input/include/EasyInput.h
index 1aceb1a..6e5d287 100644
--- a/arch/casiowin/easy-input/include/EasyInput.h
+++ b/arch/casiowin/easy-input/include/EasyInput.h
@@ -1,23 +1,32 @@
/* ****************************************************************************
* EasyInput.h -- Easy input.
- *
* Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'casiowin/easy-input' module in libcarrot, an
* experimental modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#include <cdefs.h>
#include <fxlib.h>
diff --git a/arch/casiowin/easy-input/src/main.c b/arch/casiowin/easy-input/src/main.c
index 8d6c15f..fa677cf 100644
--- a/arch/casiowin/easy-input/src/main.c
+++ b/arch/casiowin/easy-input/src/main.c
@@ -1,24 +1,33 @@
/* ****************************************************************************
* main.c -- the easy input main file.
- *
* Copyright (C) 2015-2016 Louis "Dark Storm" Gatin <l.gatin@neuf.fr>
* Copyright (C) 2016-2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'casiowin/easy-input' module in libcarrot, an
* experimental modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#include <EasyInput.h>
diff --git a/arch/casiowin/fxlib/copyright.yml b/arch/casiowin/fxlib/copyright.yml
index b9cb33b..f4d127d 100644
--- a/arch/casiowin/fxlib/copyright.yml
+++ b/arch/casiowin/fxlib/copyright.yml
@@ -3,4 +3,4 @@
files: '*'
copyright:
- [2017, Thomas "Cakeisalie5" Touhey, thomas@touhey.fr]
-license: LGPL-3
+license: free
diff --git a/arch/casiowin/fxlib/docs b/arch/casiowin/fxlib/docs
new file mode 120000
index 0000000..158290c
--- /dev/null
+++ b/arch/casiowin/fxlib/docs
@@ -0,0 +1 @@
+../../../docs/casiowin/fxlib \ No newline at end of file
diff --git a/arch/casiowin/fxlib/include/commbios.h b/arch/casiowin/fxlib/include/commbios.h
index bc7a4c6..606919b 100644
--- a/arch/casiowin/fxlib/include/commbios.h
+++ b/arch/casiowin/fxlib/include/commbios.h
@@ -1,23 +1,32 @@
/* ****************************************************************************
* commbios.h -- fxlib's communication definitions.
- *
* Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'casiowin/fxlib' module in libcarrot, an
* experimental modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#include <fxlib/cdefs.h>
#if __USE_FXLIB_UNOFFICIAL
diff --git a/arch/casiowin/fxlib/include/dispbios.h b/arch/casiowin/fxlib/include/dispbios.h
index 012b906..0c3bdea 100644
--- a/arch/casiowin/fxlib/include/dispbios.h
+++ b/arch/casiowin/fxlib/include/dispbios.h
@@ -1,23 +1,32 @@
/* ****************************************************************************
* dispbios.h -- fxlib's display definitions.
- *
* Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'casiowin/fxlib' module in libcarrot, an
* experimental modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#include <fxlib/cdefs.h>
__BEGIN_NAMESPACE_FXLIB
diff --git a/arch/casiowin/fxlib/include/filebios.h b/arch/casiowin/fxlib/include/filebios.h
index b5336c1..337a50d 100644
--- a/arch/casiowin/fxlib/include/filebios.h
+++ b/arch/casiowin/fxlib/include/filebios.h
@@ -1,23 +1,32 @@
/* ****************************************************************************
* filebios.h -- fxlib's file definitions.
- *
* Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'casiowin/fxlib' module in libcarrot, an
* experimental modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#include <fxlib/cdefs.h>
diff --git a/arch/casiowin/fxlib/include/fxlib.h b/arch/casiowin/fxlib/include/fxlib.h
index 92caa1b..c4c6102 100644
--- a/arch/casiowin/fxlib/include/fxlib.h
+++ b/arch/casiowin/fxlib/include/fxlib.h
@@ -1,23 +1,32 @@
/* ****************************************************************************
* fxlib.h -- library for interacting with CASIO's fx calculators.
- *
* Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'casiowin/fxlib' module in libcarrot, an
* experimental modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#include <fxlib/cdefs.h>
#include <stdlib.h>
diff --git a/arch/casiowin/fxlib/include/fxlib/app.h b/arch/casiowin/fxlib/include/fxlib/app.h
index cba5f53..02422d3 100644
--- a/arch/casiowin/fxlib/include/fxlib/app.h
+++ b/arch/casiowin/fxlib/include/fxlib/app.h
@@ -1,23 +1,32 @@
/* ****************************************************************************
* fxlib/app.h -- fxlib's app management.
- *
* Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'casiowin/fxlib' module in libcarrot, an
* experimental modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#include <fxlib/cdefs.h>
#if __USE_FXLIB_UNOFFICIAL
diff --git a/arch/casiowin/fxlib/include/fxlib/battery.h b/arch/casiowin/fxlib/include/fxlib/battery.h
index 7c6a6cc..a39ff42 100644
--- a/arch/casiowin/fxlib/include/fxlib/battery.h
+++ b/arch/casiowin/fxlib/include/fxlib/battery.h
@@ -1,23 +1,32 @@
/* ****************************************************************************
* fxlib/battery.h -- fxlib's battery management.
- *
* Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'casiowin/fxlib' module in libcarrot, an
* experimental modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#include <fxlib/cdefs.h>
#if __USE_FXLIB_UNOFFICIAL
diff --git a/arch/casiowin/fxlib/include/fxlib/bcd.h b/arch/casiowin/fxlib/include/fxlib/bcd.h
index a621be6..1373693 100644
--- a/arch/casiowin/fxlib/include/fxlib/bcd.h
+++ b/arch/casiowin/fxlib/include/fxlib/bcd.h
@@ -1,23 +1,32 @@
/* ****************************************************************************
* fxlib/bcd.h -- fxlib's BCD numbers management.
- *
* Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'casiowin/fxlib' module in libcarrot, an
* experimental modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#include <fxlib/cdefs.h>
#if __USE_FXLIB_UNOFFICIAL
diff --git a/arch/casiowin/fxlib/include/fxlib/cdefs.h b/arch/casiowin/fxlib/include/fxlib/cdefs.h
index e4a0363..ef3e63e 100644
--- a/arch/casiowin/fxlib/include/fxlib/cdefs.h
+++ b/arch/casiowin/fxlib/include/fxlib/cdefs.h
@@ -1,23 +1,32 @@
/* ****************************************************************************
* fxlib/cdefs.h -- fxlib's C definitions.
- *
* Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'casiowin/fxlib' module in libcarrot, an
* experimental modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#include <cdefs.h>
diff --git a/arch/casiowin/fxlib/include/fxlib/clock.h b/arch/casiowin/fxlib/include/fxlib/clock.h
index d1e662d..299ae57 100644
--- a/arch/casiowin/fxlib/include/fxlib/clock.h
+++ b/arch/casiowin/fxlib/include/fxlib/clock.h
@@ -1,23 +1,32 @@
/* ****************************************************************************
* fxlib/clock.h -- fxlib's clock management.
- *
* Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'casiowin/fxlib' module in libcarrot, an
* experimental modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#include <fxlib/cdefs.h>
#if __USE_FXLIB_UNOFFICIAL
diff --git a/arch/casiowin/fxlib/include/fxlib/comm.h b/arch/casiowin/fxlib/include/fxlib/comm.h
index 4266b7f..76a57e2 100644
--- a/arch/casiowin/fxlib/include/fxlib/comm.h
+++ b/arch/casiowin/fxlib/include/fxlib/comm.h
@@ -1,23 +1,32 @@
/* ****************************************************************************
* fxlib/comm.h -- fxlib's communication management.
- *
* Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'casiowin/fxlib' module in libcarrot, an
* experimental modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#include <fxlib/cdefs.h>
#include <commbios.h>
diff --git a/arch/casiowin/fxlib/include/fxlib/display.h b/arch/casiowin/fxlib/include/fxlib/display.h
index 751cf14..fc62a7f 100644
--- a/arch/casiowin/fxlib/include/fxlib/display.h
+++ b/arch/casiowin/fxlib/include/fxlib/display.h
@@ -1,23 +1,32 @@
/* ****************************************************************************
* fxlib/display.h -- fxlib's display management.
- *
* Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'casiowin/fxlib' module in libcarrot, an
* experimental modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#include <fxlib/cdefs.h>
#include <dispbios.h>
diff --git a/arch/casiowin/fxlib/include/fxlib/file.h b/arch/casiowin/fxlib/include/fxlib/file.h
index b1b165a..f146b06 100644
--- a/arch/casiowin/fxlib/include/fxlib/file.h
+++ b/arch/casiowin/fxlib/include/fxlib/file.h
@@ -1,23 +1,32 @@
/* ****************************************************************************
* fxlib/file.h -- fxlib's file management.
- *
* Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'casiowin/fxlib' module in libcarrot, an
* experimental modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#include <fxlib/cdefs.h>
#include <filebios.h>
diff --git a/arch/casiowin/fxlib/include/fxlib/keyboard.h b/arch/casiowin/fxlib/include/fxlib/keyboard.h
index fdcadab..921b6d0 100644
--- a/arch/casiowin/fxlib/include/fxlib/keyboard.h
+++ b/arch/casiowin/fxlib/include/fxlib/keyboard.h
@@ -1,23 +1,32 @@
/* ****************************************************************************
* fxlib/keyboard.h -- fxlib's keyboard management.
- *
* Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'casiowin/fxlib' module in libcarrot, an
* experimental modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#include <fxlib/cdefs.h>
#include <keybios.h>
diff --git a/arch/casiowin/fxlib/include/fxlib/serial.h b/arch/casiowin/fxlib/include/fxlib/serial.h
index 6bba784..2280fcd 100644
--- a/arch/casiowin/fxlib/include/fxlib/serial.h
+++ b/arch/casiowin/fxlib/include/fxlib/serial.h
@@ -1,23 +1,32 @@
/* ****************************************************************************
* fxlib/serial.h -- fxlib's serial management.
- *
* Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'casiowin/fxlib' module in libcarrot, an
* experimental modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#include <fxlib/cdefs.h>
#include <fxlib/comm.h>
diff --git a/arch/casiowin/fxlib/include/fxlib/syscall.h b/arch/casiowin/fxlib/include/fxlib/syscall.h
index 41963cd..a691ee5 100644
--- a/arch/casiowin/fxlib/include/fxlib/syscall.h
+++ b/arch/casiowin/fxlib/include/fxlib/syscall.h
@@ -1,23 +1,32 @@
/* ****************************************************************************
* fxlib/syscall.h -- fxlib's syscall definition for ASM-C.
- *
* Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'casiowin/fxlib' module in libcarrot, an
* experimental modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
/* Make a syscall. */
diff --git a/arch/casiowin/fxlib/include/fxlib/timer.h b/arch/casiowin/fxlib/include/fxlib/timer.h
index 08d4a15..e119d28 100644
--- a/arch/casiowin/fxlib/include/fxlib/timer.h
+++ b/arch/casiowin/fxlib/include/fxlib/timer.h
@@ -1,23 +1,32 @@
/* ****************************************************************************
* fxlib/timer.h -- fxlib's timer management.
- *
* Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'casiowin/fxlib' module in libcarrot, an
* experimental modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#include <fxlib/cdefs.h>
#include <timer.h>
diff --git a/arch/casiowin/fxlib/include/keybios.h b/arch/casiowin/fxlib/include/keybios.h
index d9fa8d9..87ec2f3 100644
--- a/arch/casiowin/fxlib/include/keybios.h
+++ b/arch/casiowin/fxlib/include/keybios.h
@@ -1,23 +1,32 @@
/* ****************************************************************************
* keybios.h -- fxlib's keyboard definitions.
- *
* Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'casiowin/fxlib' module in libcarrot, an
* experimental modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#include <fxlib/cdefs.h>
__BEGIN_NAMESPACE_FXLIB
diff --git a/arch/casiowin/fxlib/include/timer.h b/arch/casiowin/fxlib/include/timer.h
index b2112bb..3bf7a66 100644
--- a/arch/casiowin/fxlib/include/timer.h
+++ b/arch/casiowin/fxlib/include/timer.h
@@ -1,23 +1,32 @@
/* ****************************************************************************
* timer.h -- fxlib's timer definitions.
- *
* Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'casiowin/fxlib' module in libcarrot, an
* experimental modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#include <fxlib/cdefs.h>
__BEGIN_NAMESPACE_FXLIB
diff --git a/arch/casiowin/fxlib/src/dirent/error.c b/arch/casiowin/fxlib/src/dirent/error.c
index d48a8c0..ebe83a4 100644
--- a/arch/casiowin/fxlib/src/dirent/error.c
+++ b/arch/casiowin/fxlib/src/dirent/error.c
@@ -1,23 +1,32 @@
/* ****************************************************************************
* dirent/error.c -- Standard error number from file-specific error.
- *
* Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'casiowin/fxlib' module in libcarrot, an
* experimental modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#include "dirent.h"
diff --git a/arch/casiowin/fxlib/src/dirent/open.c b/arch/casiowin/fxlib/src/dirent/open.c
index 7b446ba..5e20fe0 100644
--- a/arch/casiowin/fxlib/src/dirent/open.c
+++ b/arch/casiowin/fxlib/src/dirent/open.c
@@ -1,23 +1,32 @@
/* ****************************************************************************
* dirent/open.c -- Open a directory stream.
- *
* Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'casiowin/fxlib' module in libcarrot, an
* experimental modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#include "dirent.h"
#include <stdlib.h>
diff --git a/arch/casiowin/fxlib/src/file/sdk.c b/arch/casiowin/fxlib/src/file/sdk.c
index 808fed6..bc73123 100644
--- a/arch/casiowin/fxlib/src/file/sdk.c
+++ b/arch/casiowin/fxlib/src/file/sdk.c
@@ -1,23 +1,32 @@
/* ****************************************************************************
* file/sdk.c -- File related functions.
- *
* Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'casiowin/fxlib' module in libcarrot, an
* experimental modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#include <fxlib/file.h>
diff --git a/arch/casiowin/fxlib/src/syscall.h b/arch/casiowin/fxlib/src/syscall.h
index 6b9d67f..9fa952f 100644
--- a/arch/casiowin/fxlib/src/syscall.h
+++ b/arch/casiowin/fxlib/src/syscall.h
@@ -27,7 +27,7 @@
.align 2; _NAME: \
mov.l 1f, r2; \
mov.l 2f, r0; \
- jmp @r2; \
+ jsr @r2; \
nop; \
1: .long 0x80010070; \
2: .long _X
diff --git a/arch/casiowin/fxlib/src/timer/sdk.c b/arch/casiowin/fxlib/src/timer/sdk.c
index 84e7126..b085021 100644
--- a/arch/casiowin/fxlib/src/timer/sdk.c
+++ b/arch/casiowin/fxlib/src/timer/sdk.c
@@ -1,23 +1,32 @@
/* ****************************************************************************
* timer/sdk.c -- fxlib-compatible timer functions.
- *
* Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'casiowin/fxlib' module in libcarrot, an
* experimental modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#include <fxlib/timer.h>
diff --git a/arch/casiowin/application.ld b/arch/casiowin/g1a.ld
index 752cc5c..752cc5c 100644
--- a/arch/casiowin/application.ld
+++ b/arch/casiowin/g1a.ld
diff --git a/arch/casiowin/info.yml b/arch/casiowin/info.yml
index db5a438..8b6936f 100644
--- a/arch/casiowin/info.yml
+++ b/arch/casiowin/info.yml
@@ -2,11 +2,14 @@
---
magic: potatosdk-1.0
description: >-
- The name of the OS on CASIO's fx-9860G series calculators, from 2005
- to nowadays' monochrome calculators.
+ The OS on CASIO's fx-9860G series calculators, from 2005 to nowadays'
+ monochrome calculators.
arch:
- sh3
- sh4a
+formats:
+ bin:
+ - g1a
default:
c:
- casiowin/core
diff --git a/arch/casiowin/libfxsys/copyright.yml b/arch/casiowin/libfxsys/copyright.yml
index b9cb33b..f4d127d 100644
--- a/arch/casiowin/libfxsys/copyright.yml
+++ b/arch/casiowin/libfxsys/copyright.yml
@@ -3,4 +3,4 @@
files: '*'
copyright:
- [2017, Thomas "Cakeisalie5" Touhey, thomas@touhey.fr]
-license: LGPL-3
+license: free
diff --git a/arch/casiowin/libfxsys/include/app.h b/arch/casiowin/libfxsys/include/app.h
index 8f2ac26..1d2a7ed 100644
--- a/arch/casiowin/libfxsys/include/app.h
+++ b/arch/casiowin/libfxsys/include/app.h
@@ -1,22 +1,31 @@
/* ****************************************************************************
* app.h -- libfxsys' app management.
- *
* Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'casiowin/libfxsys' module in libcarrot, an
* experimental modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#include <fxlib/app.h>
diff --git a/arch/casiowin/libfxsys/include/asm.h b/arch/casiowin/libfxsys/include/asm.h
index 400bdbd..9132180 100644
--- a/arch/casiowin/libfxsys/include/asm.h
+++ b/arch/casiowin/libfxsys/include/asm.h
@@ -1,23 +1,32 @@
/* ****************************************************************************
* asm.h -- libfxsys' assembly utilities.
- *
* Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'casiowin/libfxsys' module in libcarrot, an
* experimental modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
/* Make the syscall entry */
diff --git a/arch/casiowin/libfxsys/include/disp.h b/arch/casiowin/libfxsys/include/disp.h
index 70e72f1..b52906b 100644
--- a/arch/casiowin/libfxsys/include/disp.h
+++ b/arch/casiowin/libfxsys/include/disp.h
@@ -1,22 +1,31 @@
/* ****************************************************************************
* disp.h -- libfxsys' display management.
- *
* Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'casiowin/libfxsys' module in libcarrot, an
* experimental modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#include <fx/display.h>
diff --git a/arch/casiowin/libfxsys/include/file.h b/arch/casiowin/libfxsys/include/file.h
index 05bf218..d469bb6 100644
--- a/arch/casiowin/libfxsys/include/file.h
+++ b/arch/casiowin/libfxsys/include/file.h
@@ -1,22 +1,31 @@
/* ****************************************************************************
* file.h -- libfxsys' file management.
- *
* Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'casiowin/libfxsys' module in libcarrot, an
* experimental modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#include <fx/file.h>
diff --git a/arch/casiowin/libfxsys/include/key.h b/arch/casiowin/libfxsys/include/key.h
index 3307914..f1abd24 100644
--- a/arch/casiowin/libfxsys/include/key.h
+++ b/arch/casiowin/libfxsys/include/key.h
@@ -1,22 +1,31 @@
/* ****************************************************************************
* key.h -- libfxsys' keyboard management.
- *
* Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'casiowin/libfxsys' module in libcarrot, an
* experimental modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#include <fx/keyboard.h>
diff --git a/arch/casiowin/libfxsys/include/keycodes.h b/arch/casiowin/libfxsys/include/keycodes.h
index de0f59b..a1797f7 100644
--- a/arch/casiowin/libfxsys/include/keycodes.h
+++ b/arch/casiowin/libfxsys/include/keycodes.h
@@ -1,22 +1,31 @@
/* ****************************************************************************
* keycodes.h -- libfxsys' keyboard definitions.
- *
* Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'casiowin/libfxsys' module in libcarrot, an
* experimental modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#include <keybios.h>
diff --git a/arch/casiowin/libfxsys/include/official.h b/arch/casiowin/libfxsys/include/official.h
index fdf9786..62a8cbe 100644
--- a/arch/casiowin/libfxsys/include/official.h
+++ b/arch/casiowin/libfxsys/include/official.h
@@ -1,23 +1,32 @@
/* ****************************************************************************
* official.h -- libfxsys' official calls.
- *
* Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'casiowin/libfxsys' module in libcarrot, an
* experimental modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
/* Technically, this macro is supposed to tell the headers we include not
* to define any non-official system call/interaction, but you know...
diff --git a/arch/casiowin/libfxsys/include/print.h b/arch/casiowin/libfxsys/include/print.h
index df27338..646d9f8 100644
--- a/arch/casiowin/libfxsys/include/print.h
+++ b/arch/casiowin/libfxsys/include/print.h
@@ -1,22 +1,31 @@
/* ****************************************************************************
* print.h -- libfxsys' character display management.
- *
* Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'casiowin/libfxsys' module in libcarrot, an
* experimental modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#include <fx/display.h>
diff --git a/arch/casiowin/libfxsys/include/rtc.h b/arch/casiowin/libfxsys/include/rtc.h
index 0822cde..4bd3d36 100644
--- a/arch/casiowin/libfxsys/include/rtc.h
+++ b/arch/casiowin/libfxsys/include/rtc.h
@@ -1,22 +1,31 @@
/* ****************************************************************************
* rtc.h -- libfxsys' clock management.
- *
* Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'casiowin/libfxsys' module in libcarrot, an
* experimental modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#include <fx/clock.h>
diff --git a/arch/casiowin/libfxsys/include/syscall.h b/arch/casiowin/libfxsys/include/syscall.h
index 4b8cf19..3df9641 100644
--- a/arch/casiowin/libfxsys/include/syscall.h
+++ b/arch/casiowin/libfxsys/include/syscall.h
@@ -1,22 +1,31 @@
/* ****************************************************************************
* syscall.h -- libfxsys' assembly utilities.
- *
* Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'casiowin/libfxsys' module in libcarrot, an
* experimental modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#include <asm.h>
diff --git a/arch/casiowin/monochromelib/copyright.yml b/arch/casiowin/monochromelib/copyright.yml
index 80959a7..6da12ec 100644
--- a/arch/casiowin/monochromelib/copyright.yml
+++ b/arch/casiowin/monochromelib/copyright.yml
@@ -6,4 +6,4 @@ files:
copyright:
- [2011, Pierre Le Gall, legallpierre89@gmail.com]
- [2016, 2017, Thomas "Cakeisalie5" Touhey, thomas@touhey.fr]
-license: LGPL-3
+license: free
diff --git a/arch/casiowin/monochromelib/docs b/arch/casiowin/monochromelib/docs
new file mode 120000
index 0000000..3266734
--- /dev/null
+++ b/arch/casiowin/monochromelib/docs
@@ -0,0 +1 @@
+../../../docs/casiowin/monochromelib \ No newline at end of file
diff --git a/arch/casiowin/monochromelib/include/MonochromeLib.h b/arch/casiowin/monochromelib/include/MonochromeLib.h
index 605d7bd..fb8cb48 100644
--- a/arch/casiowin/monochromelib/include/MonochromeLib.h
+++ b/arch/casiowin/monochromelib/include/MonochromeLib.h
@@ -1,23 +1,32 @@
/* ****************************************************************************
* MonochromeLib.h -- MonochromeLib's main header alias.
- *
* Copyright (C) 2011 Pierre Le Gall <legallpierre89@gmail.com>
* Copyright (C) 2016-2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'casiowin/monochromelib' module in libcarrot, an
* experimental modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#include <monochrome.h>
diff --git a/arch/casiowin/monochromelib/include/monochrome.h b/arch/casiowin/monochromelib/include/monochrome.h
index 8539bc4..bac360c 100644
--- a/arch/casiowin/monochromelib/include/monochrome.h
+++ b/arch/casiowin/monochromelib/include/monochrome.h
@@ -1,24 +1,33 @@
/* ****************************************************************************
* monochrome.h -- MonochromeLib's main header.
- *
* Copyright (C) 2011 Pierre Le Gall <legallpierre89@gmail.com>
* Copyright (C) 2016-2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'casiowin/monochromelib' module in libcarrot, an
* experimental modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#include <cdefs.h>
#include <stdlib.h>
diff --git a/arch/casiowin/monochromelib/src/bmp_16_and.c b/arch/casiowin/monochromelib/src/bmp_16_and.c
index 956d3b5..ca64569 100644
--- a/arch/casiowin/monochromelib/src/bmp_16_and.c
+++ b/arch/casiowin/monochromelib/src/bmp_16_and.c
@@ -1,24 +1,33 @@
/* ****************************************************************************
* bmp_16_and.c -- Display a 16x16 BMP, using ANDs.
- *
* Copyright (C) 2011 Pierre Le Gall <legallpierre89@gmail.com>
* Copyright (C) 2016-2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'casiowin/monochromelib' module in libcarrot, an
* experimental modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#include <monochrome.h>
diff --git a/arch/casiowin/monochromelib/src/bmp_16_and_cl.c b/arch/casiowin/monochromelib/src/bmp_16_and_cl.c
index cdb42f7..53b6c35 100644
--- a/arch/casiowin/monochromelib/src/bmp_16_and_cl.c
+++ b/arch/casiowin/monochromelib/src/bmp_16_and_cl.c
@@ -1,24 +1,33 @@
/* ****************************************************************************
* bmp_16_and_cl.c -- Display a 16x16 BMP, using ANDs and clipping.
- *
* Copyright (C) 2011 Pierre Le Gall <legallpierre89@gmail.com>
* Copyright (C) 2016-2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'casiowin/monochromelib' module in libcarrot, an
* experimental modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#include <monochrome.h>
diff --git a/arch/casiowin/monochromelib/src/bmp_16_or.c b/arch/casiowin/monochromelib/src/bmp_16_or.c
index 0c8d84e..6827f6b 100644
--- a/arch/casiowin/monochromelib/src/bmp_16_or.c
+++ b/arch/casiowin/monochromelib/src/bmp_16_or.c
@@ -1,24 +1,33 @@
/* ****************************************************************************
* bmp_16_or.c -- Display a 16x16 BMP, using ORs.
- *
* Copyright (C) 2011 Pierre Le Gall <legallpierre89@gmail.com>
* Copyright (C) 2016-2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'casiowin/monochromelib' module in libcarrot, an
* experimental modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#include <monochrome.h>
diff --git a/arch/casiowin/monochromelib/src/bmp_16_or_cl.c b/arch/casiowin/monochromelib/src/bmp_16_or_cl.c
index 3293f16..8bc7076 100644
--- a/arch/casiowin/monochromelib/src/bmp_16_or_cl.c
+++ b/arch/casiowin/monochromelib/src/bmp_16_or_cl.c
@@ -1,24 +1,33 @@
/* ****************************************************************************
* bmp_16_or_cl.c -- Display a 16x16 BMP, using ORs and clipping.
- *
* Copyright (C) 2011 Pierre Le Gall <legallpierre89@gmail.com>
* Copyright (C) 2016-2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'casiowin/monochromelib' module in libcarrot, an
* experimental modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#include <monochrome.h>
diff --git a/arch/casiowin/monochromelib/src/bmp_16_xor.c b/arch/casiowin/monochromelib/src/bmp_16_xor.c
index d09cc6a..b341fa5 100644
--- a/arch/casiowin/monochromelib/src/bmp_16_xor.c
+++ b/arch/casiowin/monochromelib/src/bmp_16_xor.c
@@ -1,24 +1,33 @@
/* ****************************************************************************
* bmp_16_xor.c -- Display a 16x16 BMP, using XORs.
- *
* Copyright (C) 2011 Pierre Le Gall <legallpierre89@gmail.com>
* Copyright (C) 2016-2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'casiowin/monochromelib' module in libcarrot, an
* experimental modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#include <monochrome.h>
diff --git a/arch/casiowin/monochromelib/src/bmp_16_xor_cl.c b/arch/casiowin/monochromelib/src/bmp_16_xor_cl.c
index 10f6af9..a0f6634 100644
--- a/arch/casiowin/monochromelib/src/bmp_16_xor_cl.c
+++ b/arch/casiowin/monochromelib/src/bmp_16_xor_cl.c
@@ -1,24 +1,33 @@
/* ****************************************************************************
* bmp_16_xor_cl.c -- Display a 16x16 BMP, using XORs and clipping.
- *
* Copyright (C) 2011 Pierre Le Gall <legallpierre89@gmail.com>
* Copyright (C) 2016-2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'casiowin/monochromelib' module in libcarrot, an
* experimental modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#include <monochrome.h>
diff --git a/arch/casiowin/monochromelib/src/bmp_8_and.c b/arch/casiowin/monochromelib/src/bmp_8_and.c
index be52933..33ccc5a 100644
--- a/arch/casiowin/monochromelib/src/bmp_8_and.c
+++ b/arch/casiowin/monochromelib/src/bmp_8_and.c
@@ -1,24 +1,33 @@
/* ****************************************************************************
* bmp_8_and.c -- Display a 8x8 BMP, using ANDs.
- *
* Copyright (C) 2011 Pierre Le Gall <legallpierre89@gmail.com>
* Copyright (C) 2016-2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'casiowin/monochromelib' module in libcarrot, an
* experimental modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#include <monochrome.h>
diff --git a/arch/casiowin/monochromelib/src/bmp_8_and_cl.c b/arch/casiowin/monochromelib/src/bmp_8_and_cl.c
index a8b5a4a..6874af9 100644
--- a/arch/casiowin/monochromelib/src/bmp_8_and_cl.c
+++ b/arch/casiowin/monochromelib/src/bmp_8_and_cl.c
@@ -1,24 +1,33 @@
/* ****************************************************************************
* bmp_8_and_cl.c -- Display a 8x8 BMP, using ANDs and clipping.
- *
* Copyright (C) 2011 Pierre Le Gall <legallpierre89@gmail.com>
* Copyright (C) 2016-2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'casiowin/monochromelib' module in libcarrot, an
* experimental modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#include <monochrome.h>
diff --git a/arch/casiowin/monochromelib/src/bmp_8_or.c b/arch/casiowin/monochromelib/src/bmp_8_or.c
index ec946a3..88cfc5d 100644
--- a/arch/casiowin/monochromelib/src/bmp_8_or.c
+++ b/arch/casiowin/monochromelib/src/bmp_8_or.c
@@ -1,24 +1,33 @@
/* ****************************************************************************
* bmp_8_or.c -- Display a 8x8 BMP, using ORs.
- *
* Copyright (C) 2011 Pierre Le Gall <legallpierre89@gmail.com>
* Copyright (C) 2016-2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'casiowin/monochromelib' module in libcarrot, an
* experimental modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#include <monochrome.h>
diff --git a/arch/casiowin/monochromelib/src/bmp_8_or_cl.c b/arch/casiowin/monochromelib/src/bmp_8_or_cl.c
index c271974..f142250 100644
--- a/arch/casiowin/monochromelib/src/bmp_8_or_cl.c
+++ b/arch/casiowin/monochromelib/src/bmp_8_or_cl.c
@@ -1,24 +1,33 @@
/* ****************************************************************************
* bmp_8_or_cl.c -- Display a 8x8 BMP, using ORs and clipping.
- *
* Copyright (C) 2011 Pierre Le Gall <legallpierre89@gmail.com>
* Copyright (C) 2016-2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'casiowin/monochromelib' module in libcarrot, an
* experimental modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#include <monochrome.h>
diff --git a/arch/casiowin/monochromelib/src/bmp_8_xor.c b/arch/casiowin/monochromelib/src/bmp_8_xor.c
index 5cf4043..1b36d2e 100644
--- a/arch/casiowin/monochromelib/src/bmp_8_xor.c
+++ b/arch/casiowin/monochromelib/src/bmp_8_xor.c
@@ -1,24 +1,33 @@
/* ****************************************************************************
* bmp_8_xor.c -- Display a 8x8 BMP, using XORs.
- *
* Copyright (C) 2011 Pierre Le Gall <legallpierre89@gmail.com>
* Copyright (C) 2016-2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'casiowin/monochromelib' module in libcarrot, an
* experimental modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#include <monochrome.h>
diff --git a/arch/casiowin/monochromelib/src/bmp_8_xor_cl.c b/arch/casiowin/monochromelib/src/bmp_8_xor_cl.c
index 01728d2..df66b8d 100644
--- a/arch/casiowin/monochromelib/src/bmp_8_xor_cl.c
+++ b/arch/casiowin/monochromelib/src/bmp_8_xor_cl.c
@@ -1,24 +1,33 @@
/* ****************************************************************************
* bmp_8_xor_cl.c -- Display a 8x8 BMP, using XORs and clipping.
- *
* Copyright (C) 2011 Pierre Le Gall <legallpierre89@gmail.com>
* Copyright (C) 2016-2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'casiowin/monochromelib' module in libcarrot, an
* experimental modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#include <monochrome.h>
diff --git a/arch/casiowin/monochromelib/src/bmp_and.c b/arch/casiowin/monochromelib/src/bmp_and.c
index f5218ef..f69b44c 100644
--- a/arch/casiowin/monochromelib/src/bmp_and.c
+++ b/arch/casiowin/monochromelib/src/bmp_and.c
@@ -1,24 +1,33 @@
/* ****************************************************************************
* bmp_and.c -- Display a BMP, using ANDs.
- *
* Copyright (C) 2011 Pierre Le Gall <legallpierre89@gmail.com>
* Copyright (C) 2016-2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'casiowin/monochromelib' module in libcarrot, an
* experimental modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#include <monochrome.h>
diff --git a/arch/casiowin/monochromelib/src/bmp_and_cl.c b/arch/casiowin/monochromelib/src/bmp_and_cl.c
index b4c09d9..af80407 100644
--- a/arch/casiowin/monochromelib/src/bmp_and_cl.c
+++ b/arch/casiowin/monochromelib/src/bmp_and_cl.c
@@ -1,24 +1,33 @@
/* ****************************************************************************
* bmp_and_cl.c -- Display a BMP, using ANDs and clipping.
- *
* Copyright (C) 2011 Pierre Le Gall <legallpierre89@gmail.com>
* Copyright (C) 2016-2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'casiowin/monochromelib' module in libcarrot, an
* experimental modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#include <monochrome.h>
diff --git a/arch/casiowin/monochromelib/src/bmp_or.c b/arch/casiowin/monochromelib/src/bmp_or.c
index 9ca0fb5..8738e55 100644
--- a/arch/casiowin/monochromelib/src/bmp_or.c
+++ b/arch/casiowin/monochromelib/src/bmp_or.c
@@ -1,24 +1,33 @@
/* ****************************************************************************
* bmp_or.c -- Display a BMP, using ORs.
- *
* Copyright (C) 2011 Pierre Le Gall <legallpierre89@gmail.com>
* Copyright (C) 2016-2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'casiowin/monochromelib' module in libcarrot, an
* experimental modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#include <monochrome.h>
diff --git a/arch/casiowin/monochromelib/src/bmp_or_cl.c b/arch/casiowin/monochromelib/src/bmp_or_cl.c
index 06ab648..abe17c6 100644
--- a/arch/casiowin/monochromelib/src/bmp_or_cl.c
+++ b/arch/casiowin/monochromelib/src/bmp_or_cl.c
@@ -1,24 +1,33 @@
/* ****************************************************************************
* bmp_or_cl.c -- Display a BMP, using ORs and clipping.
- *
* Copyright (C) 2011 Pierre Le Gall <legallpierre89@gmail.com>
* Copyright (C) 2016-2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'casiowin/monochromelib' module in libcarrot, an
* experimental modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#include <monochrome.h>
diff --git a/arch/casiowin/monochromelib/src/bmp_xor.c b/arch/casiowin/monochromelib/src/bmp_xor.c
index ed6165c..9f49e1e 100644
--- a/arch/casiowin/monochromelib/src/bmp_xor.c
+++ b/arch/casiowin/monochromelib/src/bmp_xor.c
@@ -1,24 +1,33 @@
/* ****************************************************************************
* bmp_xor.c -- Display a BMP, using XORs.
- *
* Copyright (C) 2011 Pierre Le Gall <legallpierre89@gmail.com>
* Copyright (C) 2016-2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'casiowin/monochromelib' module in libcarrot, an
* experimental modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#include <monochrome.h>
diff --git a/arch/casiowin/monochromelib/src/bmp_xor_cl.c b/arch/casiowin/monochromelib/src/bmp_xor_cl.c
index 125d38a..4bbf449 100644
--- a/arch/casiowin/monochromelib/src/bmp_xor_cl.c
+++ b/arch/casiowin/monochromelib/src/bmp_xor_cl.c
@@ -1,24 +1,33 @@
/* ****************************************************************************
* bmp_xor_cl.c -- Display a BMP, using XORs and clipping.
- *
* Copyright (C) 2011 Pierre Le Gall <legallpierre89@gmail.com>
* Copyright (C) 2016-2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'casiowin/monochromelib' module in libcarrot, an
* experimental modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#include <monochrome.h>
diff --git a/arch/casiowin/monochromelib/src/circle.c b/arch/casiowin/monochromelib/src/circle.c
index 423cba0..5c16a49 100644
--- a/arch/casiowin/monochromelib/src/circle.c
+++ b/arch/casiowin/monochromelib/src/circle.c
@@ -1,24 +1,33 @@
/* ****************************************************************************
* circle.c -- Draw a circle.
- *
* Copyright (C) 2011 Pierre Le Gall <legallpierre89@gmail.com>
* Copyright (C) 2016-2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'casiowin/monochromelib' module in libcarrot, an
* experimental modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#include <monochrome.h>
diff --git a/arch/casiowin/monochromelib/src/clear_screen.c b/arch/casiowin/monochromelib/src/clear_screen.c
index d173367..1346034 100644
--- a/arch/casiowin/monochromelib/src/clear_screen.c
+++ b/arch/casiowin/monochromelib/src/clear_screen.c
@@ -1,24 +1,33 @@
/* ****************************************************************************
* clear_screen.c -- Clear the screen.
- *
* Copyright (C) 2011 Pierre Le Gall <legallpierre89@gmail.com>
* Copyright (C) 2016-2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'casiowin/monochromelib' module in libcarrot, an
* experimental modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#include <monochrome.h>
diff --git a/arch/casiowin/monochromelib/src/clear_vram.c b/arch/casiowin/monochromelib/src/clear_vram.c
index f69a353..667e573 100644
--- a/arch/casiowin/monochromelib/src/clear_vram.c
+++ b/arch/casiowin/monochromelib/src/clear_vram.c
@@ -1,24 +1,33 @@
/* ****************************************************************************
* clear_vram.c -- Clear the VRAM.
- *
* Copyright (C) 2011 Pierre Le Gall <legallpierre89@gmail.com>
* Copyright (C) 2016-2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'casiowin/monochromelib' module in libcarrot, an
* experimental modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#include <monochrome.h>
diff --git a/arch/casiowin/monochromelib/src/display_vram.c b/arch/casiowin/monochromelib/src/display_vram.c
index 21fb2c7..1ec051a 100644
--- a/arch/casiowin/monochromelib/src/display_vram.c
+++ b/arch/casiowin/monochromelib/src/display_vram.c
@@ -1,24 +1,33 @@
/* ****************************************************************************
* display_vram.c -- Update the screen content.
- *
* Copyright (C) 2011 Pierre Le Gall <legallpierre89@gmail.com>
* Copyright (C) 2016-2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'casiowin/monochromelib' module in libcarrot, an
* experimental modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#include <monochrome.h>
diff --git a/arch/casiowin/monochromelib/src/ellipse.c b/arch/casiowin/monochromelib/src/ellipse.c
index 7214444..3bb3c96 100644
--- a/arch/casiowin/monochromelib/src/ellipse.c
+++ b/arch/casiowin/monochromelib/src/ellipse.c
@@ -1,24 +1,33 @@
/* ****************************************************************************
* ellipse.c -- Draw an ellipse.
- *
* Copyright (C) 2011 Pierre Le Gall <legallpierre89@gmail.com>
* Copyright (C) 2016-2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'casiowin/monochromelib' module in libcarrot, an
* experimental modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#include <monochrome.h>
diff --git a/arch/casiowin/monochromelib/src/ellipse_in_rect.c b/arch/casiowin/monochromelib/src/ellipse_in_rect.c
index 5fc6ff8..3abe23b 100644
--- a/arch/casiowin/monochromelib/src/ellipse_in_rect.c
+++ b/arch/casiowin/monochromelib/src/ellipse_in_rect.c
@@ -1,24 +1,33 @@
/* ****************************************************************************
* ellipse_in_rect.c -- Draw an ellipse in a rectangle.
- *
* Copyright (C) 2011 Pierre Le Gall <legallpierre89@gmail.com>
* Copyright (C) 2016-2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'casiowin/monochromelib' module in libcarrot, an
* experimental modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#include <monochrome.h>
diff --git a/arch/casiowin/monochromelib/src/filled_circle.c b/arch/casiowin/monochromelib/src/filled_circle.c
index b2ac879..d29d0c5 100644
--- a/arch/casiowin/monochromelib/src/filled_circle.c
+++ b/arch/casiowin/monochromelib/src/filled_circle.c
@@ -1,24 +1,33 @@
/* ****************************************************************************
* filled_circle.c -- Draw a filled circle.
- *
* Copyright (C) 2011 Pierre Le Gall <legallpierre89@gmail.com>
* Copyright (C) 2016-2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'casiowin/monochromelib' module in libcarrot, an
* experimental modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#include <monochrome.h>
diff --git a/arch/casiowin/monochromelib/src/filled_ellipse.c b/arch/casiowin/monochromelib/src/filled_ellipse.c
index d77f841..e6a628f 100644
--- a/arch/casiowin/monochromelib/src/filled_ellipse.c
+++ b/arch/casiowin/monochromelib/src/filled_ellipse.c
@@ -1,24 +1,33 @@
/* ****************************************************************************
* filled_ellipse.c -- Draw a filled ellipse.
- *
* Copyright (C) 2011 Pierre Le Gall <legallpierre89@gmail.com>
* Copyright (C) 2016-2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'casiowin/monochromelib' module in libcarrot, an
* experimental modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#include <monochrome.h>
diff --git a/arch/casiowin/monochromelib/src/filled_ellipse_in_rect.c b/arch/casiowin/monochromelib/src/filled_ellipse_in_rect.c
index 74c729d..3a52ce2 100644
--- a/arch/casiowin/monochromelib/src/filled_ellipse_in_rect.c
+++ b/arch/casiowin/monochromelib/src/filled_ellipse_in_rect.c
@@ -1,24 +1,33 @@
/* ****************************************************************************
* filled_ellipse_in_rect.c -- Draw a filled ellipse in a rectangle.
- *
* Copyright (C) 2011 Pierre Le Gall <legallpierre89@gmail.com>
* Copyright (C) 2016-2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'casiowin/monochromelib' module in libcarrot, an
* experimental modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#include <monochrome.h>
diff --git a/arch/casiowin/monochromelib/src/filled_polygon.c b/arch/casiowin/monochromelib/src/filled_polygon.c
index f2437f0..2420238 100644
--- a/arch/casiowin/monochromelib/src/filled_polygon.c
+++ b/arch/casiowin/monochromelib/src/filled_polygon.c
@@ -1,24 +1,33 @@
/* ****************************************************************************
* filled_polygon.c -- Draw a filled polygon.
- *
* Copyright (C) 2011 Pierre Le Gall <legallpierre89@gmail.com>
* Copyright (C) 2016-2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'casiowin/monochromelib' module in libcarrot, an
* experimental modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#include <monochrome.h>
diff --git a/arch/casiowin/monochromelib/src/get_contrast.c b/arch/casiowin/monochromelib/src/get_contrast.c
index a5715b0..f2d4dcc 100644
--- a/arch/casiowin/monochromelib/src/get_contrast.c
+++ b/arch/casiowin/monochromelib/src/get_contrast.c
@@ -1,24 +1,33 @@
/* ****************************************************************************
* get_contrast.c -- Get the screen contrast.
- *
* Copyright (C) 2011 Pierre Le Gall <legallpierre89@gmail.com>
* Copyright (C) 2016-2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'casiowin/monochromelib' module in libcarrot, an
* experimental modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#include <monochrome.h>
diff --git a/arch/casiowin/monochromelib/src/horizontal_line.c b/arch/casiowin/monochromelib/src/horizontal_line.c
index bd00c1f..170b712 100644
--- a/arch/casiowin/monochromelib/src/horizontal_line.c
+++ b/arch/casiowin/monochromelib/src/horizontal_line.c
@@ -1,24 +1,33 @@
/* ****************************************************************************
* horizontal_line.c -- Draw a horizontal line.
- *
* Copyright (C) 2011 Pierre Le Gall <legallpierre89@gmail.com>
* Copyright (C) 2016-2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'casiowin/monochromelib' module in libcarrot, an
* experimental modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#include <monochrome.h>
diff --git a/arch/casiowin/monochromelib/src/horizontal_scroll.c b/arch/casiowin/monochromelib/src/horizontal_scroll.c
index bca1471..a304987 100644
--- a/arch/casiowin/monochromelib/src/horizontal_scroll.c
+++ b/arch/casiowin/monochromelib/src/horizontal_scroll.c
@@ -1,24 +1,33 @@
/* ****************************************************************************
* horizontal_scroll.c -- Scroll the screen horizontally.
- *
* Copyright (C) 2011 Pierre Le Gall <legallpierre89@gmail.com>
* Copyright (C) 2016-2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'casiowin/monochromelib' module in libcarrot, an
* experimental modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#include <monochrome.h>
diff --git a/arch/casiowin/monochromelib/src/line.c b/arch/casiowin/monochromelib/src/line.c
index 23f6a13..c83a438 100644
--- a/arch/casiowin/monochromelib/src/line.c
+++ b/arch/casiowin/monochromelib/src/line.c
@@ -1,24 +1,33 @@
/* ****************************************************************************
* line.c -- Draw a line.
- *
* Copyright (C) 2011 Pierre Le Gall <legallpierre89@gmail.com>
* Copyright (C) 2016-2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'casiowin/monochromelib' module in libcarrot, an
* experimental modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#include <monochrome.h>
diff --git a/arch/casiowin/monochromelib/src/pixel.c b/arch/casiowin/monochromelib/src/pixel.c
index d68bedc..efdd640 100644
--- a/arch/casiowin/monochromelib/src/pixel.c
+++ b/arch/casiowin/monochromelib/src/pixel.c
@@ -1,24 +1,33 @@
/* ****************************************************************************
* pixel.c -- Draw a pixel.
- *
* Copyright (C) 2011 Pierre Le Gall <legallpierre89@gmail.com>
* Copyright (C) 2016-2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'casiowin/monochromelib' module in libcarrot, an
* experimental modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#include <monochrome.h>
diff --git a/arch/casiowin/monochromelib/src/pixel_test.c b/arch/casiowin/monochromelib/src/pixel_test.c
index 81005f7..5f7a8cf 100644
--- a/arch/casiowin/monochromelib/src/pixel_test.c
+++ b/arch/casiowin/monochromelib/src/pixel_test.c
@@ -1,24 +1,33 @@
/* ****************************************************************************
* pixel_test.c -- Get a pixel's value.
- *
* Copyright (C) 2011 Pierre Le Gall <legallpierre89@gmail.com>
* Copyright (C) 2016-2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'casiowin/monochromelib' module in libcarrot, an
* experimental modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#include <monochrome.h>
diff --git a/arch/casiowin/monochromelib/src/point.c b/arch/casiowin/monochromelib/src/point.c
index 0f0eb64..3813814 100644
--- a/arch/casiowin/monochromelib/src/point.c
+++ b/arch/casiowin/monochromelib/src/point.c
@@ -1,24 +1,33 @@
/* ****************************************************************************
* point.c -- Draw a dot.
- *
* Copyright (C) 2011 Pierre Le Gall <legallpierre89@gmail.com>
* Copyright (C) 2016-2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'casiowin/monochromelib' module in libcarrot, an
* experimental modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#include <monochrome.h>
diff --git a/arch/casiowin/monochromelib/src/polygon.c b/arch/casiowin/monochromelib/src/polygon.c
index 8cd5120..729eaca 100644
--- a/arch/casiowin/monochromelib/src/polygon.c
+++ b/arch/casiowin/monochromelib/src/polygon.c
@@ -1,24 +1,33 @@
/* ****************************************************************************
* polygon.c -- Draw a polygon.
- *
* Copyright (C) 2011 Pierre Le Gall <legallpierre89@gmail.com>
* Copyright (C) 2016-2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'casiowin/monochromelib' module in libcarrot, an
* experimental modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#include <monochrome.h>
diff --git a/arch/casiowin/monochromelib/src/rectangle.c b/arch/casiowin/monochromelib/src/rectangle.c
index 68958c0..203eb86 100644
--- a/arch/casiowin/monochromelib/src/rectangle.c
+++ b/arch/casiowin/monochromelib/src/rectangle.c
@@ -1,24 +1,33 @@
/* ****************************************************************************
* rectangle.c -- Draw a rectangle.
- *
* Copyright (C) 2011 Pierre Le Gall <legallpierre89@gmail.com>
* Copyright (C) 2016-2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'casiowin/monochromelib' module in libcarrot, an
* experimental modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#include <monochrome.h>
diff --git a/arch/casiowin/monochromelib/src/set_contrast.c b/arch/casiowin/monochromelib/src/set_contrast.c
index ef50606..e4a4718 100644
--- a/arch/casiowin/monochromelib/src/set_contrast.c
+++ b/arch/casiowin/monochromelib/src/set_contrast.c
@@ -1,24 +1,33 @@
/* ****************************************************************************
* set_contrast.c -- Set the screen contrast.
- *
* Copyright (C) 2011 Pierre Le Gall <legallpierre89@gmail.com>
* Copyright (C) 2016-2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'casiowin/monochromelib' module in libcarrot, an
* experimental modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#include <monochrome.h>
diff --git a/arch/casiowin/monochromelib/src/vertical_line.c b/arch/casiowin/monochromelib/src/vertical_line.c
index f1c3855..eb5e8f8 100644
--- a/arch/casiowin/monochromelib/src/vertical_line.c
+++ b/arch/casiowin/monochromelib/src/vertical_line.c
@@ -1,24 +1,33 @@
/* ****************************************************************************
* vertical_line.c -- Draw a vertical line.
- *
* Copyright (C) 2011 Pierre Le Gall <legallpierre89@gmail.com>
* Copyright (C) 2016-2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'casiowin/monochromelib' module in libcarrot, an
* experimental modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#include <monochrome.h>
diff --git a/arch/casiowin/monochromelib/src/vertical_scroll.c b/arch/casiowin/monochromelib/src/vertical_scroll.c
index a7c2c83..8c1a89c 100644
--- a/arch/casiowin/monochromelib/src/vertical_scroll.c
+++ b/arch/casiowin/monochromelib/src/vertical_scroll.c
@@ -1,24 +1,33 @@
/* ****************************************************************************
* vertical_scroll.c -- Draw a vertical scroll.
- *
* Copyright (C) 2011 Pierre Le Gall <legallpierre89@gmail.com>
* Copyright (C) 2016-2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'casiowin/monochromelib' module in libcarrot, an
* experimental modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#include <monochrome.h>
diff --git a/arch/casiowin/monochromelib/src/vram_adress.c b/arch/casiowin/monochromelib/src/vram_adress.c
index eb24782..5a35d82 100644
--- a/arch/casiowin/monochromelib/src/vram_adress.c
+++ b/arch/casiowin/monochromelib/src/vram_adress.c
@@ -1,24 +1,33 @@
/* ****************************************************************************
* vram_adress.c -- Get the VRAM address.
- *
* Copyright (C) 2011 Pierre Le Gall <legallpierre89@gmail.com>
* Copyright (C) 2016-2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'casiowin/monochromelib' module in libcarrot, an
* experimental modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#include <monochrome.h>
diff --git a/arch/casiowin/revolutionfx/copyright.yml b/arch/casiowin/revolutionfx/copyright.yml
index b9cb33b..f4d127d 100644
--- a/arch/casiowin/revolutionfx/copyright.yml
+++ b/arch/casiowin/revolutionfx/copyright.yml
@@ -3,4 +3,4 @@
files: '*'
copyright:
- [2017, Thomas "Cakeisalie5" Touhey, thomas@touhey.fr]
-license: LGPL-3
+license: free
diff --git a/arch/casiowin/revolutionfx/include/revolution.h b/arch/casiowin/revolutionfx/include/revolution.h
index c07640c..8630ce1 100644
--- a/arch/casiowin/revolutionfx/include/revolution.h
+++ b/arch/casiowin/revolutionfx/include/revolution.h
@@ -1,23 +1,32 @@
/* ****************************************************************************
* revolution.h -- RevolutionFX's main header.
- *
* Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'casiowin/revolutionfx' module in libcarrot, an
* experimental modular libc project.
*
- * This file is free software: you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This file is governed by the CeCILL-C license under French law and abiding
+ * by the rules of distribution of free software. You can use, modify and or
+ * redistribute it under the terms of the CeCILL-C license as circulated by
+ * CEA, CNRS and INRIA at the following URL: http://www.cecill.info
+ *
+ * As a counterpart to the access to the source code and rights to copy, modify
+ * and redistribute granted by the license, users are provided only with a
+ * limited warranty and the software's author, the holder of the economic
+ * rights, and the successive licensors have only limited liability.
*
- * This file is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
- * for more details.
+ * In this respect, the user's attention is drawn to the risks associated with
+ * loading, using, modifying and/or developing and reproducing the software by
+ * the user in light of its specific status of free software, that may mean
+ * that it is complicated to manipulate, and that also therefore means that it
+ * is reserved for developers and experienced professionals having in-depth
+ * computer knowledge. Users are therefore encouraged to load and test the
+ * software's suitability as regards their requirements in conditions enabling
+ * the security of their systems and/or data to be ensured and, more generally,
+ * to use and operate it in the same conditions as regards security.
*
- * You should have received a copy of the GNU Lesser General Public License
- * along with this file. If not, see <http://www.gnu.org/licenses/>.
+ * The fact that you are presently reading this means you have had knowledge of
+ * the CeCILL-C license and that you accept its terms.
* ************************************************************************* */
#include <cdefs.h>
#include <fx/display.h>
diff --git a/copyright.yml b/copyright.yml
index 71ba978..41a03e6 100644
--- a/copyright.yml
+++ b/copyright.yml
@@ -12,4 +12,4 @@ files:
- 'tools/Internals/locales/*.yml'
copyright:
- [2017, Thomas "Cakeisalie5" Touhey, thomas@touhey.fr]
-license: LGPL-3
+license: free
diff --git a/docs/authors.en.md b/docs/authors.en.md
new file mode 100644
index 0000000..eba213a
--- /dev/null
+++ b/docs/authors.en.md
@@ -0,0 +1,8 @@
+---
+title: libcarrot authors and maintainers
+---
+This version, commonly called "the upstream", of libcarrot is maintained by
+its original author, Thomas "Cakeisalie5" Touhey <<thomas@touhey.fr>>.
+
+If not stated otherwise, each file belongs to its author(s), which are
+determined through the `copyright.yml` files (see [licensing](licensing)).
diff --git a/arch/casiowin/fxlib/doc/display.md b/docs/casiowin/fxlib/display.md
index d0f1650..d0f1650 100644
--- a/arch/casiowin/fxlib/doc/display.md
+++ b/docs/casiowin/fxlib/display.md
diff --git a/docs/casiowin/fxlib/draw.en.md b/docs/casiowin/fxlib/draw.en.md
new file mode 100644
index 0000000..472ed4b
--- /dev/null
+++ b/docs/casiowin/fxlib/draw.en.md
@@ -0,0 +1,135 @@
+---
+title: Drawing with fxlib
+---
+On the fx-9860G, the screen is not made for a program to write directly on
+it, so the logical choice is to use double buffering to only write on the
+screen once the video memory is ready. Instead of doing this, the CASIO
+developers implemented the all three "write in VRAM",
+"write on the Display Driver" and "write on the two of them" versions of
+many drawing functions in the fxlib (not all).
+
+The versions that have different versions can usually be recognized by
+the `_DD` (Display Driver), `_VRAM` (Video memory) and `_DDVRAM` (both)
+suffixes. It is recommended to use the functions that use the VRAM only
+(`_VRAM`, `VRAM` or no suffix) for performance, although if you really
+want performance, you might want to check the
+[MonochromeLib]([casiowin/monochromelib]).
+
+# Get the content of the VRAM or display driver
+If you want to get the current content of the VRAM (which you can't access
+directly), or want to get the content of the screen, you can use these
+functions:
+
+{% highlight c %}
+void Bdisp_GetDisp_DD(unsigned char *data);
+void Bdisp_GetDisp_VRAM(unsigned char *data);
+{% endhighlight %}
+
+In the two cases, the `data` parameter should be pointing to a memory area
+containing at least `IM_VRAM_SIZE` (1024) bytes.
+
+The output format is a 128x64 1 bit per pixel monochrome image, organized
+per line and from left to right, where a '0' is white and a '1' is black.
+
+# Update the display
+When the VRAM is ready, you can update the screen with its content using
+the following function:
+
+{% highlight c %}
+void Bdisp_PutDisp_DD(void);
+{% endhighlight %}
+
+If you only want to update an area of the screen, even though it is not
+recommended, you can use the following function:
+
+{% highlight c %}
+void Bdisp_PutDispArea_DD(const DISPBOX *area);
+{% endhighlight %}
+
+The `DISPBOX` structure defines a rectangle using the upper-left and the
+lower-right corners, defined by their coordinates.
+It has the following properties, in that order:
+
+{% highlight c %}
+int left; /* upper-left x, 0 to 127 */
+int top; /* upper-left y, 0 to 63 */
+int right; /* lower-right x, 0 to 127 */
+int bottom; /* lower-right y, 0 to 63 */
+{% endhighlight %}
+
+# Clear some pixels
+These functions turn all pixels on the VRAM/screen to white.
+
+{% highlight c %}
+void Bdisp_AllClr_DD(void);
+void Bdisp_AllClr_VRAM(void);
+void Bdisp_AllClr_DDVRAM(void);
+{% endhighlight %}
+
+If you only want to clear an area, you can use the following functions
+instead:
+
+{% highlight c %}
+void Bdisp_AreaClr_DD(const DISPBOX *area);
+void Bdisp_AreaClr_VRAM(const DISPBOX *area);
+void Bdisp_AreaClr_DDVRAM(const DISPBOX *area);
+{% endhighlight %}
+
+The `DISPBOX` was described previously.
+
+# Reverse pixels in an area
+This function turn all black pixels to white and white pixels to black in
+an area in the VRAM:
+
+{% highlight c %}
+void Bdisp_AreaReverseVRAM(int x1, int y1, int x2, int y2);
+{% endhighlight %}
+
+Notice that the name and the arguments follow a different logic to
+`Bdisp_AreaClr_VRAM` for example, but that the current prototype is maintained
+for compatibility.
+
+# Interact with pixels on the screen
+If you simply want to set the color of a pixel on the screen, you can
+use one of the following functions:
+
+{% highlight c %}
+void Bdisp_SetPoint_DD(int x, int y, unsigned char point);
+void Bdisp_SetPoint_VRAM(int x, int y, unsigned char point);
+void Bdisp_SetPoint_DDVRAM(int x, int y, unsigned char point);
+{% endhighlight %}
+
+`point` should be either 0 if the dot should be set to white, or 1 if it
+should be set to black.
+
+If you want to get the status of a pixel on the screen, you can use
+the following function:
+
+{% highlight c %}
+int Bdisp_GetPoint_VRAM(int x, int y);
+{% endhighlight %}
+
+This function returns 0 if the dot is white, or 1 if the dot is black.
+
+# Display a bitmap on the screen
+If you want to display a bitmap on the screen, you can use one of the
+following functions:
+
+{% highlight c %}
+void Bdisp_WriteGraph_DD(const DISPGRAPH *graph);
+void Bdisp_WriteGraph_VRAM(const DISPGRAPH *graph);
+void Bdisp_WriteGraph_DDVRAM(const DISPGRAPH *graph);
+{% endhighlight %}
+
+The `DISPGRAPH` is the set of coordinates, display style, and bitmap data.
+It has the following properties:
+
+{% highlight %}
+typedef struct {
+ int x; /* 0 to 127 */
+ int y; /* 0 to 63 */
+ GRAPHDATA bitmap;
+ WRITEMODIFY display_type;
+ WRITEKIND display_kind;
+} DISPGRAPH;
+{% endhighlight %}
diff --git a/docs/casiowin/fxlib/index.en.md b/docs/casiowin/fxlib/index.en.md
new file mode 100644
index 0000000..eae0d38
--- /dev/null
+++ b/docs/casiowin/fxlib/index.en.md
@@ -0,0 +1,48 @@
+---
+title: CASIO fx-9860G Library
+chapters:
+- draw
+- display
+- keyboard
+- file
+- timer
+- comm
+---
+In 2006, CASIO released a SDK for the fx-9860G series' calculators.
+This SDK included a graphical application, an emulator, a compiler
+(Hitachi's SHC), an assembler (Hitachi's Asmsh), Hitachi's libc,
+and some headers and functions specific to the fx-9860G, called by the
+name of the main header of it, fxlib.
+
+This module not only re-implements the "official" headers and functions
+as found in the fx-9860G SDK from 2006, but also adds the various syscalls
+that have been discovered and documented through reverse-engineering and
+some experimenting.
+
+To use the functions and other definitions in the fxlib, please
+`#include <fxlib.h>`.
+
+### Technical notes: about syscalls
+Many of the functions that are considered a part of it are actually "syscalls"
+or simple wrapper around "syscalls". "Syscalls" in the case of CASIOWIN
+is a language abuse that is common among the community, as everything is
+run in the hardware privileged mode (ring 0 for SuperH microprocessors).
+It simply means that the functions are in the OS, and called through a
+syscall execution function whose address is referenced in the
+CASIOWIN block at the beginning of the OS (at <flash> + 0x10070).
+
+Here's a syscall example using the GNU assembler syntax:
+
+{% highlight gnu-asm %}
+.section .text
+.global _sys_call
+.type _sys_call, @function
+.align 2
+_sys_call:
+ mov.l 1f, r2
+ mov.l 2f, r0
+ jsr @r2
+ nop ; delayed branch
+1: .long 0x80010070
+2: .long <syscall no.>
+{% endhighlight %}
diff --git a/docs/casiowin/fxlib/vram.en.md b/docs/casiowin/fxlib/vram.en.md
new file mode 100644
index 0000000..76dc973
--- /dev/null
+++ b/docs/casiowin/fxlib/vram.en.md
@@ -0,0 +1,4 @@
+---
+title: VRAM management in the CASIO fx-9860G
+---
+
diff --git a/docs/casiowin/index.en.md b/docs/casiowin/index.en.md
new file mode 100644
index 0000000..14c4567
--- /dev/null
+++ b/docs/casiowin/index.en.md
@@ -0,0 +1,24 @@
+---
+title: CASIOWIN, the firmware-like OS on CASIO calculators
+---
+CASIOWIN is the name of several OSes from CASIO, used on their graphical
+calculators. This platform is the CASIOWIN from the fx-9860G series,
+including:
+
+- fx-7400GII (Graph 25+Pro SH3);
+- fx-7400GII-2 (Graph 25+Pro SH4);
+- Graph 25+E (french model);
+- fx-9750GII (Graph 35+USB SH3);
+- fx-9750GII-2 (Graph 35+USB SH4);
+- Graph 35+E (french model);
+- fx-9860G (Graph 85);
+- fx-9860G AU;
+- fx-9860G Slim;
+- fx-9860G SD (Graph 85 SD);
+- fx-9860GII (Graph 75 SH3);
+- fx-9860GII-2 (Graph 75 SH4);
+- fx-9860GII SD (Graph 95 SH3);
+- fx-9860GII-2 SD (Graph 95 SH4);
+- Graph 75+E (french model).
+
+They use a simple and proprietary external apps system, that execute
diff --git a/docs/casiowin/monochromelib/bmp.en.md b/docs/casiowin/monochromelib/bmp.en.md
new file mode 100644
index 0000000..6c0cf5a
--- /dev/null
+++ b/docs/casiowin/monochromelib/bmp.en.md
@@ -0,0 +1,5 @@
+---
+title: Bitmaps with MonochromeLib
+---
+There are a few bitmap functions in MonochromeLib and their documentation
+is TODO.
diff --git a/docs/casiowin/monochromelib/draw.en.md b/docs/casiowin/monochromelib/draw.en.md
new file mode 100644
index 0000000..c1d97e5
--- /dev/null
+++ b/docs/casiowin/monochromelib/draw.en.md
@@ -0,0 +1,4 @@
+---
+title: Drawing with MonochromeLib
+---
+There are many drawing function and their documentation is TODO.
diff --git a/docs/casiowin/monochromelib/index.en.md b/docs/casiowin/monochromelib/index.en.md
new file mode 100644
index 0000000..114d480
--- /dev/null
+++ b/docs/casiowin/monochromelib/index.en.md
@@ -0,0 +1,20 @@
+---
+title: MonochromeLib
+chapters:
+- vram
+- screen
+- draw
+- bmp
+---
+MonochromeLib is a graphics library for the CASIO fx-9860G made by PierrotLL
+in 2011. It replaced the graphics part of CASIO's fxlib, published in 2006
+along with the CASIO fx-9860G SDK, which the community found to be inefficient.
+
+It was originally published as a simple source and header file to include in
+a CASIO fx-9860G SDK, then divided later to be turned into a static library.
+
+While the FX library makes it confusing sometimes, MonochromeLib makes the
+use of the double buffering technique mandatory. This technique consists of
+making all drawing operations in some video memory (VRAM) before copying it
+on the real screen. This prevents screen flickering, and any under
+construction image to be displayed.
diff --git a/docs/casiowin/monochromelib/screen.en.md b/docs/casiowin/monochromelib/screen.en.md
new file mode 100644
index 0000000..961f8dd
--- /dev/null
+++ b/docs/casiowin/monochromelib/screen.en.md
@@ -0,0 +1,34 @@
+---
+title: Screen interactions
+---
+As described in [the introduction](index), MonochromeLib uses the double
+buffering technique, so that the number of interactions with the screen
+(which are slow) is limited. So there are very few things you can actually do
+with the screen in the MonochromeLib.
+
+### Updating the screen
+Once the VRAM is ready to be displayed (see [VRAM interactions](vram) for more
+explanations), use the following function to update the screen using the VRAM:
+
+{% highlight c linenos %}
+void ML_display_vram(void);
+{% endhighlight %}
+
+### Clear the screen
+If you want to clear the screen but not the VRAM, although it isn't
+recommended, you can use the following function:
+
+{% highlight c %}
+void ML_clear_screen(void);
+{% endhighlight %}
+
+### Set and get the screen contrast
+You can set the contrast using these two functions:
+
+{% highlight c linenos %}
+void ML_set_contrast(unsigned char contrast);
+unsigned char ML_get_contrast(void);
+{% endhighlight %}
+
+The contrast is a value between `ML_CONTRAST_MIN` and `ML_CONTRAST_MAX`,
+ideally `ML_CONTRAST_NORMAL`.
diff --git a/docs/casiowin/monochromelib/vram.en.md b/docs/casiowin/monochromelib/vram.en.md
new file mode 100644
index 0000000..554cb72
--- /dev/null
+++ b/docs/casiowin/monochromelib/vram.en.md
@@ -0,0 +1,72 @@
+---
+title: VRAM interactions
+---
+As described in [the introduction](index), MonochromeLib uses video memory
+as the primary way of drawing on the screen. Instead of defining its own,
+MonochromeLib uses the system one, which can change according to the version
+of the OS the add-in is running on.
+
+The screen of the fx-9860G is 128 pixels long and 64 pixels tall. It's a
+1-bit monochrome screen, where a '1' represents a black pixel and a '0'
+represents a white pixel. The VRAM is organized as a set of 64 groups of
+128 pixels (16 bytes), going from top to bottom, then, in a line, from left to
+right (the highest bit in a byte, 128, is at the left of the 8 pixel group,
+whereas the lowest bit, 1, is at the right of it).
+
+Don't forget to [update the screen](screen#update) once the VRAM is ready
+to be displayed!
+
+### Getting the VRAM address
+As the VRAM address can vary, it is **imperative** that you use this function
+if you ought to interact with the VRAM directly, instead of hardcoding the
+address, which lead many add-ins to compatibility problems.
+
+{% highlight c %}
+char *ML_vram_address();
+{% endhighlight %}
+
+The `char*` return type is used for compatibility. As you might want to use
+bitwise operations, it is recommended to cast the return value as
+`unsigned char` or make the compiler assume unsigned char by default,
+for example, using `-funsigned-char` on GCC.
+
+### Colors
+MonochromeLib defines the following set of colors and meta-colors:
+
+{% highlight c %}
+typedef enum {
+ ML_TRANSPARENT = -1,
+ ML_WHITE,
+ ML_BLACK,
+ ML_XOR,
+ ML_CHECKER
+} ML_Color
+{% endhighlight %}
+
+`ML_BLACK` and `ML_WHITE` correspond to the 'raw' colors, `ML_XOR` changes the
+color of every affected pixel, and `ML_CHECKER` makes a "checkerboard" color,
+that sets one pixel out of two black, and the other one white.
+
+For an example of `ML_CHECKER`, see [the ML_rectangle example](draw#rectangle).
+
+### Interacting with pixels
+If you don't want to interact with the VRAM directly, you can use these
+simple functions to set and get the status of a pixel in the VRAM using
+these functions:
+
+{% highlight c %}
+void ML_pixel(int x, int y, ML_Color color);
+ML_Color ML_pixel_test(int x, int y);
+{% endhighlight %}
+
+All of the [drawing functions](draw) can be done using these functions,
+although the library functions interact directly with the VRAM, so they
+are quicker and should be used if possible.
+
+### Clear the VRAM
+If you want to have an empty VRAM to redraw it, you can use the following
+function:
+
+{% highlight c %}
+void ML_clear_vram(void);
+{% endhighlight %}
diff --git a/docs/coding.en.md b/docs/coding.en.md
new file mode 100644
index 0000000..f5a3ea0
--- /dev/null
+++ b/docs/coding.en.md
@@ -0,0 +1,11 @@
+---
+title: The libcarrot coding style
+---
+This coding style is the one the libcarrot project uses -- see
+[Contributing](contributing) for a more general guide about how to contribute,
+or the rest of this guide for how to code in this project.
+
+This file is to re-write (TODO), as many things have been rethought
+(top comments are now generated, the super-preprocessor has been
+introducted with include guards, many macros for internal use such as `_OF`
+have to be used, and stuff).
diff --git a/CONTRIBUTING.md b/docs/contributing.en.md
index aab5a9b..23b4006 100644
--- a/CONTRIBUTING.md
+++ b/docs/contributing.en.md
@@ -1,11 +1,13 @@
-# Contributing to libcarrot
-## Introduction
+---
+title: Contributing to libcarrot
+---
First of all, thanks for reading this! It probably means you think libcarrot
is worth the effort you are going to put in it, and that rocks! :D
As I want to keep things clean and organized for anyone using this library,
I'm defining this set of rules (from my own coding style, as it is how I
-started this project). Don't think it's against you or anything: I just don't
+started this project). Some are justified from a technical point of view,
+and some are not. Don't think it's against you or anything: I just don't
want this project to be a coding style mess, where you have to learn a new
coding style before contributing to any new header/source file.
@@ -21,41 +23,26 @@ not described here (it should, but writing a contribution guide is far from
being easy), please suggest the changes (by proposing commits or tipping off
the maintainer(s))!
-## File organization
-Modules are in `./arch`. They are grouped by platform, which, if you haven't
-understood that yet, is the kernel/OS for which it is meant. The `all`
-platform is special, because all of the modules that don't have a single
-platform in mind should go in there -- that's the case for the core modules
-containing platform-independant headers, or for modules having specific
-architectures (not platforms) in mind.
-
-Each platform or module have an information file, `info.yml`, encoded in
-YAML 1.2 (usually with the '%YAML 1.2' magic), which contain
-machine-readable information about it. What they should contain is described
-in the `FORMATS.md` file. From there, I will suppose you have read the
-file and created your information files successfully.
-
-Each module will have a few files and folders ("opt." stands for "optional",
-"man." stands for "mandatory") that will be read by the build tools:
+# File organization
+The modules are in `./arch`, grouped by platform (modules and platforms are
+explained [in the introduction](index)). Every platform has the following
+files ("opt." means "optional", "req." means "required", "rec." means
+"recommended"):
- `include/` (opt.): the C/C++ source headers folder;
- `bits/` (opt.): the C/C++ header bits folder;
- `src/` (opt.): the C/C++/ASM source files;
-- `info.yml` (man.): machine-readable information file discussed above;
+- `docs/` (opt.): a symbolic link to the corresponding documentation;
+- `info.yml` (req.): machine-readable information file discussed above;
- `copyright.yml` (rec.): machine-readable copyright information file;
- `roles.yml` (rec.): machine-readable roles for your source files.
-Other files (usually documentation) can of course be put there.
-
In order not to make a coding style patchwork out of this project, you really
-should follow the project's coding style, defined in `CODING.md`. If you don't
-and make an upstream merge request with an incorrectly presented code, your
-request will systematically be denied. If you think the coding style can be
-improved for everyone's comfort, please contact the current maintainer(s),
-as they have authority. And please, if it is denied, don't make a scene out
-of it: fork this project, and do a better job at maintaining it.
-
-## Roles file (top comments)
+should follow the project's coding style; see [Coding style](coding).
+
+`copyright.yml` defines the license of each file (see [Licensing](licensing)).
+
+# Roles file (top comments)
**The top comment of each source/include file is NOT hand-written**,
it is generated by a script, `tools/updatesource.py`, which reads the
copyright lines and the licences from the machine-readable copyright
@@ -64,7 +51,7 @@ from the roles files `roles.yml` present in each module root.
See the section about roles files in `FORMATS.md`.
-## C/C++ headers and header bits
+# C/C++ headers and header bits
libcarrot uses a C superpreprocessor, which role is to:
- find the header files in all of the selected modules (usually ending by
@@ -97,7 +84,7 @@ defined and what they are expected to define, the modules using this
instruction should have a `BITS.md` documentation at their root (e.g.
in `arch/all/core/`).
-## C/C++/ASM source files
+# C/C++/ASM source files
Sources are found automatically in the `src` folder, using their extensions
(`c` for C source files, `cpp`, `cc`, `cxx` and others for C++ source files,
and assembler/dialect-specific extensions for assembly source files).
diff --git a/FORMATS.md b/docs/formats.en.md
index 96b1559..279a952 100644
--- a/FORMATS.md
+++ b/docs/formats.en.md
@@ -1,10 +1,12 @@
-# Information, configuration and cache file formats.
+---
+title: libcarrot configuration and cache file formats
+---
libcarrot uses YAML-encoded configurations.
Every global, platform and module information file should start with
`magic: potatosdk-1.0` (after the YAML magic).
-## Global information file
+# Global information file
The global information file is located at `arch/info.yml`.
It has the following fields:
@@ -27,7 +29,7 @@ An example file would be:
- i686
- x86_64
-## Platform information file
+# Platform information file
Every platform (even `all`, which is the "common" platform for all code)
have the following fields in their information file:
@@ -54,7 +56,7 @@ An example file is the following:
Note that C defaults are added into the C++ defaults too.
-## Module information file
+# Module information file
Each module has an information file too, with the following fields:
- `description`: a description of the module;
@@ -80,49 +82,7 @@ An example file is the following:
- GNU/GCC
- Renesas/SHC
-## Copyright file
-Down to the module level can be several copyright files, that define
-the authors, their property dates, and the license for groups of files.
-Every copyright file is a series of YAML document, each having these fields:
-
-- `files`: the Unix-like pattern from the current directory of the group of
- files to match. Uses '/' slashes to separate directories between themselves
- and the file name, they will be replaced automatically when that's required;
-- `copyright`: the list of authors;
-- `license`: the license of the group of file, usually "LGPL-3".
-
-Each author is represented as a list of three or four elements:
-
-- the starting year (e.g. 2016);
-- (optional) the ending year (e.g. 2017), by default the same as the
- starting year;
-- the author name (e.g. John "Smithy" Smith);
-- the author mail address (e.g. john@smith.ee).
-
-An example copyright file is:
-
- %YAML 1.2
- ---
- files: '*'
- copyright:
- - [2017, John "Smithy" Smith, john@smith.ee]
- - [2017, 2018, Robert Dupont, robert.dupont@wanadoo.fr]
- license: LGPL-3
- ---
- files: 'src/incredible/*'
- copyright:
- - [2018, Mahatma Gandhi, mahatma@gandi.net]
- license: LGPL-3
- ---
- files: 'src/**/parser.c'
- copyright:
- - [2018, Lephenixnoir, lephe@planet-casio.com]
- license: LGPL-3
-
-Notice that when trying to guess which rule applies to which file, the
-most precise is taken.
-
-## Configuration
+# Configuration
The library should only be configured once at a time, then built any number
of times you want (several builds per configuration are possible, and even
encouraged). It is generally stored in `.config.yml`, generated (not man-made),
@@ -171,7 +131,7 @@ save. An example user configuration is:
pack_params:
path: /opt/fx/bin/sh3eb-elf-ar
-## Roles file
+# Roles file
What a roles file is for is explained in `CONTRIBUTING.md`.
It is organized in the same way of any arborescence, e.g.:
diff --git a/docs/index.en.md b/docs/index.en.md
new file mode 100644
index 0000000..caf8c52
--- /dev/null
+++ b/docs/index.en.md
@@ -0,0 +1,43 @@
+---
+title: libcarrot — an experimental and modular libc for learning
+chapters:
+- using
+- contributing
+---
+# Introduction
+libcarrot is a modular C/C++ library.
+
+Although originally made to replace CASIO's fxlib under Linux (see
+`casiowin/fxlib` for information about that), libcarrot has now become a more
+global standard library for C and C++, originally targetting the
+SuperH/J-Core platform with extensions for the CASIO fx-9860G, but now
+aiming to have extensions for more platforms and languages.
+
+The library aims at being compatible with the ISO C and C++ standards,
+POSIX/Single Unix Specification, other standards the GNU C Library supports,
+and at being usable with several compilers such as Renesas' C/C++ Compiler
+(SHC), the GNU Compiler Collection (GCC), Clang, the Small Device C Compiler
+(SDCC), IBM's XL C/C++ Compiler (XLC), and many more!
+
+# Modules
+The library is thought around modules. Modules in libcarrot are a logicial
+dvision of it, containing sources (symbols, ...) and headers that bring one
+or more features to the library.
+For example, one could make a `helloworld` module that could bring a
+function printing "hello world" and what is required to run with it.
+
+A module, like any package, has dependencies, conflicts, and requirements.
+Among the requirements are the architecture, the compiler, etc.
+
+# Platforms
+Modules are regrouped into platforms. A platform is generally a kernel/OS
+for which the module is made. For example, a Linux system calls wrapper would
+go into the `linux` platform, along with everything using these
+platform-specific methods, or that are appropriate for this platform.
+
+Platforms have various default modules depending on the languages and binary
+executable formats you ought to prepare it for.
+
+The platform-agnostic modules are placed into the `all` meta-platform, and
+the default modules from `all` are included into every platform (accordingly
+to the selected languages).
diff --git a/docs/licensing.en.md b/docs/licensing.en.md
new file mode 100644
index 0000000..1e8905c
--- /dev/null
+++ b/docs/licensing.en.md
@@ -0,0 +1,65 @@
+---
+title: Licensing in libcarrot
+---
+libcarrot is thought to having a common core under free license, and allowing
+proprietary extensions to it, so for each file, there are currently
+two licensing modes:
+
+- `free`: the files under this mode are subject to the libcarrot free
+ software license;
+- `proprietary`: all rights on the files are reserved by the owners.
+
+The upstream will only accept contributions under the libcarrot free
+software license, any proprietary extension should be free'd before
+being proposed (and merged).
+
+The libcarrot free software license currently is the CeCILL-C license,
+created by french people and compliant with french law.
+
+# Copyright files
+The copyright and license details are given by the `copyright.yml` files.
+These files are machine-readable, and used to generate the top comments of
+the source files, and generated text files (headers, ...) — see
+[Contributing](contributing) for more information about that.
+Each one of them defines a set of rules for the files at the same level
+and beneath, using wildcard patterns (e.g. `folder/**/*.ext`).
+
+The copyright file shall contain one rule per division ("document").
+Each division shall define the following properties:
+
+- `files`: the wildcard pattern(s) from the current directory of the
+ group of files. If you only define one, you shall use a string, otherwise,
+ please use a list of strings.
+- `copyright`: the people this file belong to, usually the original author
+ and the contributors who don't give their rights to the original author.
+- `license`: the licensing mode, either `free` or `proprietary` (this matter
+ is discussed in this document's introduction).
+
+A `copyright` entry consists of the copyright starting year, ending year,
+owner and owner e-mail address. It is defined as a list of either four
+elements, as `[<start year>, <end year>, <name>, <mail>]` or, if the ending
+year is the same than the starting year, of three elements, as
+`[<start and end year>, <name>, <mail>]`. The e-mail address is mandatory.
+
+An example `copyright.yml` file is the following:
+
+ %YAML 1.2
+ ---
+ files: '*'
+ copyright:
+ - [2017, John "Smithy" Smith, john@smith.ee]
+ - [2017, 2018, Robert Dupont, robert.dupont@wanadoo.fr]
+ license: free
+ ---
+ files: 'src/incredible/*'
+ copyright:
+ - [2018, Mahatma Gandhi, mahatma@gandi.net]
+ license: proprietary
+ ---
+ files: 'src/**/parser.c'
+ copyright:
+ - [2018, Lephenixnoir, lephe@planet-casio.com]
+ license: free
+
+Notice that when trying to guess which rule applies to which file, the
+most precise rule is taken.
diff --git a/TODO.md b/docs/todo.en.md
index 5a52158..68e70ed 100644
--- a/TODO.md
+++ b/docs/todo.en.md
@@ -1,4 +1,6 @@
-# TODO in libcarrot
+---
+title: To do in libcarrot
+---
If you're new to the project, you should read the [README.md](README.md) file
and the contributing guide ([CONTRIBUTING.md](CONTRIBUTING.md)) beforehand,
or else, you want understand a damn word.
diff --git a/docs/using.en.md b/docs/using.en.md
new file mode 100644
index 0000000..d77204c
--- /dev/null
+++ b/docs/using.en.md
@@ -0,0 +1,66 @@
+---
+title: Building and using libcarrot
+---
+Once you've acknowledged (the basic principles of libcarrot)[index], you can
+start building it.
+
+# Requirements
+You will need Python 3.x to run the build tool, with the modules described
+in the `requirements.txt` file, which you can install using
+`pip3 install -r requirements.txt` as root/administrator.
+
+Other dependencies (compilers, assemblers, linkers, packers, ...) are optional,
+and should be tipped off by the tools.
+
+# Configuring
+This project uses the Unix building flow, which means you shall first
+configure with the options that suit your needs, then make (build), then
+install, in three different commands. On Unix-like OSes, this can be achieved
+using the famous `./configure && make && sudo make install` bash command;
+but I'll suppose you want to go a little deeper into its options.
+
+The 'real' configure script is in `tool/configure.py`, though it can be
+accessed under Unix-like OSes through the `configure` bash script and under
+Microsoft Windows' command shell through the `configure.bat` script,
+for simplicity. `-h`/`--help` prints the help message, listing the options
+and a little help message, `-v`/`--version` prints the project version.
+
+libcarrot can build for several targets, which combine platforms and
+architectures:
+
+- an architecture represents the hardware (or hardware emulation layer) on
+which the code will run, more specifically the processor. For example,
+the Intel i686 microprocessor, or the SuperH Core 3 (SH3);
+- a platform represents the software on which the C library is running,
+generally the kernel, like the Linux kernel (`linux`) or CASIOWIN (the
+OS CASIO uses on its graphing calculators).
+
+To select the target, you shall use the `--target` option with the value
+being the architecture then the platform, separated with a dash, e.g.
+`sh3-casiowin` for CASIOWIN on a SuperH Core 3 microprocessor.
+
+You can also select the programming languages libcarrot shall support with
+the `--languages` option, with the languages being separated with commas,
+for example, `--languages=c,c++`. libcarrot currently only supports C.
+
+In addition to this, there is the `--add` option to add additional modules
+to the usual selected one. For example, if you're allowing yourself some
+fantasy, you can add the `all/stdcocorico` module, which will add the
+joke `stdcocorico.h` header to your programs so you can code in a french
+C or C++ dialect.
+
+Once you've fiddled with the configure options, you can select the
+installation directories and options! (TODO: document these once they're ready)
+
+# Building and installing
+
+Once the project is configured, you can `make` under UNIX-like OSes,
+`make.bat` under Microsft Windows (using the command shell), or
+`tools/make.py` on any other platform.
+
+There are actually a few other commands you can do with `make`, such as
+`clean` to remove generated files (excepted the configuration),
+`mrproper` or `distclean` to remove everything (including the configuration),
+`re` to remake everything (expected the configuration).
+
+To install the library, use `make install`.
diff --git a/requirements.txt b/requirements.txt
new file mode 100644
index 0000000..5500f00
--- /dev/null
+++ b/requirements.txt
@@ -0,0 +1 @@
+PyYAML
diff --git a/tools/Internals/__init__.py b/tools/Internals/__init__.py
index 2b7d9a1..c4e422e 100755
--- a/tools/Internals/__init__.py
+++ b/tools/Internals/__init__.py
@@ -5,6 +5,8 @@ from .exceptions import *
from .locale import *
from .args import *
from .copyright import *
+
+from .arch import *
from .tools import *
from .module import *
from .topc import *
diff --git a/tools/Internals/arch.py b/tools/Internals/arch.py
new file mode 100644
index 0000000..05e370a
--- /dev/null
+++ b/tools/Internals/arch.py
@@ -0,0 +1,46 @@
+#!/usr/bin/env python3
+
+_arch_detail = {
+ # Intel's x86 (8080).
+# 'x86': ('x86', 'i386', 'little'),
+# 'i286': ('x86', 'i286', 'little'),
+# 'i386': ('x86', 'i386', 'little'),
+# 'i486': ('x86', 'i486', 'little'),
+# 'i586': ('x86', 'i586', 'little'),
+# 'i686': ('x86', 'i686', 'little'),
+# 'i786': ('x86', 'i786', 'little'),
+
+ # Intel's x86_64 (64-bit version of the x86).
+# 'x86_64': ('x86_64', None, 'little'),
+
+ # Hitachi's SuperH, J-Core.
+ 'sh': ('sh', 'sh1', None),
+ 'sh1': ('sh', 'sh1', None),
+ 'sh2': ('sh', 'sh2', None),
+ 'sh2eb': ('sh', 'sh2', 'big'),
+ 'sh2le': ('sh', 'sh2', 'little'),
+ 'sh2a': ('sh', 'sh2a', None),
+ 'sh2e': ('sh', 'sh2e', None),
+ 'sh3': ('sh', 'sh3', None),
+ 'sh3eb': ('sh', 'sh3', 'big'),
+ 'sh3le': ('sh', 'sh3', 'little'),
+ 'sh3e': ('sh', 'sh3e', None),
+ 'sh3ele': ('sh', 'sh3e', 'little'),
+ 'sh4': ('sh', 'sh4', None),
+ 'sh4eb': ('sh', 'sh4', 'big'),
+ 'sh4le': ('sh', 'sh4', 'little'),
+ 'sh4a': ('sh', 'sh4', None),
+}
+
+def get_arch_detail(arch):
+ """ Return the (family, arch, endianness) tuple. """
+
+ try: det = _arch_detail[arch]
+ except: return None
+
+ # XXX: Temporary?
+ if not det[1]:
+ det = (det[0], det[0], det[2])
+ return det
+
+# End of file.
diff --git a/tools/Internals/cache.py b/tools/Internals/cache.py
index 54df890..35baa7f 100644
--- a/tools/Internals/cache.py
+++ b/tools/Internals/cache.py
@@ -31,7 +31,7 @@ class CacheManager:
if not name in self.__categories:
return default
- return _copy.deepcopy(self.__categories[key])
+ return _copy.deepcopy(self.__categories[name])
def set(self, name, cache):
""" Set the cache. """
diff --git a/tools/Internals/exceptions.py b/tools/Internals/exceptions.py
index 4154d5b..9bd14b7 100755
--- a/tools/Internals/exceptions.py
+++ b/tools/Internals/exceptions.py
@@ -88,6 +88,27 @@ class SilentException(PotatoException):
# Check that the user configuration options are supported.
# ---
+class MissingPlatformInTargetException(PotatoException):
+ """ The user didn't give the platform in the target. """
+
+ ret = 2
+ ags = ()
+ msg = loc['exceptions']['MissingPlatformInTarget']
+
+class RedundantEndiannessException(PotatoException):
+ """ The user shouldn't give the endianness again. """
+
+ ret = 2
+ ags = ()
+ msg = loc['exceptions']['RedundantEndianness']
+
+class MissingEndiannessException(PotatoException):
+ """ The user should give the endianness again. """
+
+ ret = 2
+ ags = ()
+ msg = loc['exceptions']['MissingEndianness']
+
class UnsupportedLanguageException(PotatoException):
""" One of the given languages were unsupported. """
@@ -102,6 +123,12 @@ class UnsupportedArchException(PotatoException):
ags = ('arch',)
msg = loc['exceptions']['UnsupportedArch']
+class MissingConfigurationException(PotatoException):
+ """ The user didn't configure! """
+
+ ret = 2
+ msg = loc['exceptions']['MissingConfiguration']
+
# ---
# An information file was updated after the user configuration,
# which means the user should reconfigure!
diff --git a/tools/Internals/headers/manager.py b/tools/Internals/headers/manager.py
index 43def8f..59a3155 100644
--- a/tools/Internals/headers/manager.py
+++ b/tools/Internals/headers/manager.py
@@ -367,7 +367,7 @@ class HeaderManager:
conds += ['\t' + add]
else:
conds[-1] += ' ' + add
- content = [CppIf(conds, content)]
+ content = [CppIf('\n'.join(conds), content)]
# Then check that all of the include guards are defined.
if len(gds) >= 2:
@@ -404,5 +404,6 @@ def process_headers(outdir, modules, cachemgr):
mgr = HeaderManager(outdir, modules, cachemgr)
mgr.process()
+ mgr.save()
# End of file.
diff --git a/tools/Internals/headers/output.py b/tools/Internals/headers/output.py
index e75833a..b9efdea 100644
--- a/tools/Internals/headers/output.py
+++ b/tools/Internals/headers/output.py
@@ -16,12 +16,12 @@ def __output_recursive(content, out=_sys.stdout, sep='\n'):
for ins in content:
if type(ins) == CppRaw:
- nxt = sep.join(ins.content)
+ nxt = sep.join(ins.content.split('\n'))
elif type(ins) == CppDefine:
nxt = "#define {}".format(ins.name)
if ins.args != None:
nxt += "({})".format(', '.join(ins.args))
- nxt += " {}".format((' \\' + sep).join(ins.expr))
+ nxt += " {}".format((' \\' + sep).join(ins.expr.split('\n')))
elif type(ins) == CppUndef:
nxt = "#undef {}".format(ins.name)
elif type(ins) == CppInclude:
@@ -34,7 +34,7 @@ def __output_recursive(content, out=_sys.stdout, sep='\n'):
elif type(ins) == CppError:
nxt = '#error "{}"'.format(nxt)
elif type(ins) == CppIf:
- expr = (' \\' + sep).join(ins.conds[0][0])
+ expr = (' \\' + sep).join(ins.conds[0][0].split('\n'))
if expr[0:8] == 'defined(' and expr[-1] == ')' \
and __validmacroname(expr[8:-1].strip()):
print("#ifdef {}".format(expr[8:-1].strip()),
diff --git a/tools/Internals/headers/parse.py b/tools/Internals/headers/parse.py
index 227ce99..1105917 100644
--- a/tools/Internals/headers/parse.py
+++ b/tools/Internals/headers/parse.py
@@ -43,7 +43,7 @@ class CppRaw:
self.content = content
def addcontent(self, content):
- self.content.extend(content)
+ self.content += '\n' + content
class CppDefine:
def __init__(self, name, expr, args=None):
@@ -99,7 +99,8 @@ def __readline(src):
if not hasnext:
break
- return lines
+ if not lines: return None
+ return '\n'.join(lines)
def __get_source_content(path, syntax='c'):
""" Get a source file content after the top comment. """
@@ -118,12 +119,12 @@ def __get_source_content(path, syntax='c'):
line = __readline(src)
while True:
- if not line or (len(line) == 1 and not is_str(line[0])):
+ if line == None or not is_str(line):
break
while True:
line = __readline(src)
- if not line or (len(line) == 1 and is_end(line[0])):
+ if line == None or is_end(line):
break
line = __readline(src)
@@ -131,7 +132,7 @@ def __get_source_content(path, syntax='c'):
lines = [line]
while True:
line = __readline(src)
- if not line: break
+ if line == None: break
lines.append(line)
return lines
@@ -145,8 +146,6 @@ def __parse_define(raw):
or "MY_MACRO(and_some, fancy_parameters) and_some - fancy_parameters".
Returns either (macro, None, value) or (macro, args, value). """
- raw = '\n'.join(raw)
-
first = raw.split()[0]
if first.find('(') >= 0:
# Is a macro with arguments!
@@ -168,15 +167,15 @@ def __parse_define(raw):
# Get the expression to evaluate, return.
rest = rest[rpar + 1:].lstrip()
- return (name, rest.split('\n'), args)
+ return (name, rest, args)
rest = raw[len(first) + 1:].lstrip()
- return (first, rest.split('\n'))
+ return (first, rest)
def __parse_name(raw):
""" Get a macro name out of a raw string. """
- ret = '\n'.join(raw).strip()
+ ret = raw.strip()
# TODO: check that the name is good (ANSI, stuff).
return ret
@@ -184,7 +183,7 @@ def __parse_header_ref(raw):
""" Get the header reference, such as "header.h" (for local references),
<header.h> (for path references) or VARIABLE_NAME (for variables). """
- raw = '\n'.join(raw).strip()
+ raw = raw.strip()
if raw[0] == '<' and raw[-1] == '>':
return ('path', raw[1:-1].strip())
if raw[0] == '"' and raw[-1] == '"':
@@ -194,7 +193,7 @@ def __parse_header_ref(raw):
def __get_inst(raw):
""" Get the instruction name and its parameters from a line group. """
- full = '\n'.join(raw).lstrip()
+ full = raw.lstrip()
# Check if is a preprocessor directive.
if not full or full[0] != '#':
@@ -207,7 +206,7 @@ def __get_inst(raw):
# Get the rest.
rest = full[1:].lstrip()[len(inst):].lstrip()
- return (inst, rest.split('\n'))
+ return (inst, rest)
# ---
# Main parsing function.
@@ -236,7 +235,8 @@ def __parse_header_rec(lines):
#
# Extensions: elifdef, elifndef, error
if inst == 'include':
- ins.append(CppInclude(*__parse_header_ref(rest)))
+ obj = CppInclude(*__parse_header_ref(rest))
+ ins.append(obj)
elif inst == 'error':
ins.append(CppError(rest)) # FIXME: string?
elif inst == 'include_bits':
@@ -293,6 +293,7 @@ def parse_header(path):
lines = __get_source_content(path)
lines.reverse()
+
return __parse_header_rec(lines)
# End of file.
diff --git a/tools/Internals/locales/en_US.yml b/tools/Internals/locales/en_US.yml
index ebe90e4..9758561 100644
--- a/tools/Internals/locales/en_US.yml
+++ b/tools/Internals/locales/en_US.yml
@@ -50,6 +50,8 @@ exceptions:
could not be loaded!
InvalidCommand: >-
Unknown command '{command}'.
+ MissingPlatformInTarget: >-
+ Missing platform in the target string.
UnsupportedArchForPlatform: >-
Platform '{platform}' doesn't support '{arch}' architecture!
UnsupportedArchForModule: >-
diff --git a/tools/Internals/locales/fr_FR.yml b/tools/Internals/locales/fr_FR.yml
index 5f65826..c133f73 100644
--- a/tools/Internals/locales/fr_FR.yml
+++ b/tools/Internals/locales/fr_FR.yml
@@ -6,6 +6,7 @@ args:
quiet: taire les messages d'information
out: le chemin vers le fichier de configuration à produire
target: cible pour la bibliothèque
+ endian: si variable et non précisée, l'endianness de l'architecture cible
languages: langages à supporter
add: ajouter un module dans la configuration (cumulatif)
tooldir: ajouter un répertoire d'outils
@@ -38,6 +39,10 @@ prefix:
messages:
configured: La configuration a été créée, vous pouvez construire maintenant.
exceptions:
+ RedundantEndianness:
+ L'architecture donnée possède une endianness fixée.
+ MissingEndianness:
+ Vous devez spécifier l'endianness pour cette architecture.
UnsupportedLanguage: >-
Le langage '{language}' n'est pas supporté.
UnsupportedArch: >-
@@ -56,6 +61,8 @@ exceptions:
n'a pas été trouvée ou n'a pas pu être chargée !
InvalidCommand: >-
Commande '{command}' non valide.
+ MissingPlatformInTarget: >-
+ Platforme manquante dans la cible.
UnsupportedArchForPlatform: >-
La plateforme '{platform}' ne supporte pas l'architecture '{arch}' !
UnsupportedArchForModule: >-
@@ -93,3 +100,5 @@ exceptions:
DuplicateHeader:
Le header '{name}' est à la fois dans les modules '{first_module}' et
'{second_module}'.
+ MissingConfiguration:
+ Veuillez configurer avant de réaliser toute opération de construction !
diff --git a/tools/Internals/tools/__init__.py b/tools/Internals/tools/__init__.py
index c9c6498..e58e350 100755
--- a/tools/Internals/tools/__init__.py
+++ b/tools/Internals/tools/__init__.py
@@ -109,8 +109,10 @@ from .renesas_optlnk import *
#*****************************************************************************#
__c_compilers = {
('GNU', 'GCC'): GNU_GCC,
+# ('Clang', 'Clang'): Clang_Clang,
('Renesas', 'SHC'): Renesas_SHC,
# ('Hitachi', 'SHC'): Renesas_SHC,
+# ('Intel', 'ICC'): Intel_ICC,
# ('IBM', 'XL C/C++'): IBM_XLC,
# ('SDCC', 'SDCC'): SDCC_SDCC,
# ('Borland', 'Turbo C'): Borland_TurboC,
@@ -139,6 +141,103 @@ __archivers = {
('Renesas', 'Optlnk'): Renesas_OptLnk,
# ('Hitachi', 'Optlnk'): Renesas_OptLnk,
}
+
+#*****************************************************************************#
+# Find the utilities #
+#*****************************************************************************#
+def _find_cc(arch, endian, platform, out_format):
+ """ Find a C compiler.
+ `arch` is the ISA, e.g. "sh3".
+ `endian` is the endianness.
+ `platform` is the platform, e.g. "linux".
+ `out_format` is the output object format, e.g. "elf". """
+
+ for cc in __c_compilers:
+ gp = __c_compilers[cc]['getparams']
+ try:
+ cp = gp('cc', arch, endian, 'elf', ['c89'])
+ except ToolNotFoundException:
+ continue
+
+ __tools['cc'] = ft.partial(__c_compilers[cc]['cc'], cp)
+ __compiler = data['cc']
+
+ return (cc, cp)
+
+ Raise(NoCCompilerException)
+
+def _find_cxx(arch, endian, platform, out_format):
+ """ Find a C++ compiler.
+ `arch` is the ISA, e.g. "sh3".
+ `endian` is the endianness.
+ `platform` is the platform, e.g. "linux".
+ `out_format` is the output object format, e.g. "elf". """
+
+ for cxx in __cxx_compilers:
+ gp = __cxx_compilers[cxx]['getparams']
+ try:
+ cxxp = gp('cxx', arch, endian, 'elf', ['c++98'])
+ except ToolNotFoundException:
+ continue
+
+ return (cxx, cxxp)
+
+ Raise(NoCppCompilerException)
+
+def _find_asmc(arch, endian, platform, out_format):
+ """ Find a C assembler (assembler with C preprocessor).
+ `arch` is the ISA, e.g. "sh3".
+ `endian` is the endianness.
+ `platform` is the platform, e.g. "linux".
+ `out_format` is the output object format, e.g. "elf". """
+
+ for asmc in __c_assemblers:
+ gp = __c_assemblers[asmc]['getparams']
+ try:
+ asmcp = gp('asmc', arch, endian, 'elf')
+ except ToolNotFoundException:
+ continue
+
+ return (asmc, asmcp)
+
+ Raise(NoCAssemblerException)
+
+def _find_asm(arch, endian, platform, out_format):
+ """ Find an assembler.
+ `arch` is the ISA, e.g. "sh3".
+ `endian` is the endianness.
+ `platform` is the platform, e.g. "linux".
+ `out_format` is the output object format, e.g. "elf". """
+
+ for asm in __assemblers:
+ gp = __assemblers[asm]['getparams']
+ try:
+ asmp = gp('asm', arch, endian, 'elf', 'gnu')
+ except ToolNotFoundException:
+ continue
+
+ return (asm, asmp)
+
+ Raise(NoAssemblerException)
+
+def _find_pack(arch, endian, platform, out_format):
+ """ Find a packer.
+ `arch` is the ISA, e.g. "sh3".
+ `endian` is the endianness.
+ `platform` is the platform, e.g. "linux".
+ `out_format` is the output library format, e.g. "coff". """
+
+ for pack in __archivers:
+ gp = __archivers[pack]['getparams']
+ try:
+ packp = gp('pack', arch, endian, 'coff', 'elf')
+ except ToolNotFoundException:
+ continue
+
+ return (pack, packp)
+
+ Raise(NoPackerException)
+
#*****************************************************************************#
# Interact with the tools before using them. #
#*****************************************************************************#
@@ -147,77 +246,51 @@ __tools = {}
__compiler = '(none)'
# Find tools.
-def find(languages, arch):
- cc_name = ('GNU', 'GCC')
- cxx_name = ('GNU', 'GCC')
- asm_name = ('GNU', 'as')
- asmc_name = ('GNU', 'GCC')
- pack_name = ('GNU', 'ar')
-
- # Setup the C compiler.
- try:
- cp = __c_compilers[cc_name]['getparams']('cc', arch, 'elf', ['c89'])
- except ToolNotFoundException:
- Raise(NoCCompilerException)
-
- # Setup the C++ compiler.
- try:
- cxxp = __cxx_compilers[cxx_name]['getparams']('cxx', arch,