From b27e18619f7578ddd489ac19fd9f1258c9f2e004 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Sat, 13 Nov 2010 21:07:06 +0100 Subject: Use smaller number of request contexts on a SAM64 --- firmware/src/os/req_ctx.c | 5 +++++ 1 file changed, 5 insertions(+) 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) -- cgit v1.2.3