mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-02-23 17:19:33 +08:00
* libgloss/m68k/Makefile.in (BDM_SYSOBJS): Remove bdm-outbyte.o
* libgloss/m68k/bdm-outbyte.c: Delete. * libgloss/m68k/bdm-semihost.h (BDM_OUTBYTE): Mark as obsolete.
This commit is contained in:
parent
22bd8d8dc6
commit
0fecf1109c
@ -1,3 +1,9 @@
|
|||||||
|
2006-05-24 Nathan Sidwell <nathan@codesourcery.com>
|
||||||
|
|
||||||
|
* libgloss/m68k/Makefile.in (BDM_SYSOBJS): Remove bdm-outbyte.o
|
||||||
|
* libgloss/m68k/bdm-outbyte.c: Delete.
|
||||||
|
* libgloss/m68k/bdm-semihost.h (BDM_OUTBYTE): Mark as obsolete.
|
||||||
|
|
||||||
2006-05-22 Sandra Loosemore <sandra@codesourcery.com>
|
2006-05-22 Sandra Loosemore <sandra@codesourcery.com>
|
||||||
|
|
||||||
* libgloss/m68k/bdm-semihost.h: Add new constants for additional
|
* libgloss/m68k/bdm-semihost.h: Add new constants for additional
|
||||||
|
@ -132,7 +132,7 @@ BDM_OBJS= bdm-isv.o bdm-semihost.o $(BDM_SYSOBJS) \
|
|||||||
BDM_OTHER_OBJS= getpid.o kill.o sbrk.o print.o putnum.o
|
BDM_OTHER_OBJS= getpid.o kill.o sbrk.o print.o putnum.o
|
||||||
BDM_SYSOBJS= bdm-close.o bdm-exit.o bdm-fstat.o bdm-gdb.o \
|
BDM_SYSOBJS= bdm-close.o bdm-exit.o bdm-fstat.o bdm-gdb.o \
|
||||||
bdm-gettimeofday.o bdm-inbyte.o bdm-isatty.o bdm-lseek.o \
|
bdm-gettimeofday.o bdm-inbyte.o bdm-isatty.o bdm-lseek.o \
|
||||||
bdm-open.o bdm-outbyte.o bdm-read.o bdm-rename.o \
|
bdm-open.o bdm-read.o bdm-rename.o \
|
||||||
bdm-stat.o bdm-system.o bdm-unlink.o bdm-write.o
|
bdm-stat.o bdm-system.o bdm-unlink.o bdm-write.o
|
||||||
BDM_ISRS= other_interrupt reset access_error address_error \
|
BDM_ISRS= other_interrupt reset access_error address_error \
|
||||||
illegal_instruction divide_by_zero privilege_violation \
|
illegal_instruction divide_by_zero privilege_violation \
|
||||||
|
@ -1,27 +0,0 @@
|
|||||||
/*
|
|
||||||
* bdm-outbyte.c --
|
|
||||||
*
|
|
||||||
* Copyright (c) 2006 CodeSourcery Inc
|
|
||||||
*
|
|
||||||
* The authors hereby grant permission to use, copy, modify, distribute,
|
|
||||||
* and license this software and its documentation for any purpose, provided
|
|
||||||
* that existing copyright notices are retained in all copies and that this
|
|
||||||
* notice is included verbatim in any distributions. No written agreement,
|
|
||||||
* license, or royalty fee is required for any of the authorized uses.
|
|
||||||
* Modifications to this software may be copyrighted by their authors
|
|
||||||
* and need not follow the licensing terms described here, provided that
|
|
||||||
* the new terms are clearly indicated on the first page of each file where
|
|
||||||
* they apply.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include "bdm-semihost.h"
|
|
||||||
|
|
||||||
/*
|
|
||||||
* outbyte -- output a byte to a console.
|
|
||||||
*/
|
|
||||||
|
|
||||||
void outbyte (char c)
|
|
||||||
{
|
|
||||||
int code = c & 0xff;
|
|
||||||
BDM_TRAP (BDM_OUTBYTE, code);
|
|
||||||
}
|
|
@ -32,7 +32,7 @@
|
|||||||
/* Codes for BDM_FUNC_REG. */
|
/* Codes for BDM_FUNC_REG. */
|
||||||
|
|
||||||
#define BDM_EXIT 0
|
#define BDM_EXIT 0
|
||||||
#define BDM_OUTBYTE 1
|
#define BDM_PUTCHAR 1 /* Obsolete */
|
||||||
#define BDM_OPEN 2
|
#define BDM_OPEN 2
|
||||||
#define BDM_CLOSE 3
|
#define BDM_CLOSE 3
|
||||||
#define BDM_READ 4
|
#define BDM_READ 4
|
||||||
@ -46,7 +46,6 @@
|
|||||||
#define BDM_ISATTY 12
|
#define BDM_ISATTY 12
|
||||||
#define BDM_SYSTEM 13
|
#define BDM_SYSTEM 13
|
||||||
|
|
||||||
|
|
||||||
/* Here is the macro that generates the trap. */
|
/* Here is the macro that generates the trap. */
|
||||||
|
|
||||||
#define BDM_TRAP(func, arg) \
|
#define BDM_TRAP(func, arg) \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user