diff options
author | Harald Welte <laforge@gnumonks.org> | 2010-11-18 23:06:43 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2010-11-18 23:06:43 +0100 |
commit | 6492c2959cbea6dd6d46fc64267b88c19cf14e8a (patch) | |
tree | 1d80ac4e72e90319fd54cd66d3b45f65f8154647 /firmware/src | |
parent | 012362ba7d742b9ae304b09453ba6d9a49dc9d0b (diff) |
req_ctx: Increase size of small req_ctx to 128 and have 16 instead of 8
This is required to deal with bursts in SIM comminication while using
the SIMTRACE firmware
Diffstat (limited to 'firmware/src')
-rw-r--r-- | firmware/src/os/req_ctx.c | 4 | ||||
-rw-r--r-- | firmware/src/os/req_ctx.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/firmware/src/os/req_ctx.c b/firmware/src/os/req_ctx.c index 73b6035..0e4816e 100644 --- a/firmware/src/os/req_ctx.c +++ b/firmware/src/os/req_ctx.c @@ -29,8 +29,8 @@ /* FIXME: locking, FIFO order processing */ #ifdef __AT91SAM7S64__ -#define NUM_RCTX_SMALL 4 -#define NUM_RCTX_LARGE 2 +#define NUM_RCTX_SMALL 16 +#define NUM_RCTX_LARGE 1 #else #define NUM_RCTX_SMALL 8 #define NUM_RCTX_LARGE 4 diff --git a/firmware/src/os/req_ctx.h b/firmware/src/os/req_ctx.h index ac9ab3f..94b5c5a 100644 --- a/firmware/src/os/req_ctx.h +++ b/firmware/src/os/req_ctx.h @@ -2,7 +2,7 @@ #define _REQ_CTX_H #define RCTX_SIZE_LARGE 2048 -#define RCTX_SIZE_SMALL 64 +#define RCTX_SIZE_SMALL 128 #define MAX_HDRSIZE sizeof(struct openpcd_hdr) #define MAX_REQSIZE (64-MAX_HDRSIZE) |