aboutsummaryrefslogtreecommitdiffstats
path: root/os
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2010-03-07 08:32:55 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2010-03-07 08:32:55 +0000
commiteb5721207ec3c63c8fcddd39810b851ff72264f6 (patch)
treebf24ed002388b3d63e0128a61438c5eb5cc8425b /os
parentbeb75b02c3c2a9d8c51c15344db86487d6d3fce0 (diff)
downloadChibiOS-eb5721207ec3c63c8fcddd39810b851ff72264f6.tar.gz
ChibiOS-eb5721207ec3c63c8fcddd39810b851ff72264f6.tar.bz2
ChibiOS-eb5721207ec3c63c8fcddd39810b851ff72264f6.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1727 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os')
-rw-r--r--os/hal/platforms/Posix/pal_lld.c2
-rw-r--r--os/hal/platforms/STM8/hal_lld.c2
-rw-r--r--os/hal/platforms/STM8/hal_lld.h2
-rw-r--r--os/hal/platforms/STM8/pal_lld.c2
-rw-r--r--os/hal/platforms/STM8/pal_lld.h8
-rw-r--r--os/hal/platforms/STM8/platform.dox2
-rw-r--r--os/hal/platforms/STM8/serial_lld.c4
-rw-r--r--os/hal/platforms/STM8/serial_lld.h2
-rw-r--r--os/hal/platforms/STM8/stm8.h2
-rw-r--r--os/hal/platforms/Win32/pal_lld.c2
-rw-r--r--os/ports/GCC/PPC/chcore.h2
-rw-r--r--os/ports/RC/STM8/chcore.c4
-rw-r--r--os/ports/RC/STM8/chcore.h4
-rw-r--r--os/ports/RC/STM8/chcoreasm.asm6
-rw-r--r--os/ports/RC/STM8/chtypes.h2
-rw-r--r--os/ports/RC/STM8/port.dox9
16 files changed, 31 insertions, 24 deletions
diff --git a/os/hal/platforms/Posix/pal_lld.c b/os/hal/platforms/Posix/pal_lld.c
index 7e4221929..f5e409b8a 100644
--- a/os/hal/platforms/Posix/pal_lld.c
+++ b/os/hal/platforms/Posix/pal_lld.c
@@ -35,7 +35,7 @@
/*===========================================================================*/
/**
- * @brief VIO1 simulated port.
+ * @brief VIO1 simulated port.
*/
sim_vio_port_t vio_port_1;
diff --git a/os/hal/platforms/STM8/hal_lld.c b/os/hal/platforms/STM8/hal_lld.c
index 524c39c7c..0d5791236 100644
--- a/os/hal/platforms/STM8/hal_lld.c
+++ b/os/hal/platforms/STM8/hal_lld.c
@@ -1,5 +1,5 @@
/*
- ChibiOS/RT - Copyright (C) 2006-2007 Giovanni Di Sirio.
+ ChibiOS/RT - Copyright (C) 2006,2007,2008,2009,2010 Giovanni Di Sirio.
This file is part of ChibiOS/RT.
diff --git a/os/hal/platforms/STM8/hal_lld.h b/os/hal/platforms/STM8/hal_lld.h
index 38ea50001..6b9bf2444 100644
--- a/os/hal/platforms/STM8/hal_lld.h
+++ b/os/hal/platforms/STM8/hal_lld.h
@@ -1,5 +1,5 @@
/*
- ChibiOS/RT - Copyright (C) 2006-2007 Giovanni Di Sirio.
+ ChibiOS/RT - Copyright (C) 2006,2007,2008,2009,2010 Giovanni Di Sirio.
This file is part of ChibiOS/RT.
diff --git a/os/hal/platforms/STM8/pal_lld.c b/os/hal/platforms/STM8/pal_lld.c
index e55717077..b03e5a9d2 100644
--- a/os/hal/platforms/STM8/pal_lld.c
+++ b/os/hal/platforms/STM8/pal_lld.c
@@ -1,5 +1,5 @@
/*
- ChibiOS/RT - Copyright (C) 2006-2007 Giovanni Di Sirio.
+ ChibiOS/RT - Copyright (C) 2006,2007,2008,2009,2010 Giovanni Di Sirio.
This file is part of ChibiOS/RT.
diff --git a/os/hal/platforms/STM8/pal_lld.h b/os/hal/platforms/STM8/pal_lld.h
index d5517fe86..88f68dd37 100644
--- a/os/hal/platforms/STM8/pal_lld.h
+++ b/os/hal/platforms/STM8/pal_lld.h
@@ -1,5 +1,5 @@
/*
- ChibiOS/RT - Copyright (C) 2006-2007 Giovanni Di Sirio.
+ ChibiOS/RT - Copyright (C) 2006,2007,2008,2009,2010 Giovanni Di Sirio.
This file is part of ChibiOS/RT.
@@ -58,18 +58,18 @@ typedef struct {
} STM8GPIOConfig;
/**
- * @brief Width, in bits, of an I/O port.
+ * @brief Width, in bits, of an I/O port.
*/
#define PAL_IOPORTS_WIDTH 32
/**
* @brief Whole port mask.
- * @brief This macro specifies all the valid bits into a port.
+ * @brief This macro specifies all the valid bits into a port.
*/
#define PAL_WHOLE_PORT ((ioportmask_t)0xFFFFFFFF)
/**
- * @brief Digital I/O port sized unsigned type.
+ * @brief Digital I/O port sized unsigned type.
*/
typedef uint32_t ioportmask_t;
diff --git a/os/hal/platforms/STM8/platform.dox b/os/hal/platforms/STM8/platform.dox
index 1bf5a16bd..0a6dbbb80 100644
--- a/os/hal/platforms/STM8/platform.dox
+++ b/os/hal/platforms/STM8/platform.dox
@@ -1,5 +1,5 @@
/*
- ChibiOS/RT - Copyright (C) 2006-2007 Giovanni Di Sirio.
+ ChibiOS/RT - Copyright (C) 2006,2007,2008,2009,2010 Giovanni Di Sirio.
This file is part of ChibiOS/RT.
diff --git a/os/hal/platforms/STM8/serial_lld.c b/os/hal/platforms/STM8/serial_lld.c
index 547b8a98c..ec792a922 100644
--- a/os/hal/platforms/STM8/serial_lld.c
+++ b/os/hal/platforms/STM8/serial_lld.c
@@ -1,5 +1,5 @@
/*
- ChibiOS/RT - Copyright (C) 2006-2007 Giovanni Di Sirio.
+ ChibiOS/RT - Copyright (C) 2006,2007,2008,2009,2010 Giovanni Di Sirio.
This file is part of ChibiOS/RT.
@@ -257,7 +257,7 @@ CH_IRQ_HANDLER(21) {
/*===========================================================================*/
/**
- * @brief Low level serial driver initialization.
+ * @brief Low level serial driver initialization.
*/
void sd_lld_init(void) {
diff --git a/os/hal/platforms/STM8/serial_lld.h b/os/hal/platforms/STM8/serial_lld.h
index a67e5246c..6f6deae6e 100644
--- a/os/hal/platforms/STM8/serial_lld.h
+++ b/os/hal/platforms/STM8/serial_lld.h
@@ -1,5 +1,5 @@
/*
- ChibiOS/RT - Copyright (C) 2006-2007 Giovanni Di Sirio.
+ ChibiOS/RT - Copyright (C) 2006,2007,2008,2009,2010 Giovanni Di Sirio.
This file is part of ChibiOS/RT.
diff --git a/os/hal/platforms/STM8/stm8.h b/os/hal/platforms/STM8/stm8.h
index 9a7172b71..a91b3cbaf 100644
--- a/os/hal/platforms/STM8/stm8.h
+++ b/os/hal/platforms/STM8/stm8.h
@@ -1,5 +1,5 @@
/*
- ChibiOS/RT - Copyright (C) 2006-2007 Giovanni Di Sirio.
+ ChibiOS/RT - Copyright (C) 2006,2007,2008,2009,2010 Giovanni Di Sirio.
This file is part of ChibiOS/RT.
diff --git a/os/hal/platforms/Win32/pal_lld.c b/os/hal/platforms/Win32/pal_lld.c
index e83050ece..378557780 100644
--- a/os/hal/platforms/Win32/pal_lld.c
+++ b/os/hal/platforms/Win32/pal_lld.c
@@ -35,7 +35,7 @@
/*===========================================================================*/
/**
- * @brief VIO1 simulated port.
+ * @brief VIO1 simulated port.
*/
sim_vio_port_t vio_port_1;
diff --git a/os/ports/GCC/PPC/chcore.h b/os/ports/GCC/PPC/chcore.h
index 1412bf845..02859afcf 100644
--- a/os/ports/GCC/PPC/chcore.h
+++ b/os/ports/GCC/PPC/chcore.h
@@ -46,7 +46,7 @@
/**
* @brief Core variant selector.
* @details This setting affects the predefined architecture strings and
- * possibly code paths and structures into the port layer.
+ * possibly code paths and structures into the port layer.
*/
#if !defined(PPC_VARIANT) || defined(__DOXYGEN__)
#define PPC_VARIANT PPC_VARIANT_e200z3
diff --git a/os/ports/RC/STM8/chcore.c b/os/ports/RC/STM8/chcore.c
index 21d41ecc7..bccfc454a 100644
--- a/os/ports/RC/STM8/chcore.c
+++ b/os/ports/RC/STM8/chcore.c
@@ -1,5 +1,5 @@
/*
- ChibiOS/RT - Copyright (C) 2006-2007 Giovanni Di Sirio.
+ ChibiOS/RT - Copyright (C) 2006,2007,2008,2009,2010 Giovanni Di Sirio.
This file is part of ChibiOS/RT.
@@ -32,7 +32,7 @@
* @details This function is invoked by the operating system when an
* unrecoverable error is detected (as example because a programming
* error in the application code that triggers an assertion while in
- * debug mode).
+ * debug mode).
*/
void port_halt(void) {
diff --git a/os/ports/RC/STM8/chcore.h b/os/ports/RC/STM8/chcore.h
index 57c8211ef..f652a858b 100644
--- a/os/ports/RC/STM8/chcore.h
+++ b/os/ports/RC/STM8/chcore.h
@@ -1,5 +1,5 @@
/*
- ChibiOS/RT - Copyright (C) 2006-2007 Giovanni Di Sirio.
+ ChibiOS/RT - Copyright (C) 2006,2007,2008,2009,2010 Giovanni Di Sirio.
This file is part of ChibiOS/RT.
@@ -178,7 +178,7 @@ struct context {
/**
* @brief IRQ handler function declaration.
* @note @p id can be a function name or a vector number depending on the
- * port implementation.
+ * port implementation.
*/
#define PORT_IRQ_HANDLER(id) void irq##id(void) interrupt id
diff --git a/os/ports/RC/STM8/chcoreasm.asm b/os/ports/RC/STM8/chcoreasm.asm
index 1e125df0e..e5cfda1fb 100644
--- a/os/ports/RC/STM8/chcoreasm.asm
+++ b/os/ports/RC/STM8/chcoreasm.asm
@@ -1,4 +1,4 @@
-; ChibiOS/RT - Copyright (C) 2006-2007 Giovanni Di Sirio.
+; ChibiOS/RT - Copyright (C) 2006,2007,2008,2009,2010 Giovanni Di Sirio.
;
; This file is part of ChibiOS/RT.
;
@@ -9,11 +9,11 @@
; ChibiOS/RT 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
+; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
; GNU General Public License for more details.
; You should have received a copy of the GNU General Public License
-; along with this program. If not, see <http://www.gnu.org/licenses/>.
+; along with this program. If not, see <http://www.gnu.org/licenses/>.
?PR??_THREAD_START?CHCOREASM SEGMENT CODE
diff --git a/os/ports/RC/STM8/chtypes.h b/os/ports/RC/STM8/chtypes.h
index 48587c722..d2245b9c0 100644
--- a/os/ports/RC/STM8/chtypes.h
+++ b/os/ports/RC/STM8/chtypes.h
@@ -1,5 +1,5 @@
/*
- ChibiOS/RT - Copyright (C) 2006-2007 Giovanni Di Sirio.
+ ChibiOS/RT - Copyright (C) 2006,2007,2008,2009,2010 Giovanni Di Sirio.
This file is part of ChibiOS/RT.
diff --git a/os/ports/RC/STM8/port.dox b/os/ports/RC/STM8/port.dox
index 594fcd468..332b7f3f1 100644
--- a/os/ports/RC/STM8/port.dox
+++ b/os/ports/RC/STM8/port.dox
@@ -1,5 +1,5 @@
/*
- ChibiOS/RT - Copyright (C) 2006-2007 Giovanni Di Sirio.
+ ChibiOS/RT - Copyright (C) 2006,2007,2008,2009,2010 Giovanni Di Sirio.
This file is part of ChibiOS/RT.
@@ -50,6 +50,13 @@
* enough stack space for interrupts in each thread stack. This can be done
* by modifying the @p INT_REQUIRED_STACK macro into
* <b>./os/ports/RC/STM8/chcore.h</b>.
+ * - The kernel currently supports only the small memory model so the
+ * kernel files should be loaded in the first 64K. Note that this is not
+ * a problem because upper addresses can be used by the user code, the
+ * kernel can context switch code running there.
+ * - The configuration option @p CH_OPTIMIZE_SPEED is not currently supported
+ * because the missing support of the @p inline "C" keyword in the
+ * compiler.
* .
* @ingroup ports
*/