From 2efdd08b402f42579548349e62c73c9fe999bc98 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Wed, 20 May 1998 17:06:57 +0000 Subject: Patch from Ralf Corseipus to fix latent configure problems suddenly triggered: The breakdown: * CC_FOR_TARGET and CXX_FOR_TARGET were not correctly re-read from autoconf's configuration cache (config.cache) * If -[gcc|g++] was not found while running configure, the config macros tried to use other (wrong) compilers (e.g. cc). Changes: * New RTEMS_PROG_CC macro (aclocal/prog-cc.m4). * New RTEMS_PROG_CXX macro (aclocal/prog-cxx.m4) * Moved a shell script fragment from configure.in to a new m4-autoconf macro (New file: aclocal/tool-prefix.m4) * Minor changes to configure.in I tested it with linux/posix (native gcc/primary libc) and sh-rtems/gensh1 on a linux host and didn't notice any bugs related to the problems mentioned above. There seem to be more bugs with the posix bsp, but I consider them minor as the build run completed successfully. It is just too late for me to attempt to fix them now. --- c/src/lib/libbsp/i386/pc386/include/bsp.h | 35 +++++++++---------------------- 1 file changed, 10 insertions(+), 25 deletions(-) (limited to 'c/src/lib/libbsp/i386/pc386/include/bsp.h') diff --git a/c/src/lib/libbsp/i386/pc386/include/bsp.h b/c/src/lib/libbsp/i386/pc386/include/bsp.h index 09758020a1..fc998144fc 100644 --- a/c/src/lib/libbsp/i386/pc386/include/bsp.h +++ b/c/src/lib/libbsp/i386/pc386/include/bsp.h @@ -10,6 +10,14 @@ | | Instituto Superior Tecnico * Lisboa * PORTUGAL +--------------------------------------------------------------------------+ +| Modified by Eric Valette the 20/05/98 in order to add definitions used +| to enhance video putchar capabilities. +| +| Copyright (C) 1998 valette@crf.canon.fr +| +| Canon Centre Recherche France. +| ++--------------------------------------------------------------------------+ | Disclaimer: | | This file is provided "AS IS" without warranty of any kind, either @@ -57,32 +65,9 @@ extern "C" { /*-------------------------------------------------------------------------+ | Video (console) related constants. +--------------------------------------------------------------------------*/ -#define COLOUR 1 /* Assume colour console */ - -#if COLOUR - -# define GDC_REG_PORT 0x3D4 -# define GDC_VAL_PORT 0x3D5 -# define TVRAM ((rtems_unsigned16 *)0xB8000) - -#else - -# define GDC_REG_PORT 0x3B4 -# define GDC_VAL_PORT 0x3B5 -# define TVRAM ((rtems_unsigned16 *)0xB0000) - -#endif /* COLOUR */ - -/* Number of Video Lines & Columns */ - -#define MAX_COL 80 - -#ifdef RTEMS_VIDEO_80x50 -#define MAX_ROW 50 -#else -#define MAX_ROW 25 -#endif /* RTEMS_VIDEO_80x50 */ +#include + /*-------------------------------------------------------------------------+ | Constants relating to the 8254 (or 8253) programmable interval timers. +--------------------------------------------------------------------------*/ -- cgit v1.2.3