From ec975220d0a559b5c3df65c8d0dfc5745997e2d9 Mon Sep 17 00:00:00 2001 From: Min Xu Date: Sat, 25 Oct 2014 14:55:04 +0200 Subject: req_ctx: Change number of small / large req_ctx --- firmware/src/os/req_ctx.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'firmware/src') diff --git a/firmware/src/os/req_ctx.c b/firmware/src/os/req_ctx.c index 67d6c93..2411f62 100644 --- a/firmware/src/os/req_ctx.c +++ b/firmware/src/os/req_ctx.c @@ -27,7 +27,11 @@ #include "../openpcd.h" /* FIXME: locking, FIFO order processing */ +#define NUM_RCTX_SMALL 0 +#define NUM_RCTX_LARGE 19 +// 8 * 128 + 4 * 2048 => 18 * 270 + 2 * 2048 +/* #if defined(__AT91SAM7S64__) || defined(RUN_FROM_RAM) #define NUM_RCTX_SMALL 16 #define NUM_RCTX_LARGE 1 @@ -35,7 +39,7 @@ #define NUM_RCTX_SMALL 8 #define NUM_RCTX_LARGE 4 #endif - +*/ #define NUM_REQ_CTX (NUM_RCTX_SMALL+NUM_RCTX_LARGE) static u_int8_t rctx_data[NUM_RCTX_SMALL][RCTX_SIZE_SMALL]; -- cgit v1.2.3