Skip to content

Commit bd7b0a6

Browse files
committed
Documentation.
1 parent 6f90da8 commit bd7b0a6

File tree

9 files changed

+469
-34
lines changed

9 files changed

+469
-34
lines changed

main-page.cpp

Lines changed: 445 additions & 0 deletions
Large diffs are not rendered by default.

rld-compression.h

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -86,42 +86,47 @@ namespace rld
8686
*
8787
* @param data Write the decompressed data here.
8888
* @param length The mount of data in bytes to read.
89+
* @return size_t The amount of data read.
8990
*/
9091
size_t read (void* data, size_t length);
9192

9293
/**
9394
* Read the decompressed data writing it to the image.
9495
*
95-
* @param output The output image.
96+
* @param output_ The output image.
9697
* @param offset The output image offset to write from.
9798
* @param length The mount of data in bytes to read.
99+
* @return size_t The amount of data read.
98100
*/
99101
size_t read (files::image& output_, off_t offset, size_t length);
100102

101103
/**
102104
* Read the decompressed data writing it to the image.
103105
*
104-
* @param output The output image.
106+
* @param output_ The output image.
105107
* @param length The mount of data in bytes to read.
108+
* @return size_t The amount of data read.
106109
*/
107110
size_t read (files::image& output_, size_t length);
108111

109112
/**
110113
* The amount of uncompressed data transferred.
111114
*
112-
* @param return size_t The amount of data tranferred.
115+
* @return size_t The amount of data tranferred.
113116
*/
114117
size_t transferred () const;
115118

116119
/**
117120
* The amount of compressed data transferred.
118121
*
119-
* @param return size_t The amount of compressed data tranferred.
122+
* @return size_t The amount of compressed data tranferred.
120123
*/
121124
size_t compressed () const;
122125

123126
/**
124127
* The current offset in the stream.
128+
*
129+
* @return off_t The current uncompressed offset.
125130
*/
126131
off_t offset () const;
127132

rld-elf.h

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ namespace rld
4949
/**
5050
* Construct a relocation record.
5151
*
52+
* @param sym The symbol the relocation references.
5253
* @param offset The offset in the section the relocation applies to.
5354
* @param info The relocation info.
5455
* @param addend The constant addend value.
@@ -385,6 +386,7 @@ namespace rld
385386
* @param offset The offet to segment.
386387
* @param filesz The segment size in the file.
387388
* @param memsz The segment size in memory.
389+
* @param align The segment alignment.
388390
* @param vaddr The virtual address in memory.
389391
* @param paddr The physical address if any.
390392
*/
@@ -555,12 +557,12 @@ namespace rld
555557
* Get a filtered container of symbols given the various types. If the
556558
* symbols are not loaded they are loaded.
557559
*
558-
* @param filter_syms The filtered symbols found in the file. This is a
559-
* container of pointers.
560+
* @param filtered_syms The filtered symbols found in the file. This is a
561+
* container of pointers.
562+
* @param unresolved Return unresolved symbols.
560563
* @param local Return local symbols.
561564
* @param weak Return weak symbols.
562565
* @param global Return global symbols.
563-
* @param unresolved Return unresolved symbols.
564566
*/
565567
void get_symbols (rld::symbols::pointers& filtered_syms,
566568
bool unresolved = false,

rld-files.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ namespace rld
273273
/**
274274
* Construct the image.
275275
*
276-
* @param name The file path.
276+
* @param path The file path.
277277
* @param is_object If true (default) the name is for an object file.
278278
*/
279279
image (const std::string& path, bool is_object = true);
@@ -712,7 +712,7 @@ namespace rld
712712
* flags. The filtered section container is not cleared so any matching
713713
* sections are appended.
714714
*
715-
* @param filter_secs The container of the matching sections.
715+
* @param filtered_secs The container of the matching sections.
716716
* @param type The section type. Must match. If 0 matches any.
717717
* @param flags_in The sections flags that must be set. This is a
718718
* mask. If 0 matches any.
@@ -729,7 +729,7 @@ namespace rld
729729
* filtered section container is not cleared so any matching sections are
730730
* appended.
731731
*
732-
* @param filter_secs The container of the matching sections.
732+
* @param filtered_secs The container of the matching sections.
733733
* @param name The name of the section.
734734
*/
735735
void get_sections (sections& filtered_secs, const std::string& name);
@@ -865,7 +865,7 @@ namespace rld
865865
* Load the symbols into the symbol table.
866866
*
867867
* @param symbols The symbol table to load.
868-
* @param local Include local symbols. The default is not to.
868+
* @param locals Include local symbols. The default does not include them.
869869
*/
870870
void load_symbols (symbols::table& symbols, bool locals = false);
871871

rld-outputter.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ namespace rld
103103
* @param dependents The list of dependent object files
104104
* @param cache The file cache for the link. Includes the object list
105105
* the user requested.
106+
* @param symbols The symbol table used to resolve the application.
106107
*/
107108
void application (const std::string& name,
108109
const std::string& entry,

rld-rap.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ namespace rld
7272
*
7373
* @param app The application image to write too.
7474
* @param init The application's initialisation entry point.
75-
* @param exit The application's finish entry point .
75+
* @param fini The application's finish entry point .
7676
* @param objects The list of object files in the application.
7777
* @param symbols The symbol table used to create the application.
7878
*/

rtems-utils.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,11 @@ namespace rtems
3333
* Hex display memory.
3434
*
3535
* @param addr The address of the memory to display.
36-
* @param mem The actual memory to display. If 0 use addr.
3736
* @param length The number of elements to display.
3837
* @param size The size of the data element.
3938
* @param real Use the real address based on addr.
4039
* @param line_length Number of elements per line.
40+
* @param offset The printed offset.
4141
*/
4242
void dump (const void* addr,
4343
size_t length,

rtl-host.conf

Lines changed: 2 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -502,12 +502,6 @@ MAX_INITIALIZER_LINES = 30
502502

503503
SHOW_USED_FILES = YES
504504

505-
# If the sources in your project are distributed over multiple directories
506-
# then setting the SHOW_DIRECTORIES tag to YES will show the directory hierarchy
507-
# in the documentation. The default is NO.
508-
509-
SHOW_DIRECTORIES = NO
510-
511505
# Set the SHOW_FILES tag to NO to disable the generation of the Files page.
512506
# This will remove the Files entry from the Quick Index and from the
513507
# Folder Tree View (if specified). The default is YES.
@@ -868,12 +862,6 @@ HTML_COLORSTYLE_GAMMA = 80
868862

869863
HTML_TIMESTAMP = YES
870864

871-
# If the HTML_ALIGN_MEMBERS tag is set to YES, the members of classes,
872-
# files or namespaces will be aligned in HTML using tables. If set to
873-
# NO a bullet list will be used.
874-
875-
HTML_ALIGN_MEMBERS = YES
876-
877865
# If the HTML_DYNAMIC_SECTIONS tag is set to YES then the generated HTML
878866
# documentation will contain sections that can be hidden and shown after the
879867
# page has loaded. For this to work a browser that supports
@@ -961,7 +949,7 @@ BINARY_TOC = NO
961949
# The TOC_EXPAND flag can be set to YES to add extra items for group members
962950
# to the contents of the HTML help documentation and to the tree view.
963951

964-
TOC_EXPAND = NO
952+
TOC_EXPAND = YES
965953

966954
# If the GENERATE_QHP tag is set to YES and both QHP_NAMESPACE and
967955
# QHP_VIRTUAL_FOLDER are set, an additional index file will be generated
@@ -1053,12 +1041,7 @@ ENUM_VALUES_PER_LINE = 4
10531041
# JavaScript, DHTML, CSS and frames is required (i.e. any modern browser).
10541042
# Windows users are probably better off using the HTML help feature.
10551043

1056-
GENERATE_TREEVIEW = NO
1057-
1058-
# By enabling USE_INLINE_TREES, doxygen will generate the Groups, Directories,
1059-
# and Class Hierarchy pages using a tree view instead of an ordered list.
1060-
1061-
USE_INLINE_TREES = NO
1044+
GENERATE_TREEVIEW = YES
10621045

10631046
# If the treeview is enabled (see GENERATE_TREEVIEW) then this tag can be
10641047
# used to set the initial width (in pixels) of the frame in which the tree

wscript

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,7 @@ def build(bld):
6060
#
6161
if bld.cmd == 'doxy':
6262
bld(features = 'doxygen',
63-
doxyfile = 'rtl-host.conf',
64-
doxy_tar = 'rtl-host-docs.tar.bz2')
63+
doxyfile = 'rtl-host.conf')
6564
return
6665

6766
if bld.env.SHOW_COMMANDS == 'yes':

0 commit comments

Comments
 (0)