[rtems commit] bsp/pc386: Fix interrupt enable to make debug option work again
Sebastian Huber
sebh at rtems.org
Thu Feb 27 07:30:29 UTC 2020
Module: rtems
Branch: master
Commit: 2220a536e34261989042a381fab43e33ccc1fbb9
Changeset: http://git.rtems.org/rtems/commit/?id=2220a536e34261989042a381fab43e33ccc1fbb9
Author: Jan Sommer <jan.sommer at dlr.de>
Date: Tue Feb 25 14:07:35 2020 +0100
bsp/pc386: Fix interrupt enable to make debug option work again
---
bsps/i386/pc386/clock/ckinit.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bsps/i386/pc386/clock/ckinit.c b/bsps/i386/pc386/clock/ckinit.c
index 478a37f..2222d6e 100644
--- a/bsps/i386/pc386/clock/ckinit.c
+++ b/bsps/i386/pc386/clock/ckinit.c
@@ -170,7 +170,7 @@ static void clockOn(void)
outport_byte(TIMER_CNTR0, pc386_clock_click_count >> 8 & 0xff);
rtems_interrupt_lock_release(&rtems_i386_i8254_access_lock, &lock_context);
- bsp_interrupt_vector_enable( BSP_PERIODIC_TIMER - BSP_IRQ_VECTOR_BASE );
+ bsp_interrupt_vector_enable( BSP_PERIODIC_TIMER );
/*
* Now calibrate cycles per tick. Do this every time we
More information about the vc
mailing list