author | andy simpson <andrews@symbian.org> |
Wed, 14 Jul 2010 11:58:55 +0100 | |
branch | RCL_3 |
changeset 204 | e6321f0e0e6b |
parent 198 | 2bb754abd467 |
permissions | -rw-r--r-- |
198
2bb754abd467
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
1 |
// Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). |
2bb754abd467
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
2 |
// All rights reserved. |
2bb754abd467
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
3 |
// This component and the accompanying materials are made available |
2bb754abd467
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
4 |
// under the terms of the License "Eclipse Public License v1.0" |
2bb754abd467
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
5 |
// which accompanies this distribution, and is available |
2bb754abd467
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
6 |
// at the URL "http://www.eclipse.org/legal/epl-v10.html". |
0 | 7 |
// |
198
2bb754abd467
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
8 |
// Initial Contributors: |
2bb754abd467
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
9 |
// Nokia Corporation - initial contribution. |
2bb754abd467
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
10 |
// |
2bb754abd467
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
11 |
// Contributors: |
2bb754abd467
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
12 |
// |
2bb754abd467
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
13 |
// Description: |
2bb754abd467
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
14 |
// hal/src/hal_gcc_shim.cia |
2bb754abd467
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
15 |
// |
0 | 16 |
// HAL_GCC_SHIM.CIA - generated by GENSHIMSRC.BAT |
17 |
// |
|
18 |
||
19 |
#include <e32def.h> |
|
20 |
#include <e32const.h> |
|
21 |
#include <cpudefs.h> |
|
22 |
||
23 |
||
24 |
EXPORT_C __NAKED__ int export_at_ordinal_1() |
|
25 |
// |
|
26 |
// HAL::Get(HALData::TAttribute, int &) |
|
27 |
// |
|
28 |
{ |
|
29 |
asm("stmfd sp!, {r4,lr} "); |
|
30 |
asm("mov r4, sp "); |
|
31 |
asm("bic sp, sp, #4 "); |
|
32 |
asm("bl _ZN3HAL3GetEN7HALData10TAttributeERi "); |
|
33 |
asm("mov sp, r4 "); |
|
34 |
asm("ldmfd sp!, {r4,pc} "); |
|
35 |
} |
|
36 |
||
37 |
||
38 |
EXPORT_C __NAKED__ int export_at_ordinal_2() |
|
39 |
// |
|
40 |
// HAL::Set(HALData::TAttribute, int) |
|
41 |
// |
|
42 |
{ |
|
43 |
asm("stmfd sp!, {r4,lr} "); |
|
44 |
asm("mov r4, sp "); |
|
45 |
asm("bic sp, sp, #4 "); |
|
46 |
asm("bl _ZN3HAL3SetEN7HALData10TAttributeEi "); |
|
47 |
asm("mov sp, r4 "); |
|
48 |
asm("ldmfd sp!, {r4,pc} "); |
|
49 |
} |
|
50 |
||
51 |
||
52 |
EXPORT_C __NAKED__ int export_at_ordinal_3() |
|
53 |
// |
|
54 |
// HAL::GetAll(int &, HAL::SEntry *&) |
|
55 |
// |
|
56 |
{ |
|
57 |
asm("stmfd sp!, {r4,lr} "); |
|
58 |
asm("mov r4, sp "); |
|
59 |
asm("bic sp, sp, #4 "); |
|
60 |
asm("bl _ZN3HAL6GetAllERiRPNS_6SEntryE "); |
|
61 |
asm("mov sp, r4 "); |
|
62 |
asm("ldmfd sp!, {r4,pc} "); |
|
63 |
} |
|
64 |