<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bcm63xx/atf/lib/semihosting, branch master</title>
<subtitle>Broadcom-s Trusted Firmware A</subtitle>
<id>https://git.openwrt.org/project/bcm63xx/atf/atom?h=master</id>
<link rel='self' href='https://git.openwrt.org/project/bcm63xx/atf/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/atf/'/>
<updated>2019-04-01T09:43:42Z</updated>
<entry>
<title>Remove several warnings reported with W=2</title>
<updated>2019-04-01T09:43:42Z</updated>
<author>
<name>Ambroise Vincent</name>
</author>
<published>2019-02-14T09:48:21Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/atf/commit/?id=bde2836fcc23e8cb98dfa0250937e6d771b260b7'/>
<id>urn:sha1:bde2836fcc23e8cb98dfa0250937e6d771b260b7</id>
<content type='text'>
Improved support for W=2 compilation flag by solving some nested-extern
and sign-compare warnings.

The libraries are compiling with warnings (which turn into errors with
the Werror flag).

Outside of libraries, some warnings cannot be fixed.

Change-Id: I06b1923857f2a6a50e93d62d0274915b268cef05
Signed-off-by: Ambroise Vincent &lt;ambroise.vincent@arm.com&gt;
</content>
</entry>
<entry>
<title>Sanitise includes across codebase</title>
<updated>2019-01-04T10:43:17Z</updated>
<author>
<name>Antonio Nino Diaz</name>
</author>
<published>2018-12-14T00:18:21Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/atf/commit/?id=09d40e0e08283a249e7dce0e106c07c5141f9b7e'/>
<id>urn:sha1:09d40e0e08283a249e7dce0e106c07c5141f9b7e</id>
<content type='text'>
Enforce full include path for includes. Deprecate old paths.

The following folders inside include/lib have been left unchanged:

- include/lib/cpus/${ARCH}
- include/lib/el3_runtime/${ARCH}

The reason for this change is that having a global namespace for
includes isn't a good idea. It defeats one of the advantages of having
folders and it introduces problems that are sometimes subtle (because
you may not know the header you are actually including if there are two
of them).

For example, this patch had to be created because two headers were
called the same way: e0ea0928d5b7 ("Fix gpio includes of mt8173 platform
to avoid collision."). More recently, this patch has had similar
problems: 46f9b2c3a282 ("drivers: add tzc380 support").

This problem was introduced in commit 4ecca33988b9 ("Move include and
source files to logical locations"). At that time, there weren't too
many headers so it wasn't a real issue. However, time has shown that
this creates problems.

Platforms that want to preserve the way they include headers may add the
removed paths to PLAT_INCLUDES, but this is discouraged.

Change-Id: I39dc53ed98f9e297a5966e723d1936d6ccf2fc8f
Signed-off-by: Antonio Nino Diaz &lt;antonio.ninodiaz@arm.com&gt;
</content>
</entry>
<entry>
<title>Use SPDX license identifiers</title>
<updated>2017-05-03T08:39:28Z</updated>
<author>
<name>dp-arm</name>
</author>
<published>2017-05-03T08:38:09Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/atf/commit/?id=82cb2c1ad9897473743f08437d0a3995bed561b9'/>
<id>urn:sha1:82cb2c1ad9897473743f08437d0a3995bed561b9</id>
<content type='text'>
To make software license auditing simpler, use SPDX[0] license
identifiers instead of duplicating the license text in every file.

NOTE: Files that have been imported by FreeBSD have not been modified.

[0]: https://spdx.org/

Change-Id: I80a00e1f641b8cc075ca5a95b10607ed9ed8761a
Signed-off-by: dp-arm &lt;dimitris.papastamos@arm.com&gt;
</content>
</entry>
<entry>
<title>AArch32: Common changes needed for BL1/BL2</title>
<updated>2016-09-21T15:27:15Z</updated>
<author>
<name>Yatharth Kochar</name>
</author>
<published>2016-06-28T15:58:26Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/atf/commit/?id=1a0a3f0622e4b569513304109d9a0d093b71228a'/>
<id>urn:sha1:1a0a3f0622e4b569513304109d9a0d093b71228a</id>
<content type='text'>
This patch adds common changes to support AArch32 state in
BL1 and BL2. Following are the changes:

* Added functions for disabling MMU from Secure state.
* Added AArch32 specific SMC function.
* Added semihosting support.
* Added reporting of unhandled exceptions.
* Added uniprocessor stack support.
* Added `el3_entrypoint_common` macro that can be
  shared by BL1 and BL32 (SP_MIN) BL stages. The
  `el3_entrypoint_common` is similar to the AArch64
  counterpart with the main difference in the assembly
  instructions and the registers that are relevant to
  AArch32 execution state.
* Enabled `LOAD_IMAGE_V2` flag in Makefile for
  `ARCH=aarch32` and added check to make sure that
  platform has not overridden to disable it.

Change-Id: I33c6d8dfefb2e5d142fdfd06a0f4a7332962e1a3
</content>
</entry>
<entry>
<title>Fix bug in semihosting write function</title>
<updated>2015-07-16T19:36:41Z</updated>
<author>
<name>Juan Castillo</name>
</author>
<published>2015-07-07T14:36:33Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/atf/commit/?id=31833aff6802a4b5bdc3b7007ce8b1871991e796'/>
<id>urn:sha1:31833aff6802a4b5bdc3b7007ce8b1871991e796</id>
<content type='text'>
The return value from the SYS_WRITE semihosting operation is 0 if
the call is successful or the number of bytes not written, if there
is an error. The implementation of the write function in the
semihosting driver treats the return value as the number of bytes
written, which is wrong. This patch fixes it.

Change-Id: Id39dac3d17b5eac557408b8995abe90924c85b85
</content>
</entry>
<entry>
<title>Add support to indicate size and end of assembly functions</title>
<updated>2015-04-08T12:02:59Z</updated>
<author>
<name>Kévin Petit</name>
</author>
<published>2015-03-24T14:03:57Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/atf/commit/?id=8b779620d3bad024b83650ecfeaafd7b3ae26ccf'/>
<id>urn:sha1:8b779620d3bad024b83650ecfeaafd7b3ae26ccf</id>
<content type='text'>
In order for the symbol table in the ELF file to contain the size of
functions written in assembly, it is necessary to report it to the
assembler using the .size directive.

To fulfil the above requirements, this patch introduces an 'endfunc'
macro which contains the .endfunc and .size directives. It also adds
a .func directive to the 'func' assembler macro.

The .func/.endfunc have been used so the assembler can fail if
endfunc is omitted.

Fixes ARM-Software/tf-issues#295

Change-Id: If8cb331b03d7f38fe7e3694d4de26f1075b278fc
Signed-off-by: Kévin Petit &lt;kevin.petit@arm.com&gt;
</content>
</entry>
<entry>
<title>Remove extern keyword from function declarations</title>
<updated>2014-05-23T11:15:54Z</updated>
<author>
<name>Dan Handley</name>
</author>
<published>2014-05-14T11:38:32Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/atf/commit/?id=c6bc071020baebc660fc94390b50bc240e34c0a3'/>
<id>urn:sha1:c6bc071020baebc660fc94390b50bc240e34c0a3</id>
<content type='text'>
Function declarations implicitly have external linkage so do not
need the extern keyword.

Change-Id: Ia0549786796d8bf5956487e8996450a0b3d79f32
</content>
</entry>
<entry>
<title>Remove variables from .data section</title>
<updated>2014-05-06T16:55:38Z</updated>
<author>
<name>Dan Handley</name>
</author>
<published>2014-04-23T12:47:06Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/atf/commit/?id=625de1d4f04b30383354bee944d0a7ca3dba1e67'/>
<id>urn:sha1:625de1d4f04b30383354bee944d0a7ca3dba1e67</id>
<content type='text'>
Update code base to remove variables from the .data section,
mainly by using const static data where possible and adding
the const specifier as required. Most changes are to the IO
subsystem, including the framework APIs. The FVP power
management code is also affected.

Delay initialization of the global static variable,
next_image_type in bl31_main.c, until it is realy needed.
Doing this moves the variable from the .data to the .bss
section.

Also review the IO interface for inconsistencies, using
uintptr_t where possible instead of void *. Remove the
io_handle and io_dev_handle typedefs, which were
unnecessary, replacing instances with uintptr_t.

Fixes ARM-software/tf-issues#107.

Change-Id: I085a62197c82410b566e4698e5590063563ed304
</content>
</entry>
<entry>
<title>Reduce deep nesting of header files</title>
<updated>2014-05-06T12:57:48Z</updated>
<author>
<name>Dan Handley</name>
</author>
<published>2014-04-09T12:14:54Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/atf/commit/?id=97043ac98e13a726dbf8b3b41654dca759e3da2c'/>
<id>urn:sha1:97043ac98e13a726dbf8b3b41654dca759e3da2c</id>
<content type='text'>
Reduce the number of header files included from other header
files as much as possible without splitting the files. Use forward
declarations where possible. This allows removal of some unnecessary
"#ifndef __ASSEMBLY__" statements.

Also, review the .c and .S files for which header files really need
including and reorder the #include statements alphabetically.

Fixes ARM-software/tf-issues#31

Change-Id: Iec92fb976334c77453e010b60bcf56f3be72bd3e
</content>
</entry>
<entry>
<title>Always use named structs in header files</title>
<updated>2014-05-06T12:57:48Z</updated>
<author>
<name>Dan Handley</name>
</author>
<published>2014-04-10T14:37:22Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/atf/commit/?id=fb037bfb7cbf7b404c069b4ebac5a10059d948b1'/>
<id>urn:sha1:fb037bfb7cbf7b404c069b4ebac5a10059d948b1</id>
<content type='text'>
Add tag names to all unnamed structs in header files. This
allows forward declaration of structs, which is necessary to
reduce header file nesting (to be implemented in a subsequent
commit).

Also change the typedef names across the codebase to use the _t
suffix to be more conformant with the Linux coding style. The
coding style actually prefers us not to use typedefs at all but
this is considered a step too far for Trusted Firmware.

Also change the IO framework structs defintions to use typedef'd
structs to be consistent with the rest of the codebase.

Change-Id: I722b2c86fc0d92e4da3b15e5cab20373dd26786f
</content>
</entry>
</feed>
