Changeset 16c4793 in rtems


Ignore:
Timestamp:
04/29/05 13:50:05 (19 years ago)
Author:
Jennifer Averett <Jennifer.Averett@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
5df1f03e
Parents:
6e1daa0
Message:

2005-04-29 Jennifer Averett <jennifer.averett@…>

  • irq/irq.c, start/start.S: Removed warnings
Location:
c/src/lib/libbsp/powerpc/ep1a
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/powerpc/ep1a/ChangeLog

    r6e1daa0 r16c4793  
     12005-04-29      Jennifer Averett <jennifer.averett@oarcorp.com>
     2
     3        * irq/irq.c, start/start.S: Removed warnings
     4
    152005-04-29      Jennifer Averett <jennifer.averett@oarcorp.com>
    26
  • c/src/lib/libbsp/powerpc/ep1a/irq/irq.c

    r6e1daa0 r16c4793  
    8383 */
    8484 
    85 /*
    86  * Caution : this function assumes the variable "internal_config"
    87  * is already set and that the tables it contains are still valid
    88  * and accessible.
    89  */
    90 static void compute_i8259_masks_from_prio ()
    91 {
    92   int i;
    93   int j;
    94   /*
    95    * Always mask at least current interrupt to prevent re-entrance
    96    */
    97   for (i=BSP_ISA_IRQ_LOWEST_OFFSET; i < BSP_ISA_IRQ_LOWEST_OFFSET + BSP_ISA_IRQ_NUMBER; i++) {
    98     * ((unsigned short*) &irq_mask_or_tbl[i]) = (1 << i);
    99     for (j = BSP_ISA_IRQ_LOWEST_OFFSET; j < BSP_ISA_IRQ_LOWEST_OFFSET + BSP_ISA_IRQ_NUMBER; j++) {
    100       /*
    101        * Mask interrupts at i8259 level that have a lower priority
    102        */
    103       if (internal_config->irqPrioTbl [i] > internal_config->irqPrioTbl [j]) {
    104         * ((unsigned short*) &irq_mask_or_tbl[i]) |= (1 << j);
    105       }
    106     }
    107   }
    108 }
    109 
    11085/*
    11186 * This function check that the value given for the irq line
  • c/src/lib/libbsp/powerpc/ep1a/start/start.S

    r6e1daa0 r16c4793  
    3737*/
    3838
    39 #include <asm.h>
     39#include <rtems/asm.h>
    4040#include <rtems/score/cpu.h>
    4141#include <libcpu/io.h>
Note: See TracChangeset for help on using the changeset viewer.