aboutsummaryrefslogtreecommitdiff
path: root/gdb/rdi-share/unixcomm.h
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>2006-01-21 01:29:04 +0000
committerMark Mitchell <mark@codesourcery.com>2006-01-21 01:29:04 +0000
commitacab6ab29b26848dc49786d1b488961038bf99b4 (patch)
treeb7a323c58e413d5c3a770d7aaa72c8b939f712f0 /gdb/rdi-share/unixcomm.h
parent4577207e6ff4ba9e63c121953361e4b2dd161298 (diff)
downloadgdb-acab6ab29b26848dc49786d1b488961038bf99b4.zip
gdb-acab6ab29b26848dc49786d1b488961038bf99b4.tar.gz
gdb-acab6ab29b26848dc49786d1b488961038bf99b4.tar.bz2
* Makefile.in (remote-rdi.o): Remove.
(rdi-share/libangsd.a): Likewise. * README: Don't mention remote-rdi.c. * NEWS: Mention removal of rdi-share. * configure.ac: Don't configure rdi-share subdirectory. * remote-rdi.c: Remove. * config/arm/embed.mt (TDEPFILES): Remove remote-rdi.o. (TDEPLIBS): Remove rdi-share/libangsd.a. * rdi-share/Makefile.am: Remove. * rdi-share/Makefile.in: Likewise. * rdi-share/README.CYGNUS: Likewise. * rdi-share/aclocal.m4: Likewise. * rdi-share/adp.h: Likewise. * rdi-share/adperr.h: Likewise. * rdi-share/angel.h: Likewise. * rdi-share/angel_bytesex.c: Likewise. * rdi-share/angel_bytesex.h: Likewise. * rdi-share/angel_endian.h: Likewise. * rdi-share/ardi.c: Likewise. * rdi-share/ardi.h: Likewise. * rdi-share/armdbg.h: Likewise. * rdi-share/buffers.h: Likewise. * rdi-share/chandefs.h: Likewise. * rdi-share/channels.h: Likewise. * rdi-share/chanpriv.h: Likewise. * rdi-share/configure: Likewise. * rdi-share/configure.in: Likewise. * rdi-share/crc.c: Likewise. * rdi-share/crc.h: Likewise. * rdi-share/dbg_conf.h: Likewise. * rdi-share/dbg_cp.h: Likewise. * rdi-share/dbg_hif.h: Likewise. * rdi-share/dbg_rdi.h: Likewise. * rdi-share/devclnt.h: Likewise. * rdi-share/devices.h: Likewise. * rdi-share/devsw.c: Likewise. * rdi-share/devsw.h: Likewise. * rdi-share/drivers.c: Likewise. * rdi-share/drivers.h: Likewise. * rdi-share/etherdrv.c: Likewise. * rdi-share/ethernet.h: Likewise. * rdi-share/host.h: Likewise. * rdi-share/hostchan.c: Likewise. * rdi-share/hostchan.h: Likewise. * rdi-share/hsys.c: Likewise. * rdi-share/hsys.h: Likewise. * rdi-share/logging.c: Likewise. * rdi-share/logging.h: Likewise. * rdi-share/msgbuild.c: Likewise. * rdi-share/msgbuild.h: Likewise. * rdi-share/params.c: Likewise. * rdi-share/params.h: Likewise. * rdi-share/rx.c: Likewise. * rdi-share/rxtx.h: Likewise. * rdi-share/serdrv.c: Likewise. * rdi-share/serpardr.c: Likewise. * rdi-share/sys.h: Likewise. * rdi-share/tx.c: Likewise. * rdi-share/unixcomm.c: Likewise. * rdi-share/unixcomm.h: Likewise.
Diffstat (limited to 'gdb/rdi-share/unixcomm.h')
-rw-r--r--gdb/rdi-share/unixcomm.h212
1 files changed, 0 insertions, 212 deletions
diff --git a/gdb/rdi-share/unixcomm.h b/gdb/rdi-share/unixcomm.h
deleted file mode 100644
index baa6552..0000000
--- a/gdb/rdi-share/unixcomm.h
+++ /dev/null
@@ -1,212 +0,0 @@
-/*
- * Copyright (C) 1995 Advanced RISC Machines Limited. All rights reserved.
- *
- * This software may be freely used, copied, modified, and distributed
- * provided that the above copyright notice is preserved in all copies of the
- * software.
- */
-
-/* -*-C-*-
- *
- * $Revision$
- * $Date$
- *
- */
-#ifndef angsd_unixcomm_h
-#define angsd_unixcomm_h
-
-#include <errno.h>
-
-#if defined(BSD)
-# define ERRNO_FOR_BLOCKED_IO EWOULDBLOCK
-#else
-# define ERRNO_FOR_BLOCKED_IO EAGAIN
-#endif
-
-/*
- * Function: Unix_MatchValidSerialDevice
- * Purpose: check that the serial driver/port name is valid
- * and return the actual device name if it is.
- *
- * Params:
- * Input: name Name of device going to be used
- *
- * Returns:
- * OK: Pointer to name of the device matched
- * Error or unrecognised deivce: 0
- */
-extern const char *Unix_MatchValidSerialDevice(const char *name);
-
-/*
- * Function: Unix_IsSerialInUse
- * Purpose: check whether the serial port is in use
- *
- * Params:
- * Input: Nothing
- *
- * Returns:
- * OK: 0 Serial device not in use
- * Error: -1 Serial device in use
- */
-extern int Unix_IsSerialInUse(void);
-
-/*
- * Function: Unix_OpenSerial
- * Purpose: open the serial port
- *
- * Params:
- * Input: name Name of device to open
- *
- * Returns: Unix 'open' returns
- */
-extern int Unix_OpenSerial(const char *name);
-
-/*
- * Function: Unix_CloseSerial
- * Purpose: close the serial port
- *
- * Params:
- * Input: Nothing
- *
- * Returns: Nothing
- */
-extern void Unix_CloseSerial(void);
-
-/*
- * Function: Unix_ReadSerial
- * Purpose: reads a specified number of bytes (or less) from the serial port
- *
- * Params:
- * Input: buf Buffer to store read bytes
- * n Maximum number of bytes to read
- *
- * Returns: Unix 'read' returns
- */
-extern int Unix_ReadSerial(unsigned char *buf, int n, bool block);
-
-/*
- * Function: Unix_WriteSerial
- * Purpose: writes a specified number of bytes (or less) to the serial port
- *
- * Params:
- * Input: buf Buffer to write bytes from
- * n Maximum number of bytes to write
- *
- * Returns: Unix 'write' returns
- */
-extern int Unix_WriteSerial(unsigned char *buf, int n);
-
-/*
- * Function: Unix_ResetSerial
- * Purpose: resets the serial port for another operation
- *
- * Params:
- * Input: Nothing
- *
- * Returns: Nothing
- */
-extern void Unix_ResetSerial(void);
-
-/*
- * Function: Unix_SetSerialBaudRate
- * Purpose: check that the serial driver/port name is valid
- *
- * Params:
- * Input: baudrate termios value for baud rate
- *
- * Returns: Nothing
- */
-extern void Unix_SetSerialBaudRate(int baudrate);
-
-/*
- * Function: Unix_ioctlNonBlocking
- * Purpose: sets the serial port to non-blocking IO
- *
- * Params:
- * Input: Nothing
- *
- * Returns: Nothing
- */
-extern void Unix_ioctlNonBlocking(void);
-
-/*
- * Function: Unix_IsValidParallelDevice
- * Purpose: check whether the combined serial and parallel device specification
- * is ok, and return the ports selected
- *
- * Params:
- * Input: portstring - is a string which specifies which serial
- * and parallel ports are to be used. Can
- * include s=<val> and p=<val> separated by a
- * comma.
- *
- * Returns:
- * Output: *sername - returns the device name of the chosen serial port
- * *parname - returns the device name of the chosen parallel port
- * If either of these is NULL on return then the match failed.
- */
-extern void Unix_IsValidParallelDevice(
- const char *portstring, char **sername, char **parname
-);
-
-/*
- * Function: Unix_IsParallelInUse
- * Purpose: check whether the parallel port is in use
- *
- * Params:
- * Input: Nothing
- *
- * Returns:
- * OK: 0 Parallel device not in use
- * Error: -1 Parallel device in use
- */
-extern int Unix_IsParallelInUse(void);
-
-/*
- * Function: Unix_OpenParallel
- * Purpose: open the parallel port
- *
- * Params:
- * Input: name Name of device to open
- *
- * Returns: Unix 'open' returns
- */
-extern int Unix_OpenParallel(const char *name);
-
-/*
- * Function: Unix_CloseParallel
- * Purpose: close the parallel port
- *
- * Params:
- * Input: Nothing
- *
- * Returns: Nothing
- */
-extern void Unix_CloseParallel(void);
-
-/*
- * Function: Unix_WriteParallel
- * Purpose: writes a specified number of bytes (or less) to the parallel port
- *
- * Params:
- * Input: buf Buffer to write bytes from
- * n Maximum number of bytes to write
- *
- * Returns: Unix 'write' returns
- */
-extern unsigned int Unix_WriteParallel(unsigned char *buf, int n);
-
-/*
- * Function: Unix_ResetParallel
- * Purpose: resets the parallel port for another operation
- *
- * Params:
- * Input: Nothing
- *
- * Returns: Nothing
- */
-extern void Unix_ResetParallel(void);
-
-#endif /* ndef angsd_unixcomm_h */
-
-/* EOF unixcomm.h */