From a66c595b1417195f185836fa444312fe73c99278 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Mon, 24 Nov 2014 08:49:36 +0000 Subject: [PATCH] git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7530 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- doc/{rt => common}/rsc/custom.css | 0 doc/{rt => common}/rsc/footer_chm.html | 0 doc/common/rsc/footer_html.html | 12 ++++++++ doc/{rt => common}/rsc/header_chm.html | 2 +- doc/{rt => common}/rsc/header_html.html | 2 +- doc/{rt => common}/rsc/layout.xml | 0 doc/{rt => common}/rsc/logo.png | Bin doc/rt/Doxyfile_chm | 39 ++++++++++-------------- doc/rt/Doxyfile_html | 29 ++++++++---------- doc/rt/rsc/footer_html.html | 24 --------------- doc/rt/src/main.dox | 2 +- os/rt/templates/chcore.h | 12 ++++++++ test/rt/test.dox | 28 ----------------- 13 files changed, 55 insertions(+), 95 deletions(-) rename doc/{rt => common}/rsc/custom.css (100%) rename doc/{rt => common}/rsc/footer_chm.html (100%) create mode 100644 doc/common/rsc/footer_html.html rename doc/{rt => common}/rsc/header_chm.html (84%) rename doc/{rt => common}/rsc/header_html.html (90%) rename doc/{rt => common}/rsc/layout.xml (100%) rename doc/{rt => common}/rsc/logo.png (100%) delete mode 100644 doc/rt/rsc/footer_html.html diff --git a/doc/rt/rsc/custom.css b/doc/common/rsc/custom.css similarity index 100% rename from doc/rt/rsc/custom.css rename to doc/common/rsc/custom.css diff --git a/doc/rt/rsc/footer_chm.html b/doc/common/rsc/footer_chm.html similarity index 100% rename from doc/rt/rsc/footer_chm.html rename to doc/common/rsc/footer_chm.html diff --git a/doc/common/rsc/footer_html.html b/doc/common/rsc/footer_html.html new file mode 100644 index 000000000..0b176f750 --- /dev/null +++ b/doc/common/rsc/footer_html.html @@ -0,0 +1,12 @@ + + + + + diff --git a/doc/rt/rsc/header_chm.html b/doc/common/rsc/header_chm.html similarity index 84% rename from doc/rt/rsc/header_chm.html rename to doc/common/rsc/header_chm.html index 66a8e3672..c83f9f7c6 100644 --- a/doc/rt/rsc/header_chm.html +++ b/doc/common/rsc/header_chm.html @@ -13,7 +13,7 @@ -
ChibiOS/RT $projectnumber
+
$projectname $projectnumber
diff --git a/doc/rt/rsc/header_html.html b/doc/common/rsc/header_html.html similarity index 90% rename from doc/rt/rsc/header_html.html rename to doc/common/rsc/header_html.html index 631dec2b1..05eacc338 100644 --- a/doc/rt/rsc/header_html.html +++ b/doc/common/rsc/header_html.html @@ -20,7 +20,7 @@ $(document).ready(initResizable); -
ChibiOS/RT
$projectnumber
+
$projectname
$projectnumber
- - - - diff --git a/doc/rt/src/main.dox b/doc/rt/src/main.dox index fd1e8e780..937214615 100644 --- a/doc/rt/src/main.dox +++ b/doc/rt/src/main.dox @@ -26,7 +26,7 @@ */ /** - * @mainpage ChibiOS/RT + * @mainpage Introdution * @author Giovanni Di Sirio (gdisirio@users.sourceforge.net). * *

Chibi ?

diff --git a/os/rt/templates/chcore.h b/os/rt/templates/chcore.h index bdb5dd0b6..71a6eaf2f 100644 --- a/os/rt/templates/chcore.h +++ b/os/rt/templates/chcore.h @@ -233,6 +233,10 @@ struct context { /* External declarations. */ /*===========================================================================*/ +/* The following code is not processed when the file is included from an + asm module.*/ +#if !defined(_FROM_ASM_) + #ifdef __cplusplus extern "C" { #endif @@ -242,10 +246,16 @@ extern "C" { } #endif +#endif /* !defined(_FROM_ASM_) */ + /*===========================================================================*/ /* Module inline functions. */ /*===========================================================================*/ +/* The following code is not processed when the file is included from an + asm module.*/ +#if !defined(_FROM_ASM_) + /** * @brief Returns a word encoding the current interrupts status. * @@ -374,6 +384,8 @@ static inline rtcnt_t port_rt_get_counter_value(void) { /* Module late inclusions. */ /*===========================================================================*/ +/* The following code is not processed when the file is included from an + asm module.*/ #if !defined(_FROM_ASM_) #if CH_CFG_ST_TIMEDELTA > 0 diff --git a/test/rt/test.dox b/test/rt/test.dox index 87c68320b..2ff584055 100644 --- a/test/rt/test.dox +++ b/test/rt/test.dox @@ -27,34 +27,6 @@ * order to verify the proper working of the kernel, the port and the demo * itself. * - *

Strategy by Component

- * The OS components are tested in various modes depending on their importance: - * - Kernel. The kernel code is subject to rigorous testing. The test - * suite aims to test all the kernel code and reach a code coverage - * as close to 100% as possible. In addition to the code coverage, the kernel - * code is tested for functionality and benchmarked for speed - * and size before each stable release. In addition to the code - * coverage and functional testing a batch compilation test is - * performed before each release, the kernel is compiled by alternatively - * enabling and disabling all the various configuration options, the - * kernel code is expected to compile without errors nor warnings and - * execute the test suite without failures (a specific simulator is used - * for this execution test, it is done automatically by a script because - * the entire sequence can take hours).
- * All the tests results are included as reports in the OS distribution - * under ./docs/reports. - * - Ports. The port code is tested by executing the kernel test - * suite on the target hardware. A port is validated only if it passes all - * the tests. Speed and size benchmarks for all the supported architectures - * are performed, both size and speed regressions are monitored. - * - HAL. The HAL high level code and device drivers implementations - * are tested through specific test applications under ./testhal. - * - Various. The miscellaneous code is tested by use in the various - * demos. - * - External Code. Not tested, external libraries or components are - * used as-is or with minor patching where required, problems are usually - * reported upstream. - * . *

Kernel Test Suite

* The kernel test suite is divided in modules or test sequences. Each Test * Module performs a series of tests on a specified kernel subsystem or