[Pdbg] [PATCH 02/11] Increase max processors for sparse chip id configs

Michael Neuling mikey at neuling.org
Thu Jun 7 16:54:29 AEST 2018


This bumps up the MAX_PROCESSORS to 64 so we support more machines.

On a Tuletta with 2 DCMS, we end up with chip ids 0, 1, 16 and
17. We can't use the last two chips with the current setting.

Signed-off-by: Michael Neuling <mikey at neuling.org>
---
 src/main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main.c b/src/main.c
index 26e141076e..1422c3f7bb 100644
--- a/src/main.c
+++ b/src/main.c
@@ -69,7 +69,7 @@ static enum backend backend = KERNEL;
 static char const *device_node;
 static int i2c_addr = 0x50;
 
-#define MAX_PROCESSORS 16
+#define MAX_PROCESSORS 64
 #define MAX_CHIPS 24
 #define MAX_THREADS THREADS_PER_CORE
 
-- 
2.17.0



More information about the Pdbg mailing list