Fixed bug 3566342.

git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/stable_2.4.x@4676 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
gdisirio 2012-09-16 18:05:44 +00:00
parent beb08eb229
commit c2f90614d4
2 changed files with 3 additions and 1 deletions

View File

@ -101,6 +101,7 @@ typedef void (*stm8func_t)(void);
*/ */
struct extctx { struct extctx {
uint8_t _next; uint8_t _next;
uint8_t c_lreg[4];
uint8_t c_y[3]; uint8_t c_y[3];
uint8_t c_x[3]; uint8_t c_x[3];
uint8_t cc; uint8_t cc;
@ -225,7 +226,7 @@ struct stm8_startctx {
* @note @p id can be a function name or a vector number depending on the * @note @p id can be a function name or a vector number depending on the
* port implementation. * port implementation.
*/ */
#define PORT_IRQ_HANDLER(id) @far @interrupt void vector##id(void) #define PORT_IRQ_HANDLER(id) @far @interrupt @svlreg void vector##id(void)
/** /**
* @brief Port-related initialization code. * @brief Port-related initialization code.

View File

@ -79,6 +79,7 @@
***************************************************************************** *****************************************************************************
*** 2.4.3 *** *** 2.4.3 ***
- FIX: Fixed STM8L, cosmic compiler: c_lreg not saved (bug 3566342).
- FIX: Fixed anomaly in USB enumeration (bug 3565325). - FIX: Fixed anomaly in USB enumeration (bug 3565325).
- FIX: Fixed problem with lwIP statistics (bug 3564134). - FIX: Fixed problem with lwIP statistics (bug 3564134).
- FIX: Fixed packed structures macros not functional in IAR and RVCT port - FIX: Fixed packed structures macros not functional in IAR and RVCT port