]>
Commit | Line | Data |
---|---|---|
2ef2b01e A |
1 | //------------------------------------------------------------------------------ |
2 | // | |
d6ebcab7 | 3 | // Copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR> |
2ef2b01e | 4 | // |
d6ebcab7 | 5 | // This program and the accompanying materials |
2ef2b01e A |
6 | // are licensed and made available under the terms and conditions of the BSD License |
7 | // which accompanies this distribution. The full text of the license may be found at | |
8 | // http://opensource.org/licenses/bsd-license.php | |
9 | // | |
10 | // THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, | |
11 | // WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. | |
12 | // | |
13 | //------------------------------------------------------------------------------ | |
14 | ||
15 | ||
16 | EXPORT __aeabi_uwrite4 | |
17 | ||
18 | AREA Uwrite4, CODE, READONLY | |
19 | ||
20 | ; | |
21 | ;UINT32 | |
22 | ;EFIAPI | |
23 | ;__aeabi_uwrite4 ( | |
24 | ; IN UINT32 Data, | |
25 | ; IN VOID *Pointer | |
26 | ; ); | |
27 | ; | |
28 | ; | |
29 | __aeabi_uwrite4 | |
30 | mov r2, r0, lsr #8 | |
31 | strb r0, [r1] | |
32 | strb r2, [r1, #1] | |
33 | mov r2, r0, lsr #16 | |
34 | strb r2, [r1, #2] | |
35 | mov r2, r0, lsr #24 | |
36 | strb r2, [r1, #3] | |
37 | bx lr | |
38 | ||
39 | END | |
40 |