mirror of
https://github.com/apache/nuttx.git
synced 2026-05-21 04:52:02 +08:00
Various module-related cosmetic changes
This commit is contained in:
+1
-1
Submodule arch updated: fb81d9d623...982356fab5
+1
-1
Submodule configs updated: 7a90dc6162...050dca048e
@@ -129,7 +129,7 @@ struct module_s
|
||||
* resources used by the loaded module.
|
||||
*/
|
||||
|
||||
mod_uninitializer_t uninitializer; /* Module initializer function */
|
||||
mod_uninitializer_t uninitializer; /* Module uninitializer function */
|
||||
FAR void *arg; /* Uninitializer argument */
|
||||
FAR void *alloc; /* Allocated kernel memory */
|
||||
};
|
||||
|
||||
@@ -51,28 +51,6 @@
|
||||
|
||||
#include "module.h"
|
||||
|
||||
/****************************************************************************
|
||||
* Pre-processor Definitions
|
||||
****************************************************************************/
|
||||
|
||||
/* CONFIG_DEBUG, CONFIG_DEBUG_VERBOSE, and CONFIG_MODULE_DUMPBUFFER have to
|
||||
* be defined or CONFIG_MODULE_DUMPBUFFER does nothing.
|
||||
*/
|
||||
|
||||
#if !defined(CONFIG_DEBUG_VERBOSE) || !defined (CONFIG_MODULE_DUMPBUFFER)
|
||||
# undef CONFIG_MODULE_DUMPBUFFER
|
||||
#endif
|
||||
|
||||
#ifndef CONFIG_MODULE_BUFFERSIZE
|
||||
# define CONFIG_MODULE_BUFFERSIZE 128
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_MODULE_DUMPBUFFER
|
||||
# define mod_dumpbuffer(m,b,n) svdbgdumpbuffer(m,b,n)
|
||||
#else
|
||||
# define mod_dumpbuffer(m,b,n)
|
||||
#endif
|
||||
|
||||
/****************************************************************************
|
||||
* Private Functions
|
||||
****************************************************************************/
|
||||
|
||||
Reference in New Issue
Block a user