mirror of https://github.com/acidanthera/audk.git
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:
parent
62436c2162
commit
b2ce4a3961
|
@ -25,7 +25,7 @@
|
|||
#define PALIGN(p, a) ((void *)(ALIGN((unsigned long)(p), (a))))
|
||||
#define GET_CELL(p) (p += 4, *((const UINT32 *)(p-4)))
|
||||
|
||||
STATIC inline
|
||||
STATIC
|
||||
UINTN
|
||||
cpu_to_fdtn (UINTN x) {
|
||||
if (sizeof (UINTN) == sizeof (UINT32)) {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/** @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
|
||||
* 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
|
||||
corrupting their contents.
|
||||
**/
|
||||
inline
|
||||
STATIC
|
||||
VOID
|
||||
SP805Unlock (
|
||||
VOID
|
||||
|
@ -54,7 +54,7 @@ SP805Unlock (
|
|||
i.e. it inhibits all writes to avoid rogue software accidentally
|
||||
corrupting their contents.
|
||||
**/
|
||||
inline
|
||||
STATIC
|
||||
VOID
|
||||
SP805Lock (
|
||||
VOID
|
||||
|
@ -69,7 +69,7 @@ SP805Lock (
|
|||
/**
|
||||
Stop the SP805 watchdog timer from counting down by disabling interrupts.
|
||||
**/
|
||||
inline
|
||||
STATIC
|
||||
VOID
|
||||
SP805Stop (
|
||||
VOID
|
||||
|
@ -86,7 +86,7 @@ SP805Stop (
|
|||
The count down will start from the value stored in the Load register,
|
||||
not from the value where it was previously stopped.
|
||||
**/
|
||||
inline
|
||||
STATIC
|
||||
VOID
|
||||
SP805Start (
|
||||
VOID
|
||||
|
|
Loading…
Reference in New Issue