Changeset fae9d83 in rtems


Ignore:
Timestamp:
May 9, 2007, 3:34:26 PM (13 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
203ed7f
Parents:
2bcd08b
Message:

2007-05-09 Ralf Corsépius <ralf.corsepius@…>

  • porting/miscellaneous.t: Remove subsection on "Optional Endian Conversion Routines", CPU_HAS_OWN_HOST_TO_NETWORK_ROUTINES.
Location:
doc
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • doc/ChangeLog

    r2bcd08b rfae9d83  
     12007-05-09      Ralf Corsépius <ralf.corsepius@rtems.org>
     2
     3        * porting/miscellaneous.t: Remove subsection on "Optional
     4        Endian Conversion Routines", CPU_HAS_OWN_HOST_TO_NETWORK_ROUTINES.
     5
    162007-04-05      Joel Sherrill <joel@OARcorp.com>
    27
  • doc/porting/miscellaneous.t

    r2bcd08b rfae9d83  
    5757#define CPU_LITTLE_ENDIAN                        FALSE
    5858@end example
    59 
    60 @subsection Optional Endian Conversion Routines
    61 
    62 In a networked environment, each program communicating must agree on the
    63 format of data passed between the various systems in the networked
    64 application.  Routines such as @code{ntohl()}
    65 and @code{htonl()} are used to convert
    66 between the common network format and the native format used on this
    67 particular host system.  Although RTEMS has a portable implementation of
    68 these endian conversion routines, it is often possible to implement these
    69 routines more efficiently in a processor specific fashion.
    70 
    71 The @code{CPU_HAS_OWN_HOST_TO_NETWORK_ROUTINES} is set to TRUE when the port
    72 provides its own implementation of the network to host and host to network
    73 family of routines.  This set of routines include the following:
    74 
    75 @itemize @bullet
    76 @item @code{ntohl()}
    77 @item @code{ntohs()}
    78 @item @code{htonl()}
    79 @item @code{htons()}
    80 @end itemize
    81 
    82 The following example illustrates how this macro should be set when the
    83 generic, portable implementation of this family of routines is to be used
    84 by this port:
    85 
    86 @example
    87 #define CPU_HAS_OWN_HOST_TO_NETWORK_ROUTINES FALSE
    88 @end example
    89 
    90 @section Extra Stack for MPCI Receive Thread
    9159
    9260The @code{CPU_MPCI_RECEIVE_SERVER_EXTRA_STACK} macro is set to the amount of
Note: See TracChangeset for help on using the changeset viewer.