diff options
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/porting-guide.rst | 32 | ||||
| -rw-r--r-- | docs/psci-lib-integration-guide.rst | 10 | 
2 files changed, 8 insertions, 34 deletions
| diff --git a/docs/porting-guide.rst b/docs/porting-guide.rst index 65f39b0a..de7b5dba 100644 --- a/docs/porting-guide.rst +++ b/docs/porting-guide.rst @@ -2982,32 +2982,13 @@ contains those C library definitions required by the local implementation. If  more functionality is required, the needed library functions will need to be  added to the local implementation. -Versions of `FreeBSD`_ headers can be found in ``include/lib/stdlib``. Some of -these headers have been cut down in order to simplify the implementation. In -order to minimize changes to the header files, the `FreeBSD`_ layout has been -maintained. The generic C library definitions can be found in -``include/lib/stdlib`` with more system and machine specific declarations in -``include/lib/stdlib/sys`` and ``include/lib/stdlib/machine``. +Some C headers have been obtained from `FreeBSD`_ and `SCC`_, while others have +been written specifically for TF-A. Fome implementation files have been obtained +from `FreeBSD`_, others have been written specifically for TF-A as well. The +files can be found in ``include/lib/libc`` and ``lib/libc``. -The local C library implementations can be found in ``lib/stdlib``. In order to -extend the C library these files may need to be modified. It is recommended to -use a release version of `FreeBSD`_ as a starting point. - -The C library header files in the `FreeBSD`_ source tree are located in the -``include`` and ``sys/sys`` directories. `FreeBSD`_ machine specific definitions -can be found in the ``sys/<machine-type>`` directories. These files define things -like 'the size of a pointer' and 'the range of an integer'. Since an AArch64 -port for `FreeBSD`_ does not yet exist, the machine specific definitions are -based on existing machine types with similar properties (for example SPARC64). - -Where possible, C library function implementations were taken from `FreeBSD`_ -as found in the ``lib/libc`` directory. - -A copy of the `FreeBSD`_ sources can be downloaded with ``git``. - -:: - -    git clone git://github.com/freebsd/freebsd.git -b origin/release/9.2.0 +SCC can be found in `http://www.simple-cc.org/`_. A copy of the `FreeBSD`_ +sources can be obtained from `http://github.com/freebsd/freebsd`_.  Storage abstraction layer  ------------------------- @@ -3082,3 +3063,4 @@ amount of open resources per driver.  .. _Arm Generic Interrupt Controller version 2.0 (GICv2): http://infocenter.arm.com/help/topic/com.arm.doc.ihi0048b/index.html  .. _3.0 (GICv3): http://infocenter.arm.com/help/topic/com.arm.doc.ihi0069b/index.html  .. _FreeBSD: http://www.freebsd.org +.. _SCC: http://www.simple-cc.org/ diff --git a/docs/psci-lib-integration-guide.rst b/docs/psci-lib-integration-guide.rst index 47cbfcc8..d86fc29e 100644 --- a/docs/psci-lib-integration-guide.rst +++ b/docs/psci-lib-integration-guide.rst @@ -319,7 +319,7 @@ and some helper utilities for assert, print and memory operations as listed  below. The TF-A source tree provides implementations for all  these functions but the EL3 Runtime Software may use its own implementation. -**Functions : assert(), memcpy(), memset** +**Functions : assert(), memcpy(), memset(), printf()**  These must be implemented as described in ISO C Standard. @@ -353,14 +353,6 @@ This function invalidates (flushes) the data cache for memory at address  This function will be called by the PSCI library on encountering a critical  failure that cannot be recovered from. This function **must not** return. -**Function : tf\_printf()** - -This is printf-compatible function, but unlike printf, it does not return any -value. The TF-A source tree provides an implementation which -is optimized for stack usage and supports only a subset of format specifiers. -The details of the format specifiers supported can be found in the -``tf_printf.c`` file in the TF-A source tree. -  CPU Context management API  ~~~~~~~~~~~~~~~~~~~~~~~~~~ | 
