summaryrefslogtreecommitdiffstats
path: root/bsps/i386
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2018-11-08 15:14:32 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2018-11-12 13:25:43 +0100
commit3c6a6e80ecc92f0c5bd1dacfd3b833d7b7240f0b (patch)
tree3a8e1289ca22d806e52f2be8af306a897ddd4cb9 /bsps/i386
parentepiphany: Remove use of proc_ptr (diff)
downloadrtems-3c6a6e80ecc92f0c5bd1dacfd3b833d7b7240f0b.tar.bz2
i386: Remove use of proc_ptr
Update #3585.
Diffstat (limited to 'bsps/i386')
-rw-r--r--bsps/i386/shared/irq/idt.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/bsps/i386/shared/irq/idt.c b/bsps/i386/shared/irq/idt.c
index d3adbc4f05..ac50fc4497 100644
--- a/bsps/i386/shared/irq/idt.c
+++ b/bsps/i386/shared/irq/idt.c
@@ -104,8 +104,8 @@ int i386_set_idt_entry (const rtems_raw_irq_connect_data* irq)
}
void _CPU_ISR_install_vector (uint32_t vector,
- proc_ptr hdl,
- proc_ptr * oldHdl)
+ CPU_ISR_handler hdl,
+ CPU_ISR_handler * oldHdl)
{
interrupt_gate_descriptor* idt_entry_tbl;
unsigned limit;
@@ -121,8 +121,8 @@ void _CPU_ISR_install_vector (uint32_t vector,
return;
}
rtems_interrupt_lock_acquire(&rtems_idt_access_lock, &lock_context);
- * ((unsigned int *) oldHdl) = idt_entry_tbl[vector].low_offsets_bits |
- (idt_entry_tbl[vector].high_offsets_bits << 16);
+ *oldHdl = (CPU_ISR_handler) (idt_entry_tbl[vector].low_offsets_bits |
+ (idt_entry_tbl[vector].high_offsets_bits << 16));
create_interrupt_gate_descriptor(&new, hdl);
idt_entry_tbl[vector] = new;