2005-01-04 Joel Sherrill <joel@OARcorp.com>

* comm/gdb_glue.c, irq/idt.c: Remove warnings.
This commit is contained in:
Joel Sherrill
2005-01-04 23:28:37 +00:00
parent a4a5624492
commit a4d3eb0dcc
3 changed files with 12 additions and 5 deletions

View File

@@ -1,3 +1,7 @@
2005-01-04 Joel Sherrill <joel@OARcorp.com>
* comm/gdb_glue.c, irq/idt.c: Remove warnings.
2004-09-27 Greg Menke <gregory.menke@gsfc.nasa.gov>
PR 608/bsps

View File

@@ -19,6 +19,9 @@
#define BREAKPOINT() asm(" int $3");
extern int BSPConsolePort;
void i386_stub_glue_init(int);
void i386_stub_glue_init_breakin(void);
void set_debug_traps(void);
/* Init GDB glue */
void init_remote_gdb( void )

View File

@@ -40,9 +40,9 @@ void create_interrupt_gate_descriptor (interrupt_gate_descriptor* idtEntry,
rtems_raw_irq_hdl get_hdl_from_vector(rtems_vector_offset index)
{
rtems_raw_irq_hdl hdl;
uint32_t hdl;
interrupt_gate_descriptor* idt_entry_tbl;
unsigned limit;
uint32_t limit;
i386_get_info_from_IDTR (&idt_entry_tbl, &limit);
@@ -53,9 +53,9 @@ rtems_raw_irq_hdl get_hdl_from_vector(rtems_vector_offset index)
return 0;
}
* ((unsigned int*) &hdl) = (idt_entry_tbl[index].low_offsets_bits |
(idt_entry_tbl[index].high_offsets_bits << 16));
return hdl;
hdl = (idt_entry_tbl[index].low_offsets_bits |
(idt_entry_tbl[index].high_offsets_bits << 16));
return (rtems_raw_irq_hdl) hdl;
}
int i386_set_idt_entry (const rtems_raw_irq_connect_data* irq)