From 345e9ec8d7b7bf5a95db48bf03bf65cbdd84f141 Mon Sep 17 00:00:00 2001 From: patacongo Date: Sat, 1 Sep 2012 15:33:33 +0000 Subject: [PATCH] Separate CVS parsing logic from tools/mksyscall.c; Create tools/mksymtab.c to create symbol tables from CSV files git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5075 42af7a65-404d-4744-a932-0658087f49c3 --- Documentation/NuttXDemandPaging.html | 1 - Documentation/NuttXNxFlat.html | 61 ++++++++++++++++++++++------ 2 files changed, 49 insertions(+), 13 deletions(-) diff --git a/Documentation/NuttXDemandPaging.html b/Documentation/NuttXDemandPaging.html index c238161a82..082edd21b7 100644 --- a/Documentation/NuttXDemandPaging.html +++ b/Documentation/NuttXDemandPaging.html @@ -8,7 +8,6 @@

On-Demand Paging

-

>>> Under Construction <<<

Last Updated: August 12, 2010

diff --git a/Documentation/NuttXNxFlat.html b/Documentation/NuttXNxFlat.html index e6923a8bcb..8fab8fed16 100644 --- a/Documentation/NuttXNxFlat.html +++ b/Documentation/NuttXNxFlat.html @@ -9,8 +9,7 @@

NXFLAT

-

>>> Under Construction <<<

-

Last Updated: June 29, 2012

+

Last Updated: September 1, 2012

@@ -90,7 +89,13 @@
- 1.4 Making an NXFLAT module + 1.4 mksymtab + + + +
+ + 1.5 Making an NXFLAT module @@ -122,7 +127,7 @@

1.0 Overview

-f +

1.1 Functionality

@@ -386,7 +391,41 @@ any following arguments. debug output is enabled [Default: no verbose output]. -

1.4 Making an NXFLAT module

+

1.4 mksymtab

+ +

+ There is a small helper program available in nuttx/tools call mksymtab. + mksymtab can be sued to generate symbol tables for the NuttX base code that would be usable by the typical NXFLAT application. + mksymtab builds symbol tables from common-separated value (CSV) files. + In particular, the CSV files: +

+
    +
  1. + nuttx/syscall/syscall.csv that describes the NuttX RTOS interface, and +
  2. +
  3. + nuttx/lib/lib/csv that describes the NuttX C library interface. +
  4. +
+ +

+ For example, +

+ + +

1.5 Making an NXFLAT module

Below is a snippet from an NXFLAT make file (simplified from NuttX @@ -639,8 +678,7 @@ any following arguments.

@@ -652,8 +690,7 @@ any following arguments.