summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
62436c2)
'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
#define PALIGN(p, a) ((void *)(ALIGN((unsigned long)(p), (a))))\r
#define GET_CELL(p) (p += 4, *((const UINT32 *)(p-4)))\r
\r
#define PALIGN(p, a) ((void *)(ALIGN((unsigned long)(p), (a))))\r
#define GET_CELL(p) (p += 4, *((const UINT32 *)(p-4)))\r
\r
UINTN\r
cpu_to_fdtn (UINTN x) {\r
if (sizeof (UINTN) == sizeof (UINT32)) {\r
UINTN\r
cpu_to_fdtn (UINTN x) {\r
if (sizeof (UINTN) == sizeof (UINT32)) {\r
-* Copyright (c) 2011-2012, ARM Limited. All rights reserved.\r
+* Copyright (c) 2011-2013, ARM Limited. All rights reserved.\r
*\r
* This program and the accompanying materials\r
* are licensed and made available under the terms and conditions of the BSD License\r
*\r
* This program and the accompanying materials\r
* are licensed and made available under the terms and conditions of the BSD License\r
i.e. it inhibits all writes to avoid rogue software accidentally\r
corrupting their contents.\r
**/\r
i.e. it inhibits all writes to avoid rogue software accidentally\r
corrupting their contents.\r
**/\r
VOID\r
SP805Unlock (\r
VOID\r
VOID\r
SP805Unlock (\r
VOID\r
i.e. it inhibits all writes to avoid rogue software accidentally\r
corrupting their contents.\r
**/\r
i.e. it inhibits all writes to avoid rogue software accidentally\r
corrupting their contents.\r
**/\r
VOID\r
SP805Lock (\r
VOID\r
VOID\r
SP805Lock (\r
VOID\r
/**\r
Stop the SP805 watchdog timer from counting down by disabling interrupts.\r
**/\r
/**\r
Stop the SP805 watchdog timer from counting down by disabling interrupts.\r
**/\r
VOID\r
SP805Stop (\r
VOID\r
VOID\r
SP805Stop (\r
VOID\r
The count down will start from the value stored in the Load register,\r
not from the value where it was previously stopped.\r
**/\r
The count down will start from the value stored in the Load register,\r
not from the value where it was previously stopped.\r
**/\r
VOID\r
SP805Start (\r
VOID\r
VOID\r
SP805Start (\r
VOID\r