diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2004-04-21 16:01:48 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2004-04-21 16:01:48 +0000 |
commit | f05b2ac0bc4626e854afc6e6a5d1b88071adbd7c (patch) | |
tree | 4150010cec9b6b51100f183b435955cd847679b4 /c/src/lib/libbsp/i386/shared/irq | |
parent | Remove stray white spaces. (diff) | |
download | rtems-f05b2ac0bc4626e854afc6e6a5d1b88071adbd7c.tar.bz2 |
Remove duplicate white lines.
Diffstat (limited to '')
-rw-r--r-- | c/src/lib/libbsp/i386/shared/irq/idt.c | 2 | ||||
-rw-r--r-- | c/src/lib/libbsp/i386/shared/irq/irq.c | 4 | ||||
-rw-r--r-- | c/src/lib/libbsp/i386/shared/irq/irq.h | 6 | ||||
-rw-r--r-- | c/src/lib/libbsp/i386/shared/irq/irq_asm.S | 3 | ||||
-rw-r--r-- | c/src/lib/libbsp/i386/shared/irq/irq_asm.h | 1 | ||||
-rw-r--r-- | c/src/lib/libbsp/i386/shared/irq/irq_init.c | 4 |
6 files changed, 0 insertions, 20 deletions
diff --git a/c/src/lib/libbsp/i386/shared/irq/idt.c b/c/src/lib/libbsp/i386/shared/irq/idt.c index a81c6358c6..909d82eac4 100644 --- a/c/src/lib/libbsp/i386/shared/irq/idt.c +++ b/c/src/lib/libbsp/i386/shared/irq/idt.c @@ -64,7 +64,6 @@ int i386_set_idt_entry (const rtems_raw_irq_connect_data* irq) unsigned limit; unsigned int level; - i386_get_info_from_IDTR (&idt_entry_tbl, &limit); /* Convert limit into number of entries */ @@ -241,7 +240,6 @@ int i386_set_gdt_entry (unsigned short segment_selector, unsigned base, unsigned int limit_adjusted; segment_descriptors* gdt_entry_tbl; - i386_get_info_from_GDTR (&gdt_entry_tbl, &gdt_limit); if (segment_selector > limit) { diff --git a/c/src/lib/libbsp/i386/shared/irq/irq.c b/c/src/lib/libbsp/i386/shared/irq/irq.c index 1fae59f777..c30ee820e8 100644 --- a/c/src/lib/libbsp/i386/shared/irq/irq.c +++ b/c/src/lib/libbsp/i386/shared/irq/irq.c @@ -11,7 +11,6 @@ * $Id$ */ - #include <bsp.h> #include <irq.h> #include <rtems/score/thread.h> @@ -138,7 +137,6 @@ int BSP_irq_enabled_at_i8259s (const rtems_irq_symbolic_name irqLine) return (~(i8259s_cache & mask)); } - /*-------------------------------------------------------------------------+ | Function: BSP_irq_ack_at_i8259s | Description: Signal generic End Of Interrupt (EOI) to appropriate PIC. @@ -204,7 +202,6 @@ static void make_copy_of_handlers () } } - /* * This function check that the value given for the irq line * is valid. @@ -263,7 +260,6 @@ int BSP_install_rtems_irq_handler (const rtems_irq_connect_data* irq) return 1; } - int BSP_get_current_rtems_irq_handler (rtems_irq_connect_data* irq) { unsigned int level; diff --git a/c/src/lib/libbsp/i386/shared/irq/irq.h b/c/src/lib/libbsp/i386/shared/irq/irq.h index 3a1add8355..84651e7755 100644 --- a/c/src/lib/libbsp/i386/shared/irq/irq.h +++ b/c/src/lib/libbsp/i386/shared/irq/irq.h @@ -60,9 +60,6 @@ typedef enum { BSP_RT_TIMER3 = 10 } rtems_irq_symbolic_name; - - - /* * Type definition for RTEMS managed interrupts */ @@ -140,9 +137,6 @@ typedef struct { rtems_irq_prio* irqPrioTbl; }rtems_irq_global_settings; - - - /*-------------------------------------------------------------------------+ | Function Prototypes. +--------------------------------------------------------------------------*/ diff --git a/c/src/lib/libbsp/i386/shared/irq/irq_asm.S b/c/src/lib/libbsp/i386/shared/irq/irq_asm.S index 9c5e327379..6504079fda 100644 --- a/c/src/lib/libbsp/i386/shared/irq/irq_asm.S +++ b/c/src/lib/libbsp/i386/shared/irq/irq_asm.S @@ -130,7 +130,6 @@ nested: movb ah, al outb $PIC_SLAVE_IMR_IO_PORT - decl SYM (_ISR_Nest_level) /* one less ISR nest level */ /* If interrupts are nested, */ /* then dispatching is disabled */ @@ -149,7 +148,6 @@ nested: /* while in interrupt handler? */ je .exit /* No, exit */ - .bframe: movl $0, SYM (_ISR_Signals_to_thread_executing) /* @@ -203,7 +201,6 @@ nested: popl eax iret - #define DISTINCT_INTERRUPT_ENTRY(_vector) \ .p2align 4 ; \ PUBLIC (rtems_irq_prologue_ ## _vector ) ; \ diff --git a/c/src/lib/libbsp/i386/shared/irq/irq_asm.h b/c/src/lib/libbsp/i386/shared/irq/irq_asm.h index bbf291b519..e46b5e1203 100644 --- a/c/src/lib/libbsp/i386/shared/irq/irq_asm.h +++ b/c/src/lib/libbsp/i386/shared/irq/irq_asm.h @@ -26,5 +26,4 @@ #define PIC_EOSI 0x60 /* End of Specific Interrupt (EOSI) */ #define PIC_EOI 0x20 /* Generic End of Interrupt (EOI) */ - #endif diff --git a/c/src/lib/libbsp/i386/shared/irq/irq_init.c b/c/src/lib/libbsp/i386/shared/irq/irq_init.c index 7a54329082..61969cf182 100644 --- a/c/src/lib/libbsp/i386/shared/irq/irq_init.c +++ b/c/src/lib/libbsp/i386/shared/irq/irq_init.c @@ -49,7 +49,6 @@ static void nop_func(){} */ static int not_connected() {return 0;} - static rtems_raw_irq_connect_data idtHdl[IDT_SIZE]; /* @@ -100,8 +99,6 @@ static rtems_irq_prio irqPrioTable[BSP_IRQ_LINES_NUMBER]={ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }; - - static interrupt_gate_descriptor idtEntry; static rtems_irq_global_settings initial_config; @@ -129,7 +126,6 @@ void rtems_irq_mngt_init() while(1); } - _CPU_ISR_Disable(level); /* |