diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2007-05-09 15:34:26 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2007-05-09 15:34:26 +0000 |
commit | fae9d83732a754e273524705fbda7dea41b3e2d0 (patch) | |
tree | 90c24e5580894ba4ddfa98bcbd8b6acfd3e23c3d /doc | |
parent | 2007-05-09 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-fae9d83732a754e273524705fbda7dea41b3e2d0.tar.bz2 |
2007-05-09 Ralf Corsépius <ralf.corsepius@rtems.org>
* porting/miscellaneous.t: Remove subsection on "Optional
Endian Conversion Routines", CPU_HAS_OWN_HOST_TO_NETWORK_ROUTINES.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/ChangeLog | 5 | ||||
-rw-r--r-- | doc/porting/miscellaneous.t | 32 |
2 files changed, 5 insertions, 32 deletions
diff --git a/doc/ChangeLog b/doc/ChangeLog index 279af5b8c3..66df517bfa 100644 --- a/doc/ChangeLog +++ b/doc/ChangeLog @@ -1,3 +1,8 @@ +2007-05-09 Ralf Corsépius <ralf.corsepius@rtems.org> + + * porting/miscellaneous.t: Remove subsection on "Optional + Endian Conversion Routines", CPU_HAS_OWN_HOST_TO_NETWORK_ROUTINES. + 2007-04-05 Joel Sherrill <joel@OARcorp.com> * user/example.texi: Change all obsoleted CONFIGURE_TEST_NEEDS_XXX diff --git a/doc/porting/miscellaneous.t b/doc/porting/miscellaneous.t index 38162f8969..5a7d482fe8 100644 --- a/doc/porting/miscellaneous.t +++ b/doc/porting/miscellaneous.t @@ -57,38 +57,6 @@ set on a processor family that is big endian. #define CPU_LITTLE_ENDIAN FALSE @end example -@subsection Optional Endian Conversion Routines - -In a networked environment, each program communicating must agree on the -format of data passed between the various systems in the networked -application. Routines such as @code{ntohl()} -and @code{htonl()} are used to convert -between the common network format and the native format used on this -particular host system. Although RTEMS has a portable implementation of -these endian conversion routines, it is often possible to implement these -routines more efficiently in a processor specific fashion. - -The @code{CPU_HAS_OWN_HOST_TO_NETWORK_ROUTINES} is set to TRUE when the port -provides its own implementation of the network to host and host to network -family of routines. This set of routines include the following: - -@itemize @bullet -@item @code{ntohl()} -@item @code{ntohs()} -@item @code{htonl()} -@item @code{htons()} -@end itemize - -The following example illustrates how this macro should be set when the -generic, portable implementation of this family of routines is to be used -by this port: - -@example -#define CPU_HAS_OWN_HOST_TO_NETWORK_ROUTINES FALSE -@end example - -@section Extra Stack for MPCI Receive Thread - The @code{CPU_MPCI_RECEIVE_SERVER_EXTRA_STACK} macro is set to the amount of stack space above the minimum thread stack space required by the MPCI Receive Server Thread. This macro is needed because in a multiprocessor |