bsp: a9: modified assembly function definition for iccarm

This patch modifies xpseudo_asm_iccarm.h to fix the compilation
when dsb, isb and dmb is used by modifying for correct
function definitions

Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
Acked-by: Anirudha Sarangi <anirudh@xilinx.com>
This commit is contained in:
Kinjal Pravinbhai Patel 2015-10-09 12:44:56 +05:30 committed by Nava kishore Manne
parent e33bf1144a
commit 9f455efaa1
2 changed files with 6 additions and 3 deletions

View file

@ -246,4 +246,6 @@
* defined for BSP) because XilOpenAMP library contains own file operation.
* The xil-crt0.S file is modified for not initializing global timer for
* OpenAMP application as it might be already in use by master CPU
* 5.3 pkp 10/09/15 Modified cortexa9/iccarm/xpseudo_asm_iccarm.h file to change function
* definition for dsb, isb and dmb to fix the compilation error when used
*****************************************************************************************/

View file

@ -44,6 +44,7 @@
* ----- -------- -------- -----------------------------------------------
* 1.00a ecm/sdm 10/28/09 First release
* 3.12a asa 11/02/13 Removed the macro mfcpsr to make it a function.
* 5.3 pkp 10/09/15 Modified dsb, dmb and isb definitions
* </pre>
*
******************************************************************************/
@ -99,13 +100,13 @@ extern "C" {
/* memory synchronization operations */
/* Instruction Synchronization Barrier */
#define isb() __asm volatile ("isb" : : : "memory")
#define isb() void __ISB(void);
/* Data Synchronization Barrier */
#define dsb() __asm volatile ("dsb" : : : "memory")
#define dsb() void __DSB(void);
/* Data Memory Barrier */
#define dmb() __asm volatile ("dmb" : : : "memory")
#define dmb() void __DMB(void);
/* Memory Operations */