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/MSP430/chcore.h | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'ports/MSP430') diff --git a/ports/MSP430/chcore.h b/ports/MSP430/chcore.h index 642e53286..08240835a 100644 --- a/ports/MSP430/chcore.h +++ b/ports/MSP430/chcore.h @@ -50,6 +50,7 @@ typedef uint16_t stkalign_t; */ typedef void *regmsp_t; +/** @cond never */ /** * Interrupt saved context. */ @@ -61,9 +62,10 @@ struct extctx { regmsp_t sr; regmsp_t pc; }; +/** @endcond */ +/** @cond never */ /** - * System saved context. * This structure represents the inner stack frame during a context switching. */ struct intctx { @@ -77,15 +79,17 @@ struct intctx { regmsp_t r11; regmsp_t pc; }; +/** @endcond */ +/** @cond never */ /** - * Platform dependent part of the @p Thread structure. * In the MSP430 port this structure just holds a pointer to the @p intctx * structure representing the stack pointer at the time of the context switch. */ -typedef struct { +struct context { struct intctx *sp; -} Context; +}; +/** @endcond */ /** * Platform dependent part of the @p chThdInit() API. -- cgit v1.2.3