Changeset ad2cefe in rtems


Ignore:
Timestamp:
Jul 14, 2011, 5:30:28 PM (8 years ago)
Author:
Jennifer Averett <Jennifer.Averett@…>
Branches:
4.11, master
Children:
067489b
Parents:
1d007c60
Message:

2011-07-14 Jennifer Averett <Jennifer.Averett@…>

  • shared/irq/irq.c, shared/irq/irq.h, shared/irq/irq_init.c: Add initial support for APIC.
Location:
c/src/lib/libbsp/i386
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/i386/ChangeLog

    r1d007c60 rad2cefe  
     12011-07-14      Jennifer Averett <Jennifer.Averett@OARcorp.com>
     2
     3        * shared/irq/irq.c, shared/irq/irq.h, shared/irq/irq_init.c: Add
     4        initial support for APIC.
     5
    162011-07-14      Jennifer Averett <Jennifer.Averett@OARcorp.com>
    27
  • c/src/lib/libbsp/i386/shared/irq/irq.c

    r1d007c60 rad2cefe  
    7474
    7575  if ( ((int)irqLine < BSP_LOWEST_OFFSET) ||
    76        ((int)irqLine > BSP_MAX_OFFSET )
     76       ((int)irqLine > BSP_MAX_ON_i8259S )
    7777       )
    7878    return 1;
     
    109109
    110110  if ( ((int)irqLine < BSP_LOWEST_OFFSET) ||
    111        ((int)irqLine > BSP_MAX_OFFSET )
     111       ((int)irqLine > BSP_MAX_ON_i8259S )
    112112       )
    113113    return 1;
     
    136136
    137137  if ( ((int)irqLine < BSP_LOWEST_OFFSET) ||
    138        ((int)irqLine > BSP_MAX_OFFSET )
     138       ((int)irqLine > BSP_MAX_ON_i8259S )
    139139     )
    140140    return 1;
     
    154154{
    155155  if ( ((int)irqLine < BSP_LOWEST_OFFSET) ||
    156        ((int)irqLine > BSP_MAX_OFFSET )
     156       ((int)irqLine > BSP_MAX_ON_i8259S )
    157157       )
    158158    return 1;
     
    191191  unsigned int j;
    192192
    193   rtems_interrupt_disable(level); /* XXX */
     193  rtems_interrupt_disable(level);
    194194
    195195  /*
  • c/src/lib/libbsp/i386/shared/irq/irq.h

    r1d007c60 rad2cefe  
    4242    /* Base vector for our IRQ handlers. */
    4343#define BSP_IRQ_VECTOR_BASE             BSP_ASM_IRQ_VECTOR_BASE
    44 #define BSP_IRQ_LINES_NUMBER            16
     44#define BSP_IRQ_LINES_NUMBER            17
    4545#define BSP_LOWEST_OFFSET               0
     46#define BSP_MAX_ON_i8259S               (BSP_IRQ_LINES_NUMBER - 2)
    4647#define BSP_MAX_OFFSET                  (BSP_IRQ_LINES_NUMBER - 1)
    4748    /*
     
    5758#define BSP_RT_TIMER1           8
    5859#define BSP_RT_TIMER3           10
     60#define BSP_SMP_IPI             16
    5961
    6062#define BSP_INTERRUPT_VECTOR_MIN BSP_LOWEST_OFFSET
  • c/src/lib/libbsp/i386/shared/irq/irq_init.c

    r1d007c60 rad2cefe  
    4141extern void rtems_irq_prologue_14(void);
    4242extern void rtems_irq_prologue_15(void);
     43extern void rtems_irq_prologue_16(void);
    4344/*
    4445 * default vectors
     
    8182  rtems_irq_prologue_13,
    8283  rtems_irq_prologue_14,
    83   rtems_irq_prologue_15
     84  rtems_irq_prologue_15,
     85  rtems_irq_prologue_16,
    8486};
    8587
Note: See TracChangeset for help on using the changeset viewer.