From 3c6a6e80ecc92f0c5bd1dacfd3b833d7b7240f0b Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Thu, 8 Nov 2018 15:14:32 +0100 Subject: i386: Remove use of proc_ptr Update #3585. --- bsps/i386/shared/irq/idt.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'bsps/i386') 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; -- cgit v1.2.3