Skip to content

Commit

Permalink
kernel: allow overrides in CONFIG_SMALL as well
Browse files Browse the repository at this point in the history
  • Loading branch information
EtchedPixels committed Jan 20, 2024
1 parent 5248be8 commit 4bd5b05
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Kernel/include/kernel.h
Original file line number Diff line number Diff line change
Expand Up @@ -89,10 +89,18 @@ From UZI by Doug Braun and UZI280 by Stefan Nitschke.
/* Maximum UFTSIZE can be is 16, then you need to alter the O_CLOEXEC code */

#ifdef CONFIG_SMALL
#ifndef UFTSIZE
#define UFTSIZE 10 /* User files */
#endif
#ifndef OFTSIZE
#define OFTSIZE 15 /* Open files */
#endif
#ifndef ITABSIZE
#define ITABSIZE 20 /* Inodes */
#endif
#ifndef PTABSIZE
#define PTABSIZE 15 /* Processes */
#endif
#else
#ifndef UFTSIZE
#define UFTSIZE 16 /* Number of user files */
Expand Down

0 comments on commit 4bd5b05

Please sign in to comment.