]> Devi Nivas Git - cs3210-lab0.git/commitdiff
Update limits.c master
authorAdvaith Menon <noreply-git@bp4k.net>
Wed, 21 Jan 2026 00:46:40 +0000 (06:16 +0530)
committerAdvaith Menon <noreply-git@bp4k.net>
Wed, 21 Jan 2026 00:46:40 +0000 (06:16 +0530)
* Add 1 running process for init

user/src/lab0/limits.c

index 02be4001c133e6bf0d7953d476f520ddd0294622..4f99b85d6030b3310933fefce094255fa8e0a80a 100644 (file)
@@ -4,7 +4,7 @@
 
 #define PGSIZE 4096  // 4K Page size
 #define CURRENTLY_OCCUPIED_MEM 0
 
 #define PGSIZE 4096  // 4K Page size
 #define CURRENTLY_OCCUPIED_MEM 0
-#define CURRENTLY_OPEN_PROCESSES 2
+#define CURRENTLY_OPEN_PROCESSES 3 // init, shell and this prog
 #define STDOUT_FD 1
 
 static void test_maxmem(void);
 #define STDOUT_FD 1
 
 static void test_maxmem(void);