aboutsummaryrefslogtreecommitdiffstats
path: root/firmware/src/os/req_ctx.c
AgeCommit message (Collapse)AuthorFilesLines
2017-03-17convert from u_int*_t to uint*_tHarald Welte1-3/+3
Change-Id: I33f6383535c5860b833f7ccb9bea122d38f28e3f
2014-11-11change number + qty of small/large req_ctxMin Xu1-9/+5
2014-11-11req_ctx: Keep statistic about number of req_ctx in given stateMin Xu1-2/+16
... and print this from a debug statement.
2014-11-11req_ctx: Change number of small / large req_ctxMin Xu1-1/+5
2014-11-11req_ctx: avoid loop iterations by introducing per-state queuesMin Xu1-23/+119
In order to speed up the lookup of req_ctx, we keep per-state queues rather than iterating over all the request contexts that exist again and again.
2011-07-30add new RUN_FROM_RAM run-mode for direct DFU-to-RAM supportHarald Welte1-1/+1
2010-11-18req_ctx: Increase size of small req_ctx to 128 and have 16 instead of 8Harald Welte1-2/+2
This is required to deal with bursts in SIM comminication while using the SIMTRACE firmware
2010-11-13Use smaller number of request contexts on a SAM64Harald Welte1-0/+5
2006-10-15- add svn:ignore property to make 'svn st' output more realisticlaforge1-1/+1
- remove old copy+paste+edit port of parts of librfid - add ability to directly link librfid.a from mainline librfid - make usb string descriptors optional again (config.h) - fix TC_CDIV to reset correctly on swtrig (For OpenPICC) - temporarily re-implement ep0_send_data() in pcd_enumerate.c - make UDP_PUPv4 switching conditional to PCD - introduce DEBUG_UNBUFFERED define in dbgu.c - fix some signed/unsigned/typecast related compiler warnings - remove dead code from src/os/led.c - implement a 'mdelay' and 'usleep' stub function (FIXME!) - rename rc632_... functions into opcd_rc632_... to avoid confusion - introduce new 'main_librfid' TARGET - make main_{reqa,analog} work with librfid rather than old code - introduce mroe debugging options for FIQ handler code in Cstartup_app - lots of PICC work that doesn't need comments now git-svn-id: https://svn.openpcd.org:2342/trunk@266 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
2006-10-04reduce number of large request contexts to four, should be sufficient for nowlaforge1-1/+1
git-svn-id: https://svn.openpcd.org:2342/trunk@255 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
2006-10-01initialize req_ctx state as free.laforge1-0/+1
git-svn-id: https://svn.openpcd.org:2342/trunk@246 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
2006-09-27- increase number of large (2k) contextx to 8laforge1-3/+3
- move req_ctx_find_get into ram, since this is frequently used within interrupt handlers and thus ought to be as fast as possible - correctly initialize req_ctx size (bugfix!) git-svn-id: https://svn.openpcd.org:2342/trunk@232 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
2006-09-22- move large rctx definitions to req_ctx.hlaforge1-3/+0
- add more fine-grained debugging macros in pcd_enumarate.c - resolve race conditions between main-loop ep_refill and irq-triggered ep_refill by adding one irq-[b]locking variant - consolidate endpoint reset code into reset_ep() - add code to handle correct transmission and reception of usb transfers larger than endpoint size - use new jump address (0x104000) in DFU Cstartup.S - move main_usb to pcd subdirectory - fix include/compile.h make dependencies - make usb benchmark code use new large req_ctx git-svn-id: https://svn.openpcd.org:2342/trunk@219 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
2006-09-20- Add OpenPICC register definition (and USB command handling)laforge1-2/+35
- Add automatic generation of include/compile.h with svn revision and compiletime - Add openpcd_compile_version structure to obtain version via USB - Move LED commands into new CMD_CLS_GENERIC family - Update TODO - Add support for large (2048 byte) request contexts in addition to 64byte - Shrink req_ctx size by collapsing rx and tx buffer into one - move definition of DFU_API_LOCATION to header file - Implement large req_ctx aware USB transmit / refill routines - Implement TX refilling for IRQ Endpoint - Print version information at startup time - move some generic req_ctx processing into usb_handler.c - Some further work on DFU (still not finished) - Only use '-Os' for DFU, use '-O2' for application code git-svn-id: https://svn.openpcd.org:2342/trunk@208 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
2006-09-13add GPL disclaimer to all C files that I wrotelaforge1-0/+19
git-svn-id: https://svn.openpcd.org:2342/trunk@195 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
2006-09-12move to new directorylaforge1-0/+50
git-svn-id: https://svn.openpcd.org:2342/trunk@191 6dc7ffe9-61d6-0310-9af1-9938baff3ed1