diff options
author | Harald Welte <laforge@gnumonks.org> | 2010-11-13 21:07:06 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2010-11-13 21:07:06 +0100 |
commit | b27e18619f7578ddd489ac19fd9f1258c9f2e004 (patch) | |
tree | 093a9f4c2d2f3e96651c840d132c8abed4ec787c | |
parent | cad600d12ca89b3f2632c7d3263ab597d97c5149 (diff) |
Use smaller number of request contexts on a SAM64
-rw-r--r-- | firmware/src/os/req_ctx.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/firmware/src/os/req_ctx.c b/firmware/src/os/req_ctx.c index 36c3059..73b6035 100644 --- a/firmware/src/os/req_ctx.c +++ b/firmware/src/os/req_ctx.c @@ -28,8 +28,13 @@ /* FIXME: locking, FIFO order processing */ +#ifdef __AT91SAM7S64__ +#define NUM_RCTX_SMALL 4 +#define NUM_RCTX_LARGE 2 +#else #define NUM_RCTX_SMALL 8 #define NUM_RCTX_LARGE 4 +#endif #define NUM_REQ_CTX (NUM_RCTX_SMALL+NUM_RCTX_LARGE) |