Changeset 1e0a5fc in mainline for arch/ppc32/src/drivers/pic.c


Ignore:
Timestamp:
2006-06-20T12:03:35Z (19 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
cc73a8a1
Parents:
3c5006a0
Message:

don't use hardcoded PIC address

File:
1 edited

Legend:

Unmodified
Added
Removed
  • arch/ppc32/src/drivers/pic.c

    r3c5006a0 r1e0a5fc  
    4141static volatile __u32 *pic;
    4242
    43 void pic_init(void)
     43void pic_init(__address base, size_t size)
    4444{
    45         pic = (__u32 *)hw_map(PIC_HW_ADDR, PAGE_SIZE);
     45        pic = (__u32 *) hw_map(base, size);
    4646}
    4747
Note: See TracChangeset for help on using the changeset viewer.