2002-04-20 Ralf Corsepius <corsepiu@faw.uni-ulm.de>

* startup/nulsystbl.c: Fix braces.
	* startup/Makefile.am: Remove types.h.
	* startup/types.h: Remove.
This commit is contained in:
Joel Sherrill
2002-04-18 13:07:55 +00:00
parent 9779f3dbb7
commit d16e95006f
4 changed files with 12 additions and 43 deletions

View File

@@ -1,3 +1,9 @@
2002-04-20 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* startup/nulsystbl.c: Fix braces.
* startup/Makefile.am: Remove types.h.
* startup/types.h: Remove.
2002-03-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de> 2002-03-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: * configure.ac:

View File

@@ -16,7 +16,7 @@ C_FILES = bspclean.c bsplibc.c bsppost.c bspstart.c bootcard.c cntrltbl.c \
noinst_HEADERS = asmfault.h asmstub.h cntrltbl.h fault.h faultret.h flttbl.h \ noinst_HEADERS = asmfault.h asmstub.h cntrltbl.h fault.h faultret.h flttbl.h \
frmstr.h i960.h ihandler.h intrtbl.h main.h memchnl.h pmc901_memmap.h \ frmstr.h i960.h ihandler.h intrtbl.h main.h memchnl.h pmc901_memmap.h \
prcb.h rom_ibr.h rommon.h sctns.h systbl.h time.h types.h prcb.h rom_ibr.h rommon.h sctns.h systbl.h time.h
S_FILES = asmfault.S asmstub.S ihandler.S S_FILES = asmfault.S asmstub.S ihandler.S
@@ -49,7 +49,6 @@ EXTRA_DIST = asmfault.S asmfault.h asmstub.S asmstub.h bspstart.c cntrltbl.c \
frmstr.c frmstr.h i960.h ihandler.S ihandler.h intrtbl.c intrtbl.h \ frmstr.c frmstr.h i960.h ihandler.S ihandler.h intrtbl.c intrtbl.h \
kkprintf.c linkcmds main.h memchnl.h nmi.c nulsystbl.c pmc901_memmap.h \ kkprintf.c linkcmds main.h memchnl.h nmi.c nulsystbl.c pmc901_memmap.h \
prcb.c prcb.h rom.ld rom_cntrltbl.c rom_ibr.c rom_ibr.h rom_prcb.c \ prcb.c prcb.h rom.ld rom_cntrltbl.c rom_ibr.c rom_ibr.h rom_prcb.c \
rommon.h rxgen_romld.S sctns.c sctns.h setvec.c systbl.c systbl.h time.h \ rommon.h rxgen_romld.S sctns.c sctns.h setvec.c systbl.c systbl.h time.h
types.h
include $(top_srcdir)/../../../../../../automake/local.am include $(top_srcdir)/../../../../../../automake/local.am

View File

@@ -15,9 +15,10 @@
* to ram * to ram
*/ */
SystemTbl nulsystemTbl = { SystemTbl nulsystemTbl = {
0, 0, 0, /* Reserved */ { 0, 0, 0 }, /* Reserved */
svrStackPtr, /* Supervisor Stack Pointer Base */ svrStackPtr, /* Supervisor Stack Pointer Base */
0, 0, 0, 0, 0, 0, 0, 0, /* Preserved */ { 0, 0, 0, 0, 0, 0, 0, 0 }, /* Preserved */
{
0, 0, 0, 0, 0, 0, 0, 0, /* 0 - 7 */ 0, 0, 0, 0, 0, 0, 0, 0, /* 0 - 7 */
0, 0, 0, 0, 0, 0, 0, 0, /* 8 - 15 */ 0, 0, 0, 0, 0, 0, 0, 0, /* 8 - 15 */
0, 0, /* 16 - 17 */ 0, 0, /* 16 - 17 */
@@ -76,6 +77,7 @@ SystemTbl nulsystemTbl = {
0, /* 112 */ 0, /* 112 */
0, /* 113 */ 0, /* 113 */
0, /* 114 */ 0, /* 114 */
}
}; };
/*-------------*/ /*-------------*/
/* End of file */ /* End of file */

View File

@@ -1,38 +0,0 @@
/*
* $Id$
*/
/* Type definitions for our use */
#ifndef __TYPES_H
#define __TYPES_H
typedef unsigned char u8;
typedef unsigned int u32;
typedef unsigned short u16;
typedef unsigned char uchar;
typedef unsigned int Int32;
typedef unsigned short Int16;
typedef unsigned char Int8;
typedef unsigned int u_int;
typedef unsigned int u_long;
typedef unsigned short u_short;
typedef unsigned char u_char;
#ifndef NULL
#define NULL 0
#endif
#ifndef TRUE
#define TRUE 1
#endif
#ifndef FALSE
#define FALSE 0
#endif
/*
* Definitions of unsigned amounts
*/
#define ub Int8
#define uw Int16
#define ul Int64
#define sl long
#define ui Int32
#endif