From cac70df72b34d8fdf4b977a86078048f8e826f27 Mon Sep 17 00:00:00 2001 From: Peter Mitsis Date: Mon, 18 Jul 2016 12:26:33 -0400 Subject: [PATCH] nanokernel, cosmetic: Standardize [INT|EXC]_ACTIVE comments The comments for INT_ACTIVE and EXC_ACTIVE now refer to "executing context ..." for all architectures. Change-Id: Ib868958639a3b30e1814fcaa4d1f0651d3b2561e Signed-off-by: Peter Mitsis --- arch/arc/include/nano_private.h | 4 ++-- arch/arm/include/nano_private.h | 4 ++-- arch/nios2/include/nano_private.h | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/arch/arc/include/nano_private.h b/arch/arc/include/nano_private.h index b3a6d5ad793..19d0c4ef594 100644 --- a/arch/arc/include/nano_private.h +++ b/arch/arc/include/nano_private.h @@ -137,8 +137,8 @@ typedef struct callee_saved tCalleeSaved; #define FIBER 0x000 #define TASK 0x001 /* 1 = task, 0 = fiber */ -#define INT_ACTIVE 0x002 /* 1 = execution context is interrupt handler */ -#define EXC_ACTIVE 0x004 /* 1 = executino context is exception handler */ +#define INT_ACTIVE 0x002 /* 1 = executing context is interrupt handler */ +#define EXC_ACTIVE 0x004 /* 1 = executing context is exception handler */ #define USE_FP 0x010 /* 1 = thread uses floating point unit */ #define PREEMPTIBLE 0x020 /* 1 = preemptible thread */ #define ESSENTIAL 0x200 /* 1 = system thread that must not abort */ diff --git a/arch/arm/include/nano_private.h b/arch/arm/include/nano_private.h index 5d8ddc64e7f..6be231a8e4e 100644 --- a/arch/arm/include/nano_private.h +++ b/arch/arm/include/nano_private.h @@ -95,8 +95,8 @@ typedef struct preempt tPreempt; #define FIBER 0x000 #define TASK 0x001 /* 1 = task, 0 = fiber */ -#define INT_ACTIVE 0x002 /* 1 = executino context is interrupt handler */ -#define EXC_ACTIVE 0x004 /* 1 = executino context is exception handler */ +#define INT_ACTIVE 0x002 /* 1 = executing context is interrupt handler */ +#define EXC_ACTIVE 0x004 /* 1 = executing context is exception handler */ #define USE_FP 0x010 /* 1 = thread uses floating point unit */ #define PREEMPTIBLE \ 0x020 /* 1 = preemptible thread \ diff --git a/arch/nios2/include/nano_private.h b/arch/nios2/include/nano_private.h index fecb29c8b6c..a629d4bd753 100644 --- a/arch/nios2/include/nano_private.h +++ b/arch/nios2/include/nano_private.h @@ -50,8 +50,8 @@ extern "C" { #define FIBER 0x000 #define TASK 0x001 /* 1 = task, 0 = fiber */ -#define INT_ACTIVE 0x002 /* 1 = execution context is interrupt handler */ -#define EXC_ACTIVE 0x004 /* 1 = executino context is exception handler */ +#define INT_ACTIVE 0x002 /* 1 = executing context is interrupt handler */ +#define EXC_ACTIVE 0x004 /* 1 = executing context is exception handler */ #define USE_FP 0x010 /* 1 = thread uses floating point unit */ #define PREEMPTIBLE 0x020 /* 1 = preemptible thread */ #define ESSENTIAL 0x200 /* 1 = system thread that must not abort */