Changeset 77c81016 in rtems


Ignore:
Timestamp:
Aug 10, 2017, 12:14:26 PM (2 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
c8aeb76
Parents:
5f42a0e
git-author:
Sebastian Huber <sebastian.huber@…> (08/10/17 12:14:26)
git-committer:
Sebastian Huber <sebastian.huber@…> (08/22/17 14:27:03)
Message:

bsp/qoriq: 64-bit support for interrupt controller

Update #3082.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/powerpc/qoriq/irq/irq.c

    r5f42a0e r77c81016  
    106106                return &qoriq.pic.ii_1 [vector - n];
    107107        } else {
    108                 uint32_t offs = ((uint32_t)
     108                uintptr_t offs = ((uintptr_t)
    109109                        src_cfg_offsets [vector - QORIQ_IRQ_EXT_BASE]) << 4;
    110110
    111                 return (volatile qoriq_pic_src_cfg *) ((uint32_t) &qoriq.pic + offs);
     111                return (volatile qoriq_pic_src_cfg *) ((uintptr_t) &qoriq.pic + offs);
    112112        }
    113113}
Note: See TracChangeset for help on using the changeset viewer.