summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
authorMin Xu <min.xu@min-info.net>2014-10-25 14:55:04 +0200
committerHarald Welte <laforge@gnumonks.org>2014-11-11 22:30:54 +0100
commitec975220d0a559b5c3df65c8d0dfc5745997e2d9 (patch)
tree19854d43f896795d12c01852f43632c00cf5f71c /firmware
parentb6b2c7d4829aab75feb9f1114b825bbde0491444 (diff)
req_ctx: Change number of small / large req_ctx
Diffstat (limited to 'firmware')
-rw-r--r--firmware/src/os/req_ctx.c6
1 files changed, 5 insertions, 1 deletions
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];
personal git repositories of Harald Welte. Your mileage may vary