]> git.droids-corp.org - dpdk.git/commitdiff
doc: no more bare metal environment
authorThomas Monjalon <thomas.monjalon@6wind.com>
Thu, 27 Nov 2014 10:02:11 +0000 (11:02 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Thu, 27 Nov 2014 12:10:03 +0000 (13:10 +0100)
Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>
doc/guides/prog_guide/dev_kit_build_system.rst
doc/guides/sample_app_ug/cmd_line.rst
doc/guides/sample_app_ug/hello_world.rst
doc/guides/sample_app_ug/l3_forward_power_man.rst
doc/guides/sample_app_ug/quota_watermark.rst
doc/guides/testpmd_app_ug/testpmd_funcs.rst

index 4981688d64fc9960f4dbe5a7f1fe35efacab0980..d5ee9943f90379c7a5e20e824637eb8dfe99073b 100644 (file)
@@ -300,7 +300,7 @@ Misc
 
 *   rte.doc.mk: Documentation in the development kit framework
 
-*   rte.gnuconfigure.mk: Build an application that is configure-based (used to compile *newlib*).
+*   rte.gnuconfigure.mk: Build an application that is configure-based.
 
 *   rte.subdir.mk: Build several directories in the development kit framework.
 
index dadd32d96653d5f41fa17d214c2514b6c762491a..0a0ea41171889dcaabaf5df65430adecf274f23e 100644 (file)
@@ -114,7 +114,7 @@ This is achieved as follows:
 
 .. code-block:: c
 
-    int MAIN(int argc, char **argv)
+    int main(int argc, char **argv)
     {
         ret = rte_eal_init(argc, argv);
         if (ret < 0)
index 22702b91dbdba7fad82e3a757897a2c331c7f7a4..3213ba81167d34eb8627510e8812d23ae134881f 100644 (file)
@@ -85,7 +85,7 @@ This is done in the main() function using the following code:
 
     int
 
-    MAIN(int argc, char **argv)
+    main(int argc, char **argv)
 
     {
         ret = rte_eal_init(argc, argv);
index f02c3480dec651f3368650769daa073b5fd9458f..3a93a6b4e92b4620d046aa847ba4b32ac6e3a856 100644 (file)
@@ -165,7 +165,7 @@ The following sections describe aspects that are specific to the L3 Forwarding w
 Power Library Initialization
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
-The Power library is initialized in the MAIN routine.
+The Power library is initialized in the main routine.
 It changes the P-state governor to userspace for specific cores that are under control.
 The Timer library is also initialized and several timers are created later on,
 responsible for checking if it needs to scale down frequency at run time by checking CPU utilization statistics.
@@ -176,7 +176,7 @@ responsible for checking if it needs to scale down frequency at run time by chec
 
 .. code-block:: c
 
-    int MAIN(int argc, char **argv)
+    int main(int argc, char **argv)
     {
         struct lcore_conf *qconf;
         int ret;
index c44b0b813769279f7088390d5423a6c3bdc2a521..6f537ae99f06004d872d04891078adf73dee8b9e 100644 (file)
@@ -182,7 +182,7 @@ Core Application - qw
 EAL and Drivers Setup
 ^^^^^^^^^^^^^^^^^^^^^
 
-The EAL arguments are parsed at the beginning of the MAIN() function:
+The EAL arguments are parsed at the beginning of the main() function:
 
 .. code-block:: c
 
@@ -236,7 +236,7 @@ The quota and low_watermark shared variables are put into an rte_memzone using a
         low_watermark = (unsigned int *) qw_memzone->addr + sizeof(int);
    }
 
-These two variables are initialized to a default value in MAIN() and
+These two variables are initialized to a default value in main() and
 can be changed while qw is running using the qwctl control program.
 
 Application Arguments
index 93fd3d4fea94ba8a339e34998f576db4793b75d0..5e62ff9e77bdeb003ad106edaeed4eb3b0c43e74 100644 (file)
@@ -103,7 +103,7 @@ stop
 quit
 ~~~~
 
-Quit to prompt in Linux or reboot on Baremetal:
+Quit to prompt:
 
 quit