diff options
author | Mark Mitchell <mark@codesourcery.com> | 2006-01-21 01:29:04 +0000 |
---|---|---|
committer | Mark Mitchell <mark@codesourcery.com> | 2006-01-21 01:29:04 +0000 |
commit | acab6ab29b26848dc49786d1b488961038bf99b4 (patch) | |
tree | b7a323c58e413d5c3a770d7aaa72c8b939f712f0 /gdb/rdi-share/crc.h | |
parent | 4577207e6ff4ba9e63c121953361e4b2dd161298 (diff) | |
download | ppe42-binutils-acab6ab29b26848dc49786d1b488961038bf99b4.tar.gz ppe42-binutils-acab6ab29b26848dc49786d1b488961038bf99b4.zip |
* 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/crc.h')
-rw-r--r-- | gdb/rdi-share/crc.h | 90 |
1 files changed, 0 insertions, 90 deletions
diff --git a/gdb/rdi-share/crc.h b/gdb/rdi-share/crc.h deleted file mode 100644 index 77ba23e97d..0000000000 --- a/gdb/rdi-share/crc.h +++ /dev/null @@ -1,90 +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$ - * - * - * crc.h - describes some "standard" CRC calculation routines. - */ -#ifndef angel_crc_h -#define angel_crc_h - -/* - * manifests - */ - -/* - * When using "crc32" or "crc16" these initial CRC values must be given to - * the respective function the first time it is called. The function can - * then be called with the return value from the last call of the function - * to generate a running CRC over multiple data blocks. - * When the last data block has been processed using the "crc32" algorithm - * the CRC value should be inverted to produce the final CRC value: - * e.g. CRC = ~CRC - */ - -#define startCRC32 (0xFFFFFFFF) /* CRC initialised to all 1s */ -#define startCRC16 (0x0000) /* CRC initialised to all 0s */ - -/* - * For the CRC-32 residual to be calculated correctly requires that the CRC - * value is in memory little-endian due to the byte read, bit-ordering - * nature of the algorithm. - */ -#define CRC32residual (0xDEBB20E3) /* good CRC-32 residual */ - - -/**********************************************************************/ - -/* - * exported functions - */ - -/* - * Function: crc32 - * Purpose: Provides a table driven implementation of the IEEE-802.3 - * 32-bit CRC algorithm for byte data. - * - * Params: - * Input: address pointer to the byte data - * size number of bytes of data to be processed - * crc initial CRC value to be used (can be the output - * from a previous call to this function). - * Returns: - * OK: 32-bit CRC value for the specified data - */ -extern unsigned int crc32(unsigned char *address, unsigned int size, - unsigned int crc); - -/**********************************************************************/ - -/* - * - * Function: crc16 - * Purpose: Generates a table driven 16-bit CRC-CCITT for byte data - * - * Params: - * Input: address pointer to the byte data - * size number of bytes of data to be processed - * crc initial CRC value to be used (can be the output - * from a previous call to this function). - * - * Returns: - * OK: 16-bit CRC value for the specified data - */ -extern unsigned short crc16(unsigned char *address, unsigned int size, - unsigned short crc); - -/**********************************************************************/ - -#endif /* !defined(angel_crc_h) */ - -/* EOF crc.h */ |