Prepare RFID compilation in firmware mode
authorHarald Welte <laforge@gnumonks.org>
Sat, 14 Oct 2006 12:34:38 +0000 (12:34 +0000)
committerHarald Welte <laforge@gnumonks.org>
Sat, 14 Oct 2006 12:34:38 +0000 (12:34 +0000)
commitfb488a0210b1c694dba762ba086f43a5d4655c4f
tree5a15b5ca51874f0f8e96ccc4ee0457a66de3cec7
parent6ae1ffc4f537eb4748c801f6d42ed08ee7221c6f
Prepare RFID compilation in firmware mode
- switch from linked lists to static arrays
- remove all non-handle dynamic allocations (at the expense of stack)
- declare all proto/reader/asic/layer2 structures as const
- wrap all handle allocations in macros that expand to references to
  static structures in case of firmware mode
- update copyright notices
- add skeleton code for openpcd-inside-firmware driver
- update TODO with remaining TODO for firmware mode

git-svn-id: https://svn.gnumonks.org/trunk/librfid@1903 e0336214-984f-0b4b-a45f-81c69e1f0ede
25 files changed:
TODO
include/librfid/Makefile.am
include/librfid/rfid.h
include/librfid/rfid_layer2_iso14443a.h
include/librfid/rfid_layer2_iso14443b.h
include/librfid/rfid_layer2_iso15693.h
include/librfid/rfid_protocol_mifare_classic.h
include/librfid/rfid_protocol_mifare_ul.h
include/librfid/rfid_protocol_tcl.h
include/librfid/rfid_reader_cm5121.h
include/librfid/rfid_reader_openpcd.h
include/librfid/rfid_system.h [new file with mode: 0644]
src/rfid.c
src/rfid_asic_rc632.c
src/rfid_layer2.c
src/rfid_layer2_iso14443a.c
src/rfid_layer2_iso14443b.c
src/rfid_layer2_iso15693.c
src/rfid_proto_mifare_classic.c
src/rfid_proto_mifare_ul.c
src/rfid_proto_tcl.c
src/rfid_protocol.c
src/rfid_reader.c
src/rfid_reader_cm5121.c
src/rfid_reader_openpcd.c