mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 08:36:24 +08:00
Repartition functionality in preparation for nested, pending reprioritization
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1591 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
+13
-2
@@ -1,7 +1,7 @@
|
||||
/****************************************************************************
|
||||
* mkconfig.c
|
||||
* tools/mkconfig.c
|
||||
*
|
||||
* Copyright (C) 2007, 2008 Gregory Nutt. All rights reserved.
|
||||
* Copyright (C) 2007-2009 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
@@ -240,6 +240,17 @@ int main(int argc, char **argv, char **envp)
|
||||
printf("# define CONFIG_NFILE_STREAMS 3\n");
|
||||
printf("# endif\n");
|
||||
printf("#endif\n\n");
|
||||
printf("/* If priority inheritance is disabled, then do not allocate any\n");
|
||||
printf(" * associated resources.\n");
|
||||
printf(" */\n\n");
|
||||
printf("#if !defined(CONFIG_PROIRITY_INHERITANCE) || !defined(CONFIG_SEM_PREALLOCHOLDERSS)\n");
|
||||
printf("# undef CONFIG_SEM_PREALLOCHOLDERS\n");
|
||||
printf("# define CONFIG_SEM_PREALLOCHOLDERSS 0\n");
|
||||
printf("#endif\n\n");
|
||||
printf("#if !defined(CONFIG_PROIRITY_INHERITANCE) || !defined(CONFIG_SEM_NNESTPRIO)\n");
|
||||
printf("# undef CONFIG_SEM_NNESTPRIO\n");
|
||||
printf("# define CONFIG_SEM_NNESTPRIO 0\n");
|
||||
printf("#endif\n\n");
|
||||
printf("/* If no file descriptors are configured, then make certain no\n");
|
||||
printf(" * streams are configured either.\n");
|
||||
printf(" */\n\n");
|
||||
|
||||
Reference in New Issue
Block a user