summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2014-04-01 10:20:01 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2014-04-03 11:13:26 +0200
commitf570b0719919c923b217f83ce6664cb4bd2f99eb (patch)
treec0b774103f634ad916bc3f361c76039eef345a96
parentscore: PR788: Add INTERNAL_ERROR_RESOURCE_IN_USE (diff)
downloadrtems-f570b0719919c923b217f83ce6664cb4bd2f99eb.tar.bz2
score: Rename Priority_bit_map_Control
Rename Priority_bit_map_Control in Priority_bit_map_Word.
-rw-r--r--cpukit/score/cpu/arm/rtems/score/types.h2
-rw-r--r--cpukit/score/cpu/avr/rtems/score/cpu.h2
-rw-r--r--cpukit/score/cpu/avr/rtems/score/types.h2
-rw-r--r--cpukit/score/cpu/bfin/rtems/score/cpu.h2
-rw-r--r--cpukit/score/cpu/bfin/rtems/score/types.h2
-rw-r--r--cpukit/score/cpu/h8300/rtems/score/cpu.h2
-rw-r--r--cpukit/score/cpu/h8300/rtems/score/types.h2
-rw-r--r--cpukit/score/cpu/i386/rtems/score/types.h2
-rw-r--r--cpukit/score/cpu/lm32/rtems/score/cpu.h2
-rw-r--r--cpukit/score/cpu/lm32/rtems/score/types.h2
-rw-r--r--cpukit/score/cpu/m32c/rtems/score/cpu.h2
-rw-r--r--cpukit/score/cpu/m32c/rtems/score/types.h2
-rw-r--r--cpukit/score/cpu/m32r/rtems/score/cpu.h2
-rw-r--r--cpukit/score/cpu/m32r/rtems/score/types.h2
-rw-r--r--cpukit/score/cpu/m68k/rtems/score/types.h2
-rw-r--r--cpukit/score/cpu/mips/rtems/score/cpu.h2
-rw-r--r--cpukit/score/cpu/mips/rtems/score/types.h2
-rw-r--r--cpukit/score/cpu/moxie/rtems/score/types.h2
-rw-r--r--cpukit/score/cpu/nios2/rtems/score/types.h2
-rw-r--r--cpukit/score/cpu/no_cpu/rtems/score/cpu.h2
-rw-r--r--cpukit/score/cpu/no_cpu/rtems/score/types.h2
-rw-r--r--cpukit/score/cpu/powerpc/rtems/score/cpu.h2
-rw-r--r--cpukit/score/cpu/powerpc/rtems/score/types.h2
-rw-r--r--cpukit/score/cpu/sh/rtems/score/cpu.h2
-rw-r--r--cpukit/score/cpu/sh/rtems/score/types.h2
-rw-r--r--cpukit/score/cpu/sparc/rtems/score/types.h2
-rw-r--r--cpukit/score/cpu/sparc64/rtems/score/types.h2
-rw-r--r--cpukit/score/cpu/v850/rtems/score/cpu.h2
-rw-r--r--cpukit/score/cpu/v850/rtems/score/types.h2
-rw-r--r--cpukit/score/include/rtems/score/prioritybitmap.h12
-rw-r--r--cpukit/score/include/rtems/score/prioritybitmapimpl.h42
-rw-r--r--cpukit/score/src/prioritybitmap.c4
32 files changed, 58 insertions, 58 deletions
diff --git a/cpukit/score/cpu/arm/rtems/score/types.h b/cpukit/score/cpu/arm/rtems/score/types.h
index 1b5cfba90f..6910e1850a 100644
--- a/cpukit/score/cpu/arm/rtems/score/types.h
+++ b/cpukit/score/cpu/arm/rtems/score/types.h
@@ -37,7 +37,7 @@ extern "C" {
* This section defines the basic types for this processor.
*/
-typedef uint16_t Priority_bit_map_Control;
+typedef uint16_t Priority_bit_map_Word;
/** @} */
diff --git a/cpukit/score/cpu/avr/rtems/score/cpu.h b/cpukit/score/cpu/avr/rtems/score/cpu.h
index f7753a2a04..70a0ddb429 100644
--- a/cpukit/score/cpu/avr/rtems/score/cpu.h
+++ b/cpukit/score/cpu/avr/rtems/score/cpu.h
@@ -824,7 +824,7 @@ uint32_t _CPU_ISR_Get_level( void );
/*
* This routine sets _output to the bit number of the first bit
- * set in _value. _value is of CPU dependent type Priority_bit_map_Control.
+ * set in _value. _value is of CPU dependent type Priority_bit_map_Word.
* This type may be either 16 or 32 bits wide although only the 16
* least significant bits will be used.
*
diff --git a/cpukit/score/cpu/avr/rtems/score/types.h b/cpukit/score/cpu/avr/rtems/score/types.h
index ec769c4dfb..0de6ba295d 100644
--- a/cpukit/score/cpu/avr/rtems/score/types.h
+++ b/cpukit/score/cpu/avr/rtems/score/types.h
@@ -31,7 +31,7 @@ extern "C" {
* This section defines the basic types for this processor.
*/
-typedef uint16_t Priority_bit_map_Control;
+typedef uint16_t Priority_bit_map_Word;
typedef void avr_isr;
typedef void ( *avr_isr_entry )( void );
diff --git a/cpukit/score/cpu/bfin/rtems/score/cpu.h b/cpukit/score/cpu/bfin/rtems/score/cpu.h
index e26d1ac7a3..306e4eb316 100644
--- a/cpukit/score/cpu/bfin/rtems/score/cpu.h
+++ b/cpukit/score/cpu/bfin/rtems/score/cpu.h
@@ -953,7 +953,7 @@ void _CPU_Context_Initialize(
/**
* This routine sets @a _output to the bit number of the first bit
* set in @a _value. @a _value is of CPU dependent type
- * @a Priority_bit_map_Control. This type may be either 16 or 32 bits
+ * @a Priority_bit_map_Word. This type may be either 16 or 32 bits
* wide although only the 16 least significant bits will be used.
*
* There are a number of variables in using a "find first bit" type
diff --git a/cpukit/score/cpu/bfin/rtems/score/types.h b/cpukit/score/cpu/bfin/rtems/score/types.h
index 8eeb5efa55..ff120b9e80 100644
--- a/cpukit/score/cpu/bfin/rtems/score/types.h
+++ b/cpukit/score/cpu/bfin/rtems/score/types.h
@@ -32,7 +32,7 @@ extern "C" {
*/
/** This defines the type for a priority bit map entry. */
-typedef uint16_t Priority_bit_map_Control;
+typedef uint16_t Priority_bit_map_Word;
/** This defines the return type for an ISR entry point. */
typedef void blackfin_isr;
diff --git a/cpukit/score/cpu/h8300/rtems/score/cpu.h b/cpukit/score/cpu/h8300/rtems/score/cpu.h
index 77156ecc5e..621b3f131f 100644
--- a/cpukit/score/cpu/h8300/rtems/score/cpu.h
+++ b/cpukit/score/cpu/h8300/rtems/score/cpu.h
@@ -858,7 +858,7 @@ uint32_t _CPU_ISR_Get_level( void );
/*
* This routine sets _output to the bit number of the first bit
- * set in _value. _value is of CPU dependent type Priority_bit_map_Control.
+ * set in _value. _value is of CPU dependent type Priority_bit_map_Word.
* This type may be either 16 or 32 bits wide although only the 16
* least significant bits will be used.
*
diff --git a/cpukit/score/cpu/h8300/rtems/score/types.h b/cpukit/score/cpu/h8300/rtems/score/types.h
index 1e71b7e317..7ac2b18f93 100644
--- a/cpukit/score/cpu/h8300/rtems/score/types.h
+++ b/cpukit/score/cpu/h8300/rtems/score/types.h
@@ -31,7 +31,7 @@ extern "C" {
* This section defines the basic types for this processor.
*/
-typedef uint16_t Priority_bit_map_Control;
+typedef uint16_t Priority_bit_map_Word;
typedef void h8300_isr;
typedef void ( *h8300_isr_entry )( void );
diff --git a/cpukit/score/cpu/i386/rtems/score/types.h b/cpukit/score/cpu/i386/rtems/score/types.h
index 170e8d8962..72461fbb21 100644
--- a/cpukit/score/cpu/i386/rtems/score/types.h
+++ b/cpukit/score/cpu/i386/rtems/score/types.h
@@ -31,7 +31,7 @@ extern "C" {
* This section defines the basic types for this processor.
*/
-typedef uint16_t Priority_bit_map_Control;
+typedef uint16_t Priority_bit_map_Word;
typedef void i386_isr;
typedef i386_isr ( *i386_isr_entry )( void );
diff --git a/cpukit/score/cpu/lm32/rtems/score/cpu.h b/cpukit/score/cpu/lm32/rtems/score/cpu.h
index 3956c70b03..8e03245eb1 100644
--- a/cpukit/score/cpu/lm32/rtems/score/cpu.h
+++ b/cpukit/score/cpu/lm32/rtems/score/cpu.h
@@ -950,7 +950,7 @@ extern char _gp[];
/**
* This routine sets @a _output to the bit number of the first bit
* set in @a _value. @a _value is of CPU dependent type
- * @a Priority_bit_map_Control. This type may be either 16 or 32 bits
+ * @a Priority_bit_map_Word. This type may be either 16 or 32 bits
* wide although only the 16 least significant bits will be used.
*
* There are a number of variables in using a "find first bit" type
diff --git a/cpukit/score/cpu/lm32/rtems/score/types.h b/cpukit/score/cpu/lm32/rtems/score/types.h
index 4127ad40bf..ab9dcbdae7 100644
--- a/cpukit/score/cpu/lm32/rtems/score/types.h
+++ b/cpukit/score/cpu/lm32/rtems/score/types.h
@@ -35,7 +35,7 @@ extern "C" {
*/
/** This defines the type for a priority bit map entry. */
-typedef uint16_t Priority_bit_map_Control;
+typedef uint16_t Priority_bit_map_Word;
#ifdef __cplusplus
}
diff --git a/cpukit/score/cpu/m32c/rtems/score/cpu.h b/cpukit/score/cpu/m32c/rtems/score/cpu.h
index 338ed57e31..fa31d74dd9 100644
--- a/cpukit/score/cpu/m32c/rtems/score/cpu.h
+++ b/cpukit/score/cpu/m32c/rtems/score/cpu.h
@@ -941,7 +941,7 @@ void _CPU_Context_Restart_self(
/**
* This routine sets @a _output to the bit number of the first bit
* set in @a _value. @a _value is of CPU dependent type
- * @a Priority_bit_map_Control. This type may be either 16 or 32 bits
+ * @a Priority_bit_map_Word. This type may be either 16 or 32 bits
* wide although only the 16 least significant bits will be used.
*
* There are a number of variables in using a "find first bit" type
diff --git a/cpukit/score/cpu/m32c/rtems/score/types.h b/cpukit/score/cpu/m32c/rtems/score/types.h
index 9db85e9e80..5c476c6d3a 100644
--- a/cpukit/score/cpu/m32c/rtems/score/types.h
+++ b/cpukit/score/cpu/m32c/rtems/score/types.h
@@ -32,7 +32,7 @@ extern "C" {
*/
/** This defines the type for a priority bit map entry. */
-typedef uint16_t Priority_bit_map_Control;
+typedef uint16_t Priority_bit_map_Word;
/** This defines the return type for an ISR entry point. */
typedef void m32c_isr;
diff --git a/cpukit/score/cpu/m32r/rtems/score/cpu.h b/cpukit/score/cpu/m32r/rtems/score/cpu.h
index 8902bdf0bd..bf1d3fc9e8 100644
--- a/cpukit/score/cpu/m32r/rtems/score/cpu.h
+++ b/cpukit/score/cpu/m32r/rtems/score/cpu.h
@@ -959,7 +959,7 @@ void _CPU_Context_Restart_self(
/**
* This routine sets @a _output to the bit number of the first bit
* set in @a _value. @a _value is of CPU dependent type
- * @a Priority_bit_map_Control. This type may be either 16 or 32 bits
+ * @a Priority_bit_map_Word. This type may be either 16 or 32 bits
* wide although only the 16 least significant bits will be used.
*
* There are a number of variables in using a "find first bit" type
diff --git a/cpukit/score/cpu/m32r/rtems/score/types.h b/cpukit/score/cpu/m32r/rtems/score/types.h
index b127fcd9ad..2439fb5153 100644
--- a/cpukit/score/cpu/m32r/rtems/score/types.h
+++ b/cpukit/score/cpu/m32r/rtems/score/types.h
@@ -32,7 +32,7 @@ extern "C" {
*/
/** This defines the type for a priority bit map entry. */
-typedef uint16_t Priority_bit_map_Control;
+typedef uint16_t Priority_bit_map_Word;
/** This defines the return type for an ISR entry point. */
typedef void m32r_isr;
diff --git a/cpukit/score/cpu/m68k/rtems/score/types.h b/cpukit/score/cpu/m68k/rtems/score/types.h
index b1ec89addc..b5af1c86b0 100644
--- a/cpukit/score/cpu/m68k/rtems/score/types.h
+++ b/cpukit/score/cpu/m68k/rtems/score/types.h
@@ -31,7 +31,7 @@ extern "C" {
* This section defines the basic types for this processor.
*/
-typedef uint16_t Priority_bit_map_Control;
+typedef uint16_t Priority_bit_map_Word;
#ifdef __cplusplus
}
diff --git a/cpukit/score/cpu/mips/rtems/score/cpu.h b/cpukit/score/cpu/mips/rtems/score/cpu.h
index c4873fbbdb..b8719697c5 100644
--- a/cpukit/score/cpu/mips/rtems/score/cpu.h
+++ b/cpukit/score/cpu/mips/rtems/score/cpu.h
@@ -937,7 +937,7 @@ extern void mips_break( int error );
/*
* This routine sets _output to the bit number of the first bit
- * set in _value. _value is of CPU dependent type Priority_bit_map_Control.
+ * set in _value. _value is of CPU dependent type Priority_bit_map_Word.
* This type may be either 16 or 32 bits wide although only the 16
* least significant bits will be used.
*
diff --git a/cpukit/score/cpu/mips/rtems/score/types.h b/cpukit/score/cpu/mips/rtems/score/types.h
index 2f2547420b..3f9429b1c6 100644
--- a/cpukit/score/cpu/mips/rtems/score/types.h
+++ b/cpukit/score/cpu/mips/rtems/score/types.h
@@ -40,7 +40,7 @@ extern "C" {
* This section defines the basic types for this processor.
*/
-typedef uint16_t Priority_bit_map_Control;
+typedef uint16_t Priority_bit_map_Word;
typedef void mips_isr;
typedef void ( *mips_isr_entry )( void );
diff --git a/cpukit/score/cpu/moxie/rtems/score/types.h b/cpukit/score/cpu/moxie/rtems/score/types.h
index 009054d312..9cabd1559f 100644
--- a/cpukit/score/cpu/moxie/rtems/score/types.h
+++ b/cpukit/score/cpu/moxie/rtems/score/types.h
@@ -34,7 +34,7 @@ extern "C" {
/*
* This section defines the basic types for this processor.
*/
-typedef uint16_t Priority_bit_map_Control;
+typedef uint16_t Priority_bit_map_Word;
typedef void moxie_isr;
typedef void ( *moxie_isr_entry )( void );
diff --git a/cpukit/score/cpu/nios2/rtems/score/types.h b/cpukit/score/cpu/nios2/rtems/score/types.h
index 166f552753..d81d19a77e 100644
--- a/cpukit/score/cpu/nios2/rtems/score/types.h
+++ b/cpukit/score/cpu/nios2/rtems/score/types.h
@@ -31,7 +31,7 @@ extern "C" {
* This section defines the basic types for this processor.
*/
-typedef uint16_t Priority_bit_map_Control;
+typedef uint16_t Priority_bit_map_Word;
typedef void nios2_isr;
typedef void ( *nios2_isr_entry )( void );
diff --git a/cpukit/score/cpu/no_cpu/rtems/score/cpu.h b/cpukit/score/cpu/no_cpu/rtems/score/cpu.h
index aa1eb745af..0b6c4dac72 100644
--- a/cpukit/score/cpu/no_cpu/rtems/score/cpu.h
+++ b/cpukit/score/cpu/no_cpu/rtems/score/cpu.h
@@ -1059,7 +1059,7 @@ uint32_t _CPU_ISR_Get_level( void );
/**
* This routine sets @a _output to the bit number of the first bit
* set in @a _value. @a _value is of CPU dependent type
- * @a Priority_bit_map_Control. This type may be either 16 or 32 bits
+ * @a Priority_bit_map_Word. This type may be either 16 or 32 bits
* wide although only the 16 least significant bits will be used.
*
* There are a number of variables in using a "find first bit" type
diff --git a/cpukit/score/cpu/no_cpu/rtems/score/types.h b/cpukit/score/cpu/no_cpu/rtems/score/types.h
index 667e4ec48c..edf9277133 100644
--- a/cpukit/score/cpu/no_cpu/rtems/score/types.h
+++ b/cpukit/score/cpu/no_cpu/rtems/score/types.h
@@ -32,7 +32,7 @@ extern "C" {
*/
/** This defines the type for a priority bit map entry. */
-typedef uint16_t Priority_bit_map_Control;
+typedef uint16_t Priority_bit_map_Word;
#ifdef __cplusplus
}
diff --git a/cpukit/score/cpu/powerpc/rtems/score/cpu.h b/cpukit/score/cpu/powerpc/rtems/score/cpu.h
index 18f825cf6d..a7cad2e402 100644
--- a/cpukit/score/cpu/powerpc/rtems/score/cpu.h
+++ b/cpukit/score/cpu/powerpc/rtems/score/cpu.h
@@ -878,7 +878,7 @@ void _CPU_Context_Initialize(
/*
* This routine sets _output to the bit number of the first bit
- * set in _value. _value is of CPU dependent type Priority_bit_map_Control.
+ * set in _value. _value is of CPU dependent type Priority_bit_map_Word.
* This type may be either 16 or 32 bits wide although only the 16
* least significant bits will be used.
*
diff --git a/cpukit/score/cpu/powerpc/rtems/score/types.h b/cpukit/score/cpu/powerpc/rtems/score/types.h
index 3b897ca3b0..0679f40202 100644
--- a/cpukit/score/cpu/powerpc/rtems/score/types.h
+++ b/cpukit/score/cpu/powerpc/rtems/score/types.h
@@ -47,7 +47,7 @@ extern "C" {
/*
* This section defines the basic types for this processor.
*/
-typedef uint32_t Priority_bit_map_Control;
+typedef uint32_t Priority_bit_map_Word;
typedef void ppc_isr;
#ifdef __cplusplus
diff --git a/cpukit/score/cpu/sh/rtems/score/cpu.h b/cpukit/score/cpu/sh/rtems/score/cpu.h
index e7a43f9fc2..cb899539fb 100644
--- a/cpukit/score/cpu/sh/rtems/score/cpu.h
+++ b/cpukit/score/cpu/sh/rtems/score/cpu.h
@@ -691,7 +691,7 @@ SCORE_EXTERN void _CPU_Context_Initialize(
/*
* This routine sets _output to the bit number of the first bit
- * set in _value. _value is of CPU dependent type Priority_bit_map_Control.
+ * set in _value. _value is of CPU dependent type Priority_bit_map_Word.
* This type may be either 16 or 32 bits wide although only the 16
* least significant bits will be used.
*
diff --git a/cpukit/score/cpu/sh/rtems/score/types.h b/cpukit/score/cpu/sh/rtems/score/types.h
index 5f9699ea93..0734d1b216 100644
--- a/cpukit/score/cpu/sh/rtems/score/types.h
+++ b/cpukit/score/cpu/sh/rtems/score/types.h
@@ -41,7 +41,7 @@ extern "C" {
* This section defines the basic types for this processor.
*/
-typedef uint16_t Priority_bit_map_Control;
+typedef uint16_t Priority_bit_map_Word;
typedef void sh_isr;
typedef void ( *sh_isr_entry )( void );
diff --git a/cpukit/score/cpu/sparc/rtems/score/types.h b/cpukit/score/cpu/sparc/rtems/score/types.h
index cfa8f73f8b..71a401c454 100644
--- a/cpukit/score/cpu/sparc/rtems/score/types.h
+++ b/cpukit/score/cpu/sparc/rtems/score/types.h
@@ -34,7 +34,7 @@ extern "C" {
* for using 16-bit variables. With no overriding architectural factors,
* just using a uint16_t.
*/
-typedef uint16_t Priority_bit_map_Control;
+typedef uint16_t Priority_bit_map_Word;
/**
* @brief SPARC ISR handler return type.
diff --git a/cpukit/score/cpu/sparc64/rtems/score/types.h b/cpukit/score/cpu/sparc64/rtems/score/types.h
index 153f66f13e..6263b5651b 100644
--- a/cpukit/score/cpu/sparc64/rtems/score/types.h
+++ b/cpukit/score/cpu/sparc64/rtems/score/types.h
@@ -31,7 +31,7 @@ extern "C" {
* This section defines the basic types for this processor.
*/
-typedef uint16_t Priority_bit_map_Control;
+typedef uint16_t Priority_bit_map_Word;
typedef void sparc_isr;
typedef void ( *sparc_isr_entry )( void );
diff --git a/cpukit/score/cpu/v850/rtems/score/cpu.h b/cpukit/score/cpu/v850/rtems/score/cpu.h
index b348021283..35ed6e6e31 100644
--- a/cpukit/score/cpu/v850/rtems/score/cpu.h
+++ b/cpukit/score/cpu/v850/rtems/score/cpu.h
@@ -935,7 +935,7 @@ void _CPU_Context_Initialize(
/**
* This routine sets @a _output to the bit number of the first bit
* set in @a _value. @a _value is of CPU dependent type
- * @a Priority_bit_map_Control. This type may be either 16 or 32 bits
+ * @a Priority_bit_map_Word. This type may be either 16 or 32 bits
* wide although only the 16 least significant bits will be used.
*
* There are a number of variables in using a "find first bit" type
diff --git a/cpukit/score/cpu/v850/rtems/score/types.h b/cpukit/score/cpu/v850/rtems/score/types.h
index 1d72a7baa3..7645f5b564 100644
--- a/cpukit/score/cpu/v850/rtems/score/types.h
+++ b/cpukit/score/cpu/v850/rtems/score/types.h
@@ -32,7 +32,7 @@ extern "C" {
*/
/** This defines the type for a priority bit map entry. */
-typedef uint16_t Priority_bit_map_Control;
+typedef uint16_t Priority_bit_map_Word;
#ifdef __cplusplus
}
diff --git a/cpukit/score/include/rtems/score/prioritybitmap.h b/cpukit/score/include/rtems/score/prioritybitmap.h
index ec8a10b609..2ef78bec78 100644
--- a/cpukit/score/include/rtems/score/prioritybitmap.h
+++ b/cpukit/score/include/rtems/score/prioritybitmap.h
@@ -33,7 +33,7 @@ extern "C" {
/**@{*/
/*
- * The definition of the Priority_bit_map_Control type is CPU dependent.
+ * The definition of the Priority_bit_map_Word type is CPU dependent.
*
*/
@@ -43,15 +43,15 @@ extern "C" {
*/
typedef struct {
/** This is the address of minor bit map slot. */
- Priority_bit_map_Control *minor;
+ Priority_bit_map_Word *minor;
/** This is the priority bit map ready mask. */
- Priority_bit_map_Control ready_major;
+ Priority_bit_map_Word ready_major;
/** This is the priority bit map ready mask. */
- Priority_bit_map_Control ready_minor;
+ Priority_bit_map_Word ready_minor;
/** This is the priority bit map block mask. */
- Priority_bit_map_Control block_major;
+ Priority_bit_map_Word block_major;
/** This is the priority bit map block mask. */
- Priority_bit_map_Control block_minor;
+ Priority_bit_map_Word block_minor;
} Priority_bit_map_Information;
/**@}*/
diff --git a/cpukit/score/include/rtems/score/prioritybitmapimpl.h b/cpukit/score/include/rtems/score/prioritybitmapimpl.h
index 694ac9eeea..df65fb463f 100644
--- a/cpukit/score/include/rtems/score/prioritybitmapimpl.h
+++ b/cpukit/score/include/rtems/score/prioritybitmapimpl.h
@@ -32,7 +32,7 @@ extern "C" {
/**@{**/
/*
- * The Priority_bit_map_Control variables are instantiated only
+ * The Priority_bit_map_Word variables are instantiated only
* if using the bit map handler.
*/
@@ -40,7 +40,7 @@ extern "C" {
* Each sixteen bit entry in this array is associated with one of
* the sixteen entries in the Priority Bit map.
*/
-extern volatile Priority_bit_map_Control _Priority_Major_bit_map;
+extern volatile Priority_bit_map_Word _Priority_Major_bit_map;
/** Each bit in the Priority Bitmap indicates whether or not there are
* threads ready at a particular priority. The mapping of
@@ -48,7 +48,7 @@ extern volatile Priority_bit_map_Control _Priority_Major_bit_map;
* dependent as is the value of each bit used to indicate that
* threads are ready at that priority.
*/
-extern Priority_bit_map_Control
+extern Priority_bit_map_Word
_Priority_Bit_map[16] CPU_STRUCTURE_ALIGNMENT;
#if ( CPU_USE_GENERIC_BITFIELD_DATA == TRUE )
@@ -91,9 +91,9 @@ extern const unsigned char __log2table[256];
register const unsigned char *__p = __log2table; \
\
if ( __value < 0x100 ) \
- (_bit_number) = (Priority_bit_map_Control)( __p[ __value ] + 8 ); \
+ (_bit_number) = (Priority_bit_map_Word)( __p[ __value ] + 8 ); \
else \
- (_bit_number) = (Priority_bit_map_Control)( __p[ __value >> 8 ] ); \
+ (_bit_number) = (Priority_bit_map_Word)( __p[ __value >> 8 ] ); \
}
#endif
@@ -130,22 +130,22 @@ extern const unsigned char __log2table[256];
* This function returns the major portion of the_priority.
*/
-RTEMS_INLINE_ROUTINE Priority_bit_map_Control _Priority_Major (
+RTEMS_INLINE_ROUTINE Priority_bit_map_Word _Priority_Major (
Priority_Control the_priority
)
{
- return (Priority_bit_map_Control)( the_priority / 16 );
+ return (Priority_bit_map_Word)( the_priority / 16 );
}
/**
* This function returns the minor portion of the_priority.
*/
-RTEMS_INLINE_ROUTINE Priority_bit_map_Control _Priority_Minor (
+RTEMS_INLINE_ROUTINE Priority_bit_map_Word _Priority_Minor (
Priority_Control the_priority
)
{
- return (Priority_bit_map_Control)( the_priority % 16 );
+ return (Priority_bit_map_Word)( the_priority % 16 );
}
#if ( CPU_USE_GENERIC_BITFIELD_CODE == TRUE )
@@ -155,22 +155,22 @@ RTEMS_INLINE_ROUTINE Priority_bit_map_Control _Priority_Minor (
* number passed to it.
*/
-RTEMS_INLINE_ROUTINE Priority_bit_map_Control _Priority_Mask (
+RTEMS_INLINE_ROUTINE Priority_bit_map_Word _Priority_Mask (
uint32_t bit_number
)
{
- return (Priority_bit_map_Control)(0x8000u >> bit_number);
+ return (Priority_bit_map_Word)(0x8000u >> bit_number);
}
/**
* This function returns the mask bit inverted.
*/
-RTEMS_INLINE_ROUTINE Priority_bit_map_Control _Priority_Mask_invert (
+RTEMS_INLINE_ROUTINE Priority_bit_map_Word _Priority_Mask_invert (
uint32_t mask
)
{
- return (Priority_bit_map_Control)(~mask);
+ return (Priority_bit_map_Word)(~mask);
}
/**
@@ -195,7 +195,7 @@ RTEMS_INLINE_ROUTINE uint32_t _Priority_Bits_index (
/**
* This is the minor bit map.
*/
-extern Priority_bit_map_Control _Priority_Bit_map[16] CPU_STRUCTURE_ALIGNMENT;
+extern Priority_bit_map_Word _Priority_Bit_map[16] CPU_STRUCTURE_ALIGNMENT;
/**
* This routine uses the_priority_map to update the priority
@@ -232,8 +232,8 @@ RTEMS_INLINE_ROUTINE void _Priority_bit_map_Remove (
RTEMS_INLINE_ROUTINE Priority_Control _Priority_bit_map_Get_highest( void )
{
- Priority_bit_map_Control minor;
- Priority_bit_map_Control major;
+ Priority_bit_map_Word minor;
+ Priority_bit_map_Word major;
_Bitfield_Find_first_bit( _Priority_Major_bit_map, major );
_Bitfield_Find_first_bit( _Priority_Bit_map[major], minor );
@@ -258,9 +258,9 @@ RTEMS_INLINE_ROUTINE void _Priority_bit_map_Initialize_information(
Priority_Control new_priority
)
{
- Priority_bit_map_Control major;
- Priority_bit_map_Control minor;
- Priority_bit_map_Control mask;
+ Priority_bit_map_Word major;
+ Priority_bit_map_Word minor;
+ Priority_bit_map_Word mask;
major = _Priority_Major( new_priority );
minor = _Priority_Minor( new_priority );
@@ -271,12 +271,12 @@ RTEMS_INLINE_ROUTINE void _Priority_bit_map_Initialize_information(
mask = _Priority_Mask( major );
the_priority_map->ready_major = mask;
/* Add _Priority_Mask_invert to non-generic bitfield then change this code. */
- the_priority_map->block_major = (Priority_bit_map_Control)(~((uint32_t)mask));
+ the_priority_map->block_major = (Priority_bit_map_Word)(~((uint32_t)mask));
mask = _Priority_Mask( minor );
the_priority_map->ready_minor = mask;
/* Add _Priority_Mask_invert to non-generic bitfield then change this code. */
- the_priority_map->block_minor = (Priority_bit_map_Control)(~((uint32_t)mask));
+ the_priority_map->block_minor = (Priority_bit_map_Word)(~((uint32_t)mask));
}
/** @} */
diff --git a/cpukit/score/src/prioritybitmap.c b/cpukit/score/src/prioritybitmap.c
index 1fda42fb0c..d05ede1b7c 100644
--- a/cpukit/score/src/prioritybitmap.c
+++ b/cpukit/score/src/prioritybitmap.c
@@ -21,7 +21,7 @@
#include <rtems/score/prioritybitmapimpl.h>
-Priority_bit_map_Control _Priority_Bit_map[16] CPU_STRUCTURE_ALIGNMENT;
+Priority_bit_map_Word _Priority_Bit_map[16] CPU_STRUCTURE_ALIGNMENT;
/* Instantiate any global variables needed by the priority scheduler */
-volatile Priority_bit_map_Control _Priority_Major_bit_map;
+volatile Priority_bit_map_Word _Priority_Major_bit_map;