diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-08-05 13:32:27 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-08-05 13:32:27 +0000 |
commit | 334b3c1e83dac1ccf626e78f1fb8f51ff22db5a4 (patch) | |
tree | 6d3c7dbf48a87fed60d43fa3fca38c05a45c96cc | |
parent | 2008-08-05 Joel Sherrill <joel.sherrill@OARcorp.com> (diff) | |
download | rtems-334b3c1e83dac1ccf626e78f1fb8f51ff22db5a4.tar.bz2 |
2008-08-04 Sebastian Huber <sebastian.huber@embedded-brains.de>
* rtems/new-exceptions/cpu.h: Changed define
CPU_INTERRUPT_MAXIMUM_VECTOR_NUMBER to UINT32_MAX to avoid comparison
between signed and unsigned.
Diffstat (limited to '')
-rw-r--r-- | cpukit/score/cpu/powerpc/ChangeLog | 6 | ||||
-rw-r--r-- | cpukit/score/cpu/powerpc/rtems/new-exceptions/cpu.h | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/cpukit/score/cpu/powerpc/ChangeLog b/cpukit/score/cpu/powerpc/ChangeLog index 96998327a4..c86e6c391b 100644 --- a/cpukit/score/cpu/powerpc/ChangeLog +++ b/cpukit/score/cpu/powerpc/ChangeLog @@ -1,3 +1,9 @@ +2008-08-04 Sebastian Huber <sebastian.huber@embedded-brains.de> + + * rtems/new-exceptions/cpu.h: Changed define + CPU_INTERRUPT_MAXIMUM_VECTOR_NUMBER to UINT32_MAX to avoid comparison + between signed and unsigned. + 2008-07-18 Sebastian Huber <sebastian.huber@embedded-brains.de> * rtems/powerpc/registers.h: Added masks for BOOKE_TCR fields. diff --git a/cpukit/score/cpu/powerpc/rtems/new-exceptions/cpu.h b/cpukit/score/cpu/powerpc/rtems/new-exceptions/cpu.h index 245b6b7eec..9ead8b95fc 100644 --- a/cpukit/score/cpu/powerpc/rtems/new-exceptions/cpu.h +++ b/cpukit/score/cpu/powerpc/rtems/new-exceptions/cpu.h @@ -248,7 +248,7 @@ SCORE_EXTERN struct { */ #define CPU_INTERRUPT_NUMBER_OF_VECTORS (0) -#define CPU_INTERRUPT_MAXIMUM_VECTOR_NUMBER (-1) +#define CPU_INTERRUPT_MAXIMUM_VECTOR_NUMBER (UINT32_MAX) /* * This is defined if the port has a special way to report the ISR nesting |