From f8b4fca89a8dd31989a3d21e4c6fb4175aba4110 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Mon, 19 Jan 2009 10:41:54 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@642 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- ports/ARMCM3/chcore.h | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'ports/ARMCM3') diff --git a/ports/ARMCM3/chcore.h b/ports/ARMCM3/chcore.h index 85dcd0044..505668698 100644 --- a/ports/ARMCM3/chcore.h +++ b/ports/ARMCM3/chcore.h @@ -96,14 +96,16 @@ typedef uint32_t stkalign_t; */ typedef void *regarm_t; +/** @cond never */ /** * Interrupt saved context, empty in this architecture. */ struct extctx { }; +/** @endcond */ +/** @cond never */ /** - * System saved context. * This structure represents the inner stack frame during a context switching. */ struct intctx { @@ -128,13 +130,16 @@ struct intctx { regarm_t pc; regarm_t xpsr; }; +/** @endcond */ +/** @cond never */ /** * Cortex-M3 context structure. */ -typedef struct { +struct context { struct intctx *r13; -} Context; +}; +/** @endcond */ /** * Platform dependent part of the @p chThdInit() API. -- cgit v1.2.3