From 46d3c6d83302c256ddfd3a249da39c0e86497782 Mon Sep 17 00:00:00 2001 From: Gedare Bloom Date: Mon, 16 Mar 2015 16:15:55 -0400 Subject: cpukit: add and use CPU_Uint32ptr type --- cpukit/score/cpu/arm/rtems/score/types.h | 3 +++ cpukit/score/cpu/avr/rtems/score/types.h | 3 +++ cpukit/score/cpu/bfin/rtems/score/types.h | 3 +++ cpukit/score/cpu/h8300/rtems/score/types.h | 3 +++ cpukit/score/cpu/i386/rtems/score/types.h | 3 +++ cpukit/score/cpu/lm32/rtems/score/types.h | 3 +++ cpukit/score/cpu/m32c/rtems/score/types.h | 3 +++ cpukit/score/cpu/m32r/rtems/score/types.h | 3 +++ cpukit/score/cpu/m68k/rtems/score/types.h | 3 +++ cpukit/score/cpu/mips/rtems/score/types.h | 3 +++ cpukit/score/cpu/moxie/rtems/score/types.h | 4 ++++ cpukit/score/cpu/nios2/rtems/score/types.h | 3 +++ cpukit/score/cpu/no_cpu/rtems/score/types.h | 3 +++ cpukit/score/cpu/or1k/rtems/score/types.h | 3 +++ cpukit/score/cpu/powerpc/rtems/score/types.h | 4 ++++ cpukit/score/cpu/sh/rtems/score/types.h | 3 +++ cpukit/score/cpu/sparc/rtems/score/types.h | 3 +++ cpukit/score/cpu/sparc64/rtems/score/types.h | 3 +++ cpukit/score/cpu/v850/rtems/score/types.h | 3 +++ 19 files changed, 59 insertions(+) (limited to 'cpukit/score/cpu') diff --git a/cpukit/score/cpu/arm/rtems/score/types.h b/cpukit/score/cpu/arm/rtems/score/types.h index 6910e1850a..deefd54996 100644 --- a/cpukit/score/cpu/arm/rtems/score/types.h +++ b/cpukit/score/cpu/arm/rtems/score/types.h @@ -37,6 +37,9 @@ extern "C" { * This section defines the basic types for this processor. */ +/** Type that can store a 32-bit integer or a pointer. */ +typedef uintptr_t CPU_Uint32ptr; + typedef uint16_t Priority_bit_map_Word; /** @} */ diff --git a/cpukit/score/cpu/avr/rtems/score/types.h b/cpukit/score/cpu/avr/rtems/score/types.h index 0de6ba295d..f63f5d5a3b 100644 --- a/cpukit/score/cpu/avr/rtems/score/types.h +++ b/cpukit/score/cpu/avr/rtems/score/types.h @@ -31,6 +31,9 @@ extern "C" { * This section defines the basic types for this processor. */ +/** Type that can store a 32-bit integer or a pointer. */ +typedef unsigned long CPU_Uint32ptr; + 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/types.h b/cpukit/score/cpu/bfin/rtems/score/types.h index ff120b9e80..eaa8de6bd9 100644 --- a/cpukit/score/cpu/bfin/rtems/score/types.h +++ b/cpukit/score/cpu/bfin/rtems/score/types.h @@ -31,6 +31,9 @@ extern "C" { * This section defines the basic types for this processor. */ +/** Type that can store a 32-bit integer or a pointer. */ +typedef uintptr_t CPU_Uint32ptr; + /** This defines the type for a priority bit map entry. */ typedef uint16_t Priority_bit_map_Word; diff --git a/cpukit/score/cpu/h8300/rtems/score/types.h b/cpukit/score/cpu/h8300/rtems/score/types.h index 7ac2b18f93..7fcac8b552 100644 --- a/cpukit/score/cpu/h8300/rtems/score/types.h +++ b/cpukit/score/cpu/h8300/rtems/score/types.h @@ -31,6 +31,9 @@ extern "C" { * This section defines the basic types for this processor. */ +/** Type that can store a 32-bit integer or a pointer. */ +typedef unsigned long CPU_Uint32ptr; + 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 72461fbb21..40ccecb1f8 100644 --- a/cpukit/score/cpu/i386/rtems/score/types.h +++ b/cpukit/score/cpu/i386/rtems/score/types.h @@ -31,6 +31,9 @@ extern "C" { * This section defines the basic types for this processor. */ +/** Type that can store a 32-bit integer or a pointer. */ +typedef uintptr_t CPU_Uint32ptr; + 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/types.h b/cpukit/score/cpu/lm32/rtems/score/types.h index ab9dcbdae7..c0fc8a8a89 100644 --- a/cpukit/score/cpu/lm32/rtems/score/types.h +++ b/cpukit/score/cpu/lm32/rtems/score/types.h @@ -34,6 +34,9 @@ extern "C" { * This section defines the basic types for this processor. */ +/** Type that can store a 32-bit integer or a pointer. */ +typedef uintptr_t CPU_Uint32ptr; + /** This defines the type for a priority bit map entry. */ typedef uint16_t Priority_bit_map_Word; diff --git a/cpukit/score/cpu/m32c/rtems/score/types.h b/cpukit/score/cpu/m32c/rtems/score/types.h index 5c476c6d3a..11e0a0ceb4 100644 --- a/cpukit/score/cpu/m32c/rtems/score/types.h +++ b/cpukit/score/cpu/m32c/rtems/score/types.h @@ -31,6 +31,9 @@ extern "C" { * This section defines the basic types for this processor. */ +/** Type that can store a 32-bit integer or a pointer. */ +typedef unsigned long CPU_Uint32ptr; + /** This defines the type for a priority bit map entry. */ typedef uint16_t Priority_bit_map_Word; diff --git a/cpukit/score/cpu/m32r/rtems/score/types.h b/cpukit/score/cpu/m32r/rtems/score/types.h index 2439fb5153..3ee57f2e57 100644 --- a/cpukit/score/cpu/m32r/rtems/score/types.h +++ b/cpukit/score/cpu/m32r/rtems/score/types.h @@ -31,6 +31,9 @@ extern "C" { * This section defines the basic types for this processor. */ +/** Type that can store a 32-bit integer or a pointer. */ +typedef uintptr_t CPU_Uint32ptr; + /** This defines the type for a priority bit map entry. */ typedef uint16_t Priority_bit_map_Word; diff --git a/cpukit/score/cpu/m68k/rtems/score/types.h b/cpukit/score/cpu/m68k/rtems/score/types.h index b5af1c86b0..96f9a4c37e 100644 --- a/cpukit/score/cpu/m68k/rtems/score/types.h +++ b/cpukit/score/cpu/m68k/rtems/score/types.h @@ -31,6 +31,9 @@ extern "C" { * This section defines the basic types for this processor. */ +/** Type that can store a 32-bit integer or a pointer. */ +typedef uintptr_t CPU_Uint32ptr; + typedef uint16_t Priority_bit_map_Word; #ifdef __cplusplus diff --git a/cpukit/score/cpu/mips/rtems/score/types.h b/cpukit/score/cpu/mips/rtems/score/types.h index 3f9429b1c6..01950cecef 100644 --- a/cpukit/score/cpu/mips/rtems/score/types.h +++ b/cpukit/score/cpu/mips/rtems/score/types.h @@ -40,6 +40,9 @@ extern "C" { * This section defines the basic types for this processor. */ +/** Type that can store a 32-bit integer or a pointer. */ +typedef uintptr_t CPU_Uint32ptr; + 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 9cabd1559f..64427a831a 100644 --- a/cpukit/score/cpu/moxie/rtems/score/types.h +++ b/cpukit/score/cpu/moxie/rtems/score/types.h @@ -34,6 +34,10 @@ extern "C" { /* * This section defines the basic types for this processor. */ + +/** Type that can store a 32-bit integer or a pointer. */ +typedef uintptr_t CPU_Uint32ptr; + 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 d81d19a77e..6eaee5c829 100644 --- a/cpukit/score/cpu/nios2/rtems/score/types.h +++ b/cpukit/score/cpu/nios2/rtems/score/types.h @@ -31,6 +31,9 @@ extern "C" { * This section defines the basic types for this processor. */ +/** Type that can store a 32-bit integer or a pointer. */ +typedef uintptr_t CPU_Uint32ptr; + 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/types.h b/cpukit/score/cpu/no_cpu/rtems/score/types.h index edf9277133..94a93c2586 100644 --- a/cpukit/score/cpu/no_cpu/rtems/score/types.h +++ b/cpukit/score/cpu/no_cpu/rtems/score/types.h @@ -31,6 +31,9 @@ extern "C" { * This section defines the basic types for this processor. */ +/** Type that can store a 32-bit integer or a pointer. */ +typedef uintptr_t CPU_Uint32ptr; + /** This defines the type for a priority bit map entry. */ typedef uint16_t Priority_bit_map_Word; diff --git a/cpukit/score/cpu/or1k/rtems/score/types.h b/cpukit/score/cpu/or1k/rtems/score/types.h index 843a10f89a..b3beb8371f 100644 --- a/cpukit/score/cpu/or1k/rtems/score/types.h +++ b/cpukit/score/cpu/or1k/rtems/score/types.h @@ -36,6 +36,9 @@ extern "C" { * This section defines the basic types for this processor. */ +/** Type that can store a 32-bit integer or a pointer. */ +typedef uintptr_t CPU_Uint32ptr; + typedef uint16_t Priority_bit_map_Word; typedef void or1k_isr; typedef void ( *or1k_isr_entry )( void ); diff --git a/cpukit/score/cpu/powerpc/rtems/score/types.h b/cpukit/score/cpu/powerpc/rtems/score/types.h index 0679f40202..f36038fe09 100644 --- a/cpukit/score/cpu/powerpc/rtems/score/types.h +++ b/cpukit/score/cpu/powerpc/rtems/score/types.h @@ -47,6 +47,10 @@ extern "C" { /* * This section defines the basic types for this processor. */ + +/** Type that can store a 32-bit integer or a pointer. */ +typedef uintptr_t CPU_Uint32ptr; + typedef uint32_t Priority_bit_map_Word; typedef void ppc_isr; diff --git a/cpukit/score/cpu/sh/rtems/score/types.h b/cpukit/score/cpu/sh/rtems/score/types.h index 0734d1b216..d740b2f901 100644 --- a/cpukit/score/cpu/sh/rtems/score/types.h +++ b/cpukit/score/cpu/sh/rtems/score/types.h @@ -41,6 +41,9 @@ extern "C" { * This section defines the basic types for this processor. */ +/** Type that can store a 32-bit integer or a pointer. */ +typedef uintptr_t CPU_Uint32ptr; + typedef uint16_t Priority_bit_map_Word; typedef void sh_isr; diff --git a/cpukit/score/cpu/sparc/rtems/score/types.h b/cpukit/score/cpu/sparc/rtems/score/types.h index 71a401c454..4186012589 100644 --- a/cpukit/score/cpu/sparc/rtems/score/types.h +++ b/cpukit/score/cpu/sparc/rtems/score/types.h @@ -27,6 +27,9 @@ extern "C" { #endif +/** Type that can store a 32-bit integer or a pointer. */ +typedef uintptr_t CPU_Uint32ptr; + /** * @brief Priority bit map type. * diff --git a/cpukit/score/cpu/sparc64/rtems/score/types.h b/cpukit/score/cpu/sparc64/rtems/score/types.h index 8f2c7e37a6..c4d1c7f85e 100644 --- a/cpukit/score/cpu/sparc64/rtems/score/types.h +++ b/cpukit/score/cpu/sparc64/rtems/score/types.h @@ -30,6 +30,9 @@ extern "C" { * This section defines the basic types for this processor. */ +/** Type that can store a 32-bit integer or a pointer. */ +typedef uintptr_t CPU_Uint32ptr; + 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/types.h b/cpukit/score/cpu/v850/rtems/score/types.h index 7645f5b564..a209d091f3 100644 --- a/cpukit/score/cpu/v850/rtems/score/types.h +++ b/cpukit/score/cpu/v850/rtems/score/types.h @@ -31,6 +31,9 @@ extern "C" { * This section defines the basic types for this processor. */ +/** Type that can store a 32-bit integer or a pointer. */ +typedef uintptr_t CPU_Uint32ptr; + /** This defines the type for a priority bit map entry. */ typedef uint16_t Priority_bit_map_Word; -- cgit v1.2.3