mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-05 15:15:44 +00:00
2005-01-24 Ralf Corsepius <ralf.corsepius@rtems.org>
* rtems/score/cpu.h: *_swap_u32( uint32_t ).
This commit is contained in:
@@ -1,3 +1,7 @@
|
|||||||
|
2005-01-24 Ralf Corsepius <ralf.corsepius@rtems.org>
|
||||||
|
|
||||||
|
* rtems/score/cpu.h: *_swap_u32( uint32_t ).
|
||||||
|
|
||||||
2005-01-24 Ralf Corsepius <ralf.corsepius@rtems.org>
|
2005-01-24 Ralf Corsepius <ralf.corsepius@rtems.org>
|
||||||
|
|
||||||
* rtems/score/types.h: #include <rtems/stdint.h>.
|
* rtems/score/types.h: #include <rtems/stdint.h>.
|
||||||
|
|||||||
@@ -895,8 +895,8 @@ void _CPU_Context_restore_fp(
|
|||||||
* will be fetched incorrectly.
|
* will be fetched incorrectly.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
static inline unsigned int CPU_swap_u32(
|
static inline uint32_t CPU_swap_u32(
|
||||||
unsigned int value
|
uint32_t value
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
uint32_t tmp = value; /* make compiler warnings go away */
|
uint32_t tmp = value; /* make compiler warnings go away */
|
||||||
|
|||||||
@@ -1,3 +1,7 @@
|
|||||||
|
2005-01-24 Ralf Corsepius <ralf.corsepius@rtems.org>
|
||||||
|
|
||||||
|
* rtems/score/cpu.h: *_swap_u32( uint32_t ).
|
||||||
|
|
||||||
2005-01-07 Ralf Corsepius <ralf.corsepius@freenet.de>
|
2005-01-07 Ralf Corsepius <ralf.corsepius@freenet.de>
|
||||||
|
|
||||||
* Makefile.am: Eliminate CFLAGS_OPTIMIZE_V.
|
* Makefile.am: Eliminate CFLAGS_OPTIMIZE_V.
|
||||||
|
|||||||
@@ -1117,8 +1117,8 @@ void _CPU_Context_restore_fp(
|
|||||||
* XXX document implementation including references if appropriate
|
* XXX document implementation including references if appropriate
|
||||||
*/
|
*/
|
||||||
|
|
||||||
static inline unsigned int CPU_swap_u32(
|
static inline uint32_t CPU_swap_u32(
|
||||||
unsigned int value
|
uint32_t value
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
uint32_t byte1, byte2, byte3, byte4, swapped;
|
uint32_t byte1, byte2, byte3, byte4, swapped;
|
||||||
|
|||||||
@@ -1,3 +1,7 @@
|
|||||||
|
2005-01-24 Ralf Corsepius <ralf.corsepius@rtems.org>
|
||||||
|
|
||||||
|
* rtems/score/cpu.h: *_swap_u32( uint32_t ).
|
||||||
|
|
||||||
2005-01-24 Ralf Corsepius <ralf.corsepius@rtems.org>
|
2005-01-24 Ralf Corsepius <ralf.corsepius@rtems.org>
|
||||||
|
|
||||||
* rtems/score/types.h: #include <rtems/stdint.h>.
|
* rtems/score/types.h: #include <rtems/stdint.h>.
|
||||||
|
|||||||
@@ -1236,8 +1236,8 @@ void _CPU_Context_restore_fp(
|
|||||||
* XXXanswer
|
* XXXanswer
|
||||||
*/
|
*/
|
||||||
|
|
||||||
static inline unsigned int CPU_swap_u32(
|
static inline uint32_t CPU_swap_u32(
|
||||||
unsigned int value
|
uint32_t value
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
uint32_t byte1, byte2, byte3, byte4, swapped;
|
uint32_t byte1, byte2, byte3, byte4, swapped;
|
||||||
|
|||||||
@@ -1,3 +1,7 @@
|
|||||||
|
2005-01-24 Ralf Corsepius <ralf.corsepius@rtems.org>
|
||||||
|
|
||||||
|
* rtems/score/cpu.h: *_swap_u32( uint32_t ).
|
||||||
|
|
||||||
2005-01-24 Ralf Corsepius <ralf.corsepius@rtems.org>
|
2005-01-24 Ralf Corsepius <ralf.corsepius@rtems.org>
|
||||||
|
|
||||||
* rtems/score/types.h: #include <rtems/stdint.h>.
|
* rtems/score/types.h: #include <rtems/stdint.h>.
|
||||||
|
|||||||
@@ -1181,8 +1181,8 @@ void _CPU_Context_restore_fp(
|
|||||||
* will be fetched incorrectly.
|
* will be fetched incorrectly.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
static inline unsigned int CPU_swap_u32(
|
static inline uint32_t CPU_swap_u32(
|
||||||
unsigned int value
|
uint32_t value
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
uint32_t byte1, byte2, byte3, byte4, swapped;
|
uint32_t byte1, byte2, byte3, byte4, swapped;
|
||||||
|
|||||||
@@ -1,3 +1,7 @@
|
|||||||
|
2005-01-24 Ralf Corsepius <ralf.corsepius@rtems.org>
|
||||||
|
|
||||||
|
* rtems/score/cpu.h: *_swap_u32( uint32_t ).
|
||||||
|
|
||||||
2005-01-24 Ralf Corsepius <ralf.corsepius@rtems.org>
|
2005-01-24 Ralf Corsepius <ralf.corsepius@rtems.org>
|
||||||
|
|
||||||
* rtems/score/types.h: #include <rtems/stdint.h>.
|
* rtems/score/types.h: #include <rtems/stdint.h>.
|
||||||
|
|||||||
@@ -1291,8 +1291,8 @@ void _CPU_Context_restore_fp(
|
|||||||
*
|
*
|
||||||
* XXX document implementation including references if appropriate
|
* XXX document implementation including references if appropriate
|
||||||
*/
|
*/
|
||||||
static inline unsigned int CPU_swap_u32(
|
static inline uint32_t CPU_swap_u32(
|
||||||
unsigned int value
|
uint32_t value
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
uint32_t byte1, byte2, byte3, byte4, swapped;
|
uint32_t byte1, byte2, byte3, byte4, swapped;
|
||||||
|
|||||||
@@ -1,3 +1,7 @@
|
|||||||
|
2005-01-24 Ralf Corsepius <ralf.corsepius@rtems.org>
|
||||||
|
|
||||||
|
* rtems/score/cpu.h: *_swap_u32( uint32_t ).
|
||||||
|
|
||||||
2005-01-24 Ralf Corsepius <ralf.corsepius@rtems.org>
|
2005-01-24 Ralf Corsepius <ralf.corsepius@rtems.org>
|
||||||
|
|
||||||
* rtems/score/types.h: #include <rtems/stdint.h>.
|
* rtems/score/types.h: #include <rtems/stdint.h>.
|
||||||
|
|||||||
@@ -1045,8 +1045,8 @@ void _CPU_Context_restore_fp(
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
static inline unsigned int CPU_swap_u32(
|
static inline uint32_t CPU_swap_u32(
|
||||||
unsigned int value
|
uint32_t value
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
uint32_t byte1, byte2, byte3, byte4, swapped;
|
uint32_t byte1, byte2, byte3, byte4, swapped;
|
||||||
|
|||||||
@@ -1,3 +1,7 @@
|
|||||||
|
2005-01-24 Ralf Corsepius <ralf.corsepius@rtems.org>
|
||||||
|
|
||||||
|
* rtems/score/cpu.h: *_swap_u32( uint32_t ).
|
||||||
|
|
||||||
2005-01-24 Ralf Corsepius <ralf.corsepius@rtems.org>
|
2005-01-24 Ralf Corsepius <ralf.corsepius@rtems.org>
|
||||||
|
|
||||||
* rtems/score/types.h: #include <rtems/stdint.h>.
|
* rtems/score/types.h: #include <rtems/stdint.h>.
|
||||||
|
|||||||
@@ -976,8 +976,8 @@ void _CPU_Context_restore_fp(
|
|||||||
* following code at optimization level four (i.e. -O4).
|
* following code at optimization level four (i.e. -O4).
|
||||||
*/
|
*/
|
||||||
|
|
||||||
static inline unsigned int CPU_swap_u32(
|
static inline uint32_t CPU_swap_u32(
|
||||||
unsigned int value
|
uint32_t value
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
uint32_t byte1, byte2, byte3, byte4, swapped;
|
uint32_t byte1, byte2, byte3, byte4, swapped;
|
||||||
|
|||||||
@@ -1,3 +1,7 @@
|
|||||||
|
2005-01-24 Ralf Corsepius <ralf.corsepius@rtems.org>
|
||||||
|
|
||||||
|
* rtems/score/cpu.h: *_swap_u32( uint32_t ).
|
||||||
|
|
||||||
2005-01-24 Ralf Corsepius <ralf.corsepius@rtems.org>
|
2005-01-24 Ralf Corsepius <ralf.corsepius@rtems.org>
|
||||||
|
|
||||||
* rtems/score/types.h: #include <rtems/stdint.h>.
|
* rtems/score/types.h: #include <rtems/stdint.h>.
|
||||||
|
|||||||
@@ -1015,8 +1015,8 @@ void _CPU_Fatal_error(
|
|||||||
* will be fetched incorrectly.
|
* will be fetched incorrectly.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
static inline unsigned int CPU_swap_u32(
|
static inline uint32_t CPU_swap_u32(
|
||||||
unsigned int value
|
uint32_t value
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
uint32_t byte1, byte2, byte3, byte4, swapped;
|
uint32_t byte1, byte2, byte3, byte4, swapped;
|
||||||
|
|||||||
Reference in New Issue
Block a user