Changeset 5d97627 in mainline


Ignore:
Timestamp:
2019-04-04T18:50:47Z (5 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
1332270
Parents:
124bc22
Message:

Use a more descriptive macro name

Location:
kernel/arch/mips32
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/mips32/include/arch/exception.h

    r124bc22 r5d97627  
    6666#define INT_TIMER  7
    6767
    68 #define INTERRUPTS    8
    69 #define HW_INTERRUPTS (INTERRUPTS - 3)
     68#define MIPS_INTERRUPTS    8
     69#define HW_INTERRUPTS      (MIPS_INTERRUPTS - 3)
    7070
    7171typedef void (* int_handler_t)(unsigned int);
  • kernel/arch/mips32/src/exception.c

    r124bc22 r5d97627  
    175175
    176176        unsigned int i;
    177         for (i = 0; i < INTERRUPTS; i++) {
     177        for (i = 0; i < MIPS_INTERRUPTS; i++) {
    178178
    179179                /*
  • kernel/arch/mips32/src/interrupt.c

    r124bc22 r5d97627  
    4848
    4949/** Table of interrupt handlers. */
    50 int_handler_t int_handler[INTERRUPTS] = {};
     50int_handler_t int_handler[MIPS_INTERRUPTS] = {};
    5151
    5252/** Disable interrupts.
Note: See TracChangeset for help on using the changeset viewer.