diff --git a/include/nuttx/binfmt/elf.h b/include/nuttx/binfmt/elf.h index 5926008f49..061665a760 100644 --- a/include/nuttx/binfmt/elf.h +++ b/include/nuttx/binfmt/elf.h @@ -97,13 +97,14 @@ struct elf_loadinfo_s /* elfalloc is the base address of the memory that is allocated to hold the * ELF program image. * - * If CONFIG_ARCH_ADDRENV=n, elfalloc will be allocated using kmm_malloc() (or - * kmm_zalloc()). If CONFIG_ARCH_ADDRENV-y, then elfalloc will be allocated using + * If CONFIG_ARCH_ADDRENV=n, elfalloc will be allocated using kmm_malloc() + * (or kmm_zalloc()). + * If CONFIG_ARCH_ADDRENV-y, then elfalloc will be allocated using * up_addrenv_create(). In either case, there will be a unique instance * of elfalloc (and stack) for each instance of a process. * - * The alloc[] array in struct binary_s will hold memory that persists after - * the ELF module has been loaded. + * The alloc[] array in struct binary_s will hold memory that persists + * after the ELF module has been loaded. */ uintptr_t textalloc; /* .text memory allocated when ELF file was loaded */ diff --git a/include/nuttx/binfmt/ieee695.h b/include/nuttx/binfmt/ieee695.h index c30913feab..44e54655e8 100644 --- a/include/nuttx/binfmt/ieee695.h +++ b/include/nuttx/binfmt/ieee695.h @@ -168,6 +168,7 @@ #define IEEE695_COMENT_PASS2 0x01 /* Records generated from Pass 2 of the linker */ /* Standard Functions, Identifiers and Commands *************************************/ + /* Standard functions */ #define IEEE695_FUNC_F 0xa0 @@ -347,6 +348,7 @@ #define IEEE695_SYMCLASS_DEFINE 4 /* C #define constant */ /* Helper Macros ********************************************************************/ + /* These macros extract un-aligned, little-endian values from the object file */ #define IEEE695_GETUINT16(p) \ @@ -441,7 +443,7 @@ extern "C" #endif /************************************************************************************ - * Public Functions + * Public Functions Definitions ************************************************************************************/ #undef EXTERN diff --git a/include/nuttx/binfmt/nxflat.h b/include/nuttx/binfmt/nxflat.h index 7b31fa0a63..c6bd5ab744 100644 --- a/include/nuttx/binfmt/nxflat.h +++ b/include/nuttx/binfmt/nxflat.h @@ -77,8 +77,9 @@ struct nxflat_loadinfo_s /* Data Space (DSpace): This region contains all information that is * referenced as data (other than the stack which is separately allocated). * - * If CONFIG_ARCH_ADDRENV=n, DSpace will be allocated using kmm_malloc() (or - * kmm_zalloc()). If CONFIG_ARCH_ADDRENV-y, then DSpace will be allocated using + * If CONFIG_ARCH_ADDRENV=n, DSpace will be allocated using kmm_malloc() + * (or kmm_zalloc()). + * If CONFIG_ARCH_ADDRENV-y, then DSpace will be allocated using * up_addrenv_create(). In either case, there will be a unique instance * of DSpace (and stack) for each instance of a process. */ @@ -117,7 +118,7 @@ struct nxflat_loadinfo_s }; /**************************************************************************** - * Public Functions + * Public Functions Definitions ****************************************************************************/ #undef EXTERN @@ -243,8 +244,8 @@ int nxflat_read(struct nxflat_loadinfo_s *loadinfo, char *buffer, * Description: * Bind the imported symbol names in the loaded module described by * 'loadinfo' using the exported symbol values provided by 'symtab' - * After binding the module, clear the BSS region (which held the relocation - * data) in preparation for execution. + * After binding the module, clear the BSS region (which held the + * relocation data) in preparation for execution. * * Returned Value: * 0 (OK) is returned on success and a negated errno is returned on diff --git a/include/nuttx/binfmt/symtab.h b/include/nuttx/binfmt/symtab.h index affb7cda17..223bab7a70 100644 --- a/include/nuttx/binfmt/symtab.h +++ b/include/nuttx/binfmt/symtab.h @@ -44,7 +44,7 @@ #include /**************************************************************************** - * Public Functions + * Public Functions Definitions ****************************************************************************/ #undef EXTERN @@ -60,11 +60,13 @@ extern "C" * Name: exec_getsymtab * * Description: - * Get the current application symbol table selection as an atomic operation. + * Get the current application symbol table selection as an atomic + * operation. * * Input Parameters: * symtab - The location to store the symbol table. - * nsymbols - The location to store the number of symbols in the symbol table. + * nsymbols - The location to store the number of symbols in the symbol + * table. * * Returned Value: * None