ARM Packages: Removed 'inline' keyword

'inline' keyword is not supported by the C89 (version used by EDK2).

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Olivier Martin <olivier.martin@arm.com>


git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14957 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
Olivier Martin 2013-12-10 16:39:54 +00:00 committed by oliviermartin
parent 62436c2162
commit b2ce4a3961
2 changed files with 6 additions and 6 deletions

View File

@ -25,7 +25,7 @@
#define PALIGN(p, a) ((void *)(ALIGN((unsigned long)(p), (a)))) #define PALIGN(p, a) ((void *)(ALIGN((unsigned long)(p), (a))))
#define GET_CELL(p) (p += 4, *((const UINT32 *)(p-4))) #define GET_CELL(p) (p += 4, *((const UINT32 *)(p-4)))
STATIC inline STATIC
UINTN UINTN
cpu_to_fdtn (UINTN x) { cpu_to_fdtn (UINTN x) {
if (sizeof (UINTN) == sizeof (UINT32)) { if (sizeof (UINTN) == sizeof (UINT32)) {

View File

@ -1,6 +1,6 @@
/** @file /** @file
* *
* Copyright (c) 2011-2012, ARM Limited. All rights reserved. * Copyright (c) 2011-2013, ARM Limited. All rights reserved.
* *
* This program and the accompanying materials * This program and the accompanying materials
* are licensed and made available under the terms and conditions of the BSD License * are licensed and made available under the terms and conditions of the BSD License
@ -36,7 +36,7 @@ EFI_EVENT EfiExitBootServicesEvent = (EFI_EVENT)NULL;
i.e. it inhibits all writes to avoid rogue software accidentally i.e. it inhibits all writes to avoid rogue software accidentally
corrupting their contents. corrupting their contents.
**/ **/
inline STATIC
VOID VOID
SP805Unlock ( SP805Unlock (
VOID VOID
@ -54,7 +54,7 @@ SP805Unlock (
i.e. it inhibits all writes to avoid rogue software accidentally i.e. it inhibits all writes to avoid rogue software accidentally
corrupting their contents. corrupting their contents.
**/ **/
inline STATIC
VOID VOID
SP805Lock ( SP805Lock (
VOID VOID
@ -69,7 +69,7 @@ SP805Lock (
/** /**
Stop the SP805 watchdog timer from counting down by disabling interrupts. Stop the SP805 watchdog timer from counting down by disabling interrupts.
**/ **/
inline STATIC
VOID VOID
SP805Stop ( SP805Stop (
VOID VOID
@ -86,7 +86,7 @@ SP805Stop (
The count down will start from the value stored in the Load register, The count down will start from the value stored in the Load register,
not from the value where it was previously stopped. not from the value where it was previously stopped.
**/ **/
inline STATIC
VOID VOID
SP805Start ( SP805Start (
VOID VOID