]>
Commit | Line | Data |
---|---|---|
3127615b | 1 | //\r |
b1d41be7 | 2 | // Copyright (c) 2011-2012, ARM Limited. All rights reserved.\r |
3127615b | 3 | //\r |
4 | // This program and the accompanying materials\r | |
5 | // are licensed and made available under the terms and conditions of the BSD License\r | |
6 | // which accompanies this distribution. The full text of the license may be found at\r | |
7 | // http://opensource.org/licenses/bsd-license.php\r | |
8 | //\r | |
9 | // THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r | |
10 | // WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r | |
11 | //\r | |
12 | //\r | |
13 | \r | |
efda1775 | 14 | INCLUDE AsmMacroExport.inc\r |
81be6e07 | 15 | INCLUDE AsmMacroIoLib.inc\r |
16 | \r | |
3127615b | 17 | \r |
18 | PRESERVE8\r | |
3127615b | 19 | \r |
3127615b | 20 | // IN None\r |
21 | // OUT r0 = SCU Base Address\r | |
efda1775 | 22 | RVCT_ASM_EXPORT ArmGetScuBaseAddress\r |
3127615b | 23 | // Read Configuration Base Address Register. ArmCBar cannot be called to get\r |
24 | // the Configuration BAR as a stack is not necessary setup. The SCU is at the\r | |
25 | // offset 0x0000 from the Private Memory Region.\r | |
26 | mrc p15, 4, r0, c15, c0, 0\r | |
27 | bx lr\r | |
28 | \r | |
3127615b | 29 | END\r |