Various module-related cosmetic changes
This commit is contained in:
parent
303123deb9
commit
a908a61c5a
2
arch
2
arch
|
@ -1 +1 @@
|
|||
Subproject commit fb81d9d623c311e42128cfb026077db89bdec182
|
||||
Subproject commit 982356fab5364d3f70f54483394cec9cfe9b9199
|
2
configs
2
configs
|
@ -1 +1 @@
|
|||
Subproject commit 7a90dc61627c97dc6e6b4cfd252288a91a821a09
|
||||
Subproject commit 050dca048e92cec8f8d04075553d75025a31f2d4
|
|
@ -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
|
||||
****************************************************************************/
|
||||
|
|
Loading…
Reference in New Issue