diff --git a/Documentation/NuttXBinfmt.html b/Documentation/NuttXBinfmt.html index 71c5b0a003d..830a05caa3c 100644 --- a/Documentation/NuttXBinfmt.html +++ b/Documentation/NuttXBinfmt.html @@ -8,7 +8,7 @@

NuttX Binary Loader

-

Last Updated: October 30, 2012

+

Last Updated: December 17, 2012

@@ -141,7 +141,7 @@ struct binary_s { /* Information provided to the loader to load and bind a module */ - FAR const char *filename; /* Full path to the binary to be loaded */ + FAR const char *filename; /* Full path to the binary to be loaded1 */ FAR const char **argv; /* Argument list */ FAR const struct symtab_s *exports; /* Table of exported symbols */ int nexports; /* The number of symbols in exports[] */ @@ -164,6 +164,14 @@ struct binary_s }; + + +

+

Where the types binfmt_ctor_t and binfmt_dtor_t define the type of one C++ constructor or destructor:

@@ -175,15 +183,31 @@ typedef FAR void (*binfmt_dtor_t)(void);

2.3 Binary Loader Function Interfaces

+

+ Binary format management: +

+

+ Basic module management: +

+ +

+ PATH traversal logic: +

+

2.3.1 register_binfmt()

@@ -224,7 +248,15 @@ int load_module(FAR struct binary_s *bin);

Description:

Returned Value:

Description:

Input Parameters:

Returned Value:

+

2.3.8 exepath_init()

+

Function Prototype:

+ +

Description:

+ +

Input Parameters: None

+

Returned Value:

+ + +

2.3.9 exepath_next()

+

Function Prototype:

+ +

Description:

+ +

Input Parameters:

+ +

Returned Value:

+ + +

2.3.10- exepath_release()

+

Function Prototype:

+ +

Description:

+ +

Input Parameters:

+ +

Returned Value: None

+
diff --git a/Documentation/NuttxPortingGuide.html b/Documentation/NuttxPortingGuide.html index 0ed46cba166..5361a28665e 100644 --- a/Documentation/NuttxPortingGuide.html +++ b/Documentation/NuttxPortingGuide.html @@ -12,7 +12,7 @@

NuttX RTOS Porting Guide

-

Last Updated: December 11, 2012

+

Last Updated: December 17, 2012

@@ -4163,6 +4163,12 @@ build CONFIG_BINFMT_DISABLE: By default, support for loadable binary formats is built. This logic may be suppressed be defining this setting. +
  • + CONFIG_BINFMT_EXEPATH: Use the contents of the PATH environment variable to locate executable files. Default: n +
  • +
  • + CONFIG_PATH_INITIAL: The initial value of the PATH variable. This is the colon-separated list of absolute paths. E.g., "/bin:/usr/bin:/sbin" +
  • CONFIG_BINFMT_CONSTRUCTORS: Build in support for C++ constructors in loaded modules.