Changeset 3c6a6e8 in rtems for bsps


Ignore:
Timestamp:
Nov 8, 2018, 2:14:32 PM (12 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
0e16fa45
Parents:
a043ff8
git-author:
Sebastian Huber <sebastian.huber@…> (11/08/18 14:14:32)
git-committer:
Sebastian Huber <sebastian.huber@…> (11/12/18 12:25:43)
Message:

i386: Remove use of proc_ptr

Update #3585.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • bsps/i386/shared/irq/idt.c

    ra043ff8 r3c6a6e8  
    105105
    106106void _CPU_ISR_install_vector (uint32_t vector,
    107                               proc_ptr hdl,
    108                               proc_ptr * oldHdl)
     107                              CPU_ISR_handler hdl,
     108                              CPU_ISR_handler * oldHdl)
    109109{
    110110    interrupt_gate_descriptor*  idt_entry_tbl;
     
    122122    }
    123123    rtems_interrupt_lock_acquire(&rtems_idt_access_lock, &lock_context);
    124     * ((unsigned int *) oldHdl) = idt_entry_tbl[vector].low_offsets_bits |
    125         (idt_entry_tbl[vector].high_offsets_bits << 16);
     124    *oldHdl = (CPU_ISR_handler) (idt_entry_tbl[vector].low_offsets_bits |
     125        (idt_entry_tbl[vector].high_offsets_bits << 16));
    126126
    127127    create_interrupt_gate_descriptor(&new,  hdl);
Note: See TracChangeset for help on using the changeset viewer.