diff options
-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 |