Ignore:
Timestamp:
Jan 4, 2005, 11:30:45 PM (15 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
23b68c2
Parents:
92049ab
Message:

2005-01-04 Joel Sherrill <joel@…>

  • at91rm9200/clock/clock.c, at91rm9200/irq/irq.c, at91rm9200/pmc/pmc.c, mc9328mxl/clock/clockdrv.c, mc9328mxl/irq/irq.c, mc9328mxl/irq/irq.h, shared/arm920/mmu.c: Remove warnings.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libcpu/arm/at91rm9200/irq/irq.c

    r92049ab raaca942  
    4646     * convert it to a long word offset to get source's vector register
    4747     */
    48     if (AIC_SVR_REG(irq->name * 4) != default_int_handler) {
     48    if (AIC_SVR_REG(irq->name * 4) != (uint32_t) default_int_handler) {
    4949        return 0;
    5050    }
     
    5555     * store the new handler
    5656     */
    57     AIC_SVR_REG(irq->name * 4) = irq->hdl;
     57    AIC_SVR_REG(irq->name * 4) = (uint32_t) irq->hdl;
    5858   
    5959    /*
     
    8888     * Check if the handler is actually connected. If not, issue an error.
    8989     */
    90     if (AIC_SVR_REG(irq->name * 4) != irq->hdl) {
     90    if (AIC_SVR_REG(irq->name * 4) != (uint32_t) irq->hdl) {
    9191      return 0;
    9292    }
     
    108108     * restore the default irq value
    109109     */
    110     AIC_SVR_REG(irq->name * 4) = default_int_handler;
     110    AIC_SVR_REG(irq->name * 4) = (uint32_t) default_int_handler;
    111111   
    112112    _CPU_ISR_Enable(level);
Note: See TracChangeset for help on using the changeset viewer.