From d72f5d7b16daeec3c965bbbe4c81d4311b4d9df2 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Sat, 17 Jan 2009 19:46:12 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@627 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- docs/ch.txt | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/docs/ch.txt b/docs/ch.txt index 8f114171b..6cb5140b9 100644 --- a/docs/ch.txt +++ b/docs/ch.txt @@ -105,16 +105,16 @@ * interrupt sources are disabled. In this state it is not possible to use * any system API except @p chSysInit(). This state is entered after a * physical reset. + * - Normal. All the interrupt sources are enabled and the system APIs + * are accessible, threads are running. + * - Suspended. In this state the fast interrupt sources are enabled but + * the regular interrupt sources are not. In this state it is not possible + * to use any system API except @p chSysDisable() or @p chSysEnable() in + * order to change state. * - Disabled. When the system is in this state both the maskable * regular and fast interrupt sources are disabled. In this state it is not * possible to use any system API except @p chSysSuspend() or - * @p chSysEnable(). - * This state is entered using @p chSysDisable(). - * - Suspended. In this state the fast interrupt sources are enabled but - * the regular interrupt sources are not. In this state it is not possible - * to use any system API except @p chSysDisable() or @p chSysEnable(). - * - Normal. All the interrupt sources are enabled and the system APIs - * are accessible, threads are running. + * @p chSysEnable() in order to change state. * - Sleep. Architecture-dependent low power mode, the idle thread * goes in this state and waits for interrupts, after servicing the interrupt * the Normal state is restored and the scheduler has a chance to reschedule. @@ -128,7 +128,7 @@ * invoke any I-Class API. Interrupt handlers can be preemptable on some * architectures thus is important to switch to I-Locked state before * invoking system APIs. - * - Serving Fast Interrupt. No system APIs are accessible. + * - Serving Fast Interrupt. System APIs are not accessible. * - Serving Non-Maskable Interrupt. System APIs are not accessible. * - Halted. All interrupt sources are disabled and system stopped into * an infinite loop. This state can be reached if the debug mode is activated -- cgit v1.2.3