2002-10-31 Joel Sherrill <joel@OARcorp.com>

* bootloader/em86.c, console/inch.c, console/polled_io.c, irq/irq.c,
	motorola/motorola.c, pci/detect_raven_bridge.c,
	vectors/vectors_init.c: Removed warnings.
This commit is contained in:
Joel Sherrill
2002-10-31 20:12:09 +00:00
parent 5efc97876b
commit 7657233d5a
8 changed files with 21 additions and 4 deletions

View File

@@ -1,3 +1,9 @@
2002-10-31 Joel Sherrill <joel@OARcorp.com>
* bootloader/em86.c, console/inch.c, console/polled_io.c, irq/irq.c,
motorola/motorola.c, pci/detect_raven_bridge.c,
vectors/vectors_init.c: Removed warnings.
2002-07-25 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* bootloader/em86real.S: Fix syntax error in comment near line 1185.

View File

@@ -29,8 +29,10 @@
#ifdef __BOOT__
#include "bootldr.h"
#include <limits.h>
#include <rtems/bspIo.h>
#endif
/* Code options, put them on the compiler command line */
/* #define EIP_STATS */ /* EIP based profiling */
/* #undef EIP_STATS */

View File

@@ -83,7 +83,7 @@ _IBMPC_scankey(char *outChar)
static int caps_pressed = 0;
static int extended = 0;
*outChar = NULL; /* default value if we return FALSE */
*outChar = 0; /* default value if we return FALSE */
/* Read keyboard controller, toggle enable */
inChar=kbd_inb(KBD_CTL);

View File

@@ -41,6 +41,9 @@
#ifdef __BOOT__
extern void boot_udelay();
void * __palloc(u_long);
void pfree(void *);
#endif
typedef unsigned long long u64;

View File

@@ -322,7 +322,7 @@ void C_dispatch_irq_handler (CPU_Interrupt_frame *frame, unsigned int excNum)
{
register unsigned int irq;
register unsigned isaIntr; /* boolean */
register unsigned oldMask; /* old isa pic masks */
register unsigned oldMask = 0; /* old isa pic masks */
register unsigned newMask; /* new isa pic masks */
register unsigned msr;
register unsigned new_msr;

View File

@@ -13,8 +13,10 @@
*/
#include <bsp/motorola.h>
#include <libcpu/io.h>
#include <bsp/motorola.h>
#include <rtems/bspIo.h>
#include <libcpu/io.h>
#include <string.h>
typedef struct {
/*

View File

@@ -10,6 +10,8 @@
#include <bsp/residual.h>
#include <bsp/openpic.h>
#include <rtems/bspIo.h>
#define RAVEN_MPIC_IOSPACE_ENABLE 0x1
#define RAVEN_MPIC_MEMSPACE_ENABLE 0x2
#define RAVEN_MASTER_ENABLE 0x4

View File

@@ -124,6 +124,8 @@ int except_always_enabled(const rtems_raw_except_connect_data* ptr)
return 1;
}
int mpc60x_vector_is_valid(rtems_vector vector);
void initialize_exceptions()
{
int i;