Update contrib.
1 // Copyright (c) 1995-2009 Nokia Corporation and/or its subsidiary(-ies).
2 // All rights reserved.
3 // This component and the accompanying materials are made available
4 // under the terms of the License "Eclipse Public License v1.0"
5 // which accompanies this distribution, and is available
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
14 // e32\euser\epoc\arm\uc_std.h
18 #if !defined(__UCSTD_H__)
24 #define _CBASE_VPTR_OFFSET_ 0
26 #define _VTBL_INIT_SPARE_ 8
27 #define _CBASE_DESTRUCT_OFFSET_ (_VTBL_INIT_SPARE_)
28 #define _CBASE_VTBL_SIZE_ (_VTBL_INIT_SPARE_+8)
29 #define _CACTIVESCHEDULER_WAIT_OFFSET_ (_CBASE_VTBL_SIZE_)
30 #define _CACTIVESCHEDULER_ERROR_OFFSET_ (_CBASE_VTBL_SIZE_+4)
31 #define _CACTIVESCHEDULER_VTBL_SIZE_ (_CBASE_VTBL_SIZE_+24)
32 #define _CACTIVE_DOCANCEL_OFFSET_ (_CBASE_VTBL_SIZE_)
33 #define _CACTIVE_RUNL_OFFSET_ (_CBASE_VTBL_SIZE_+4)
34 #define _CACTIVE_RUNERROR_OFFSET_ (_CBASE_VTBL_SIZE_+8)
35 #define _CACTIVE_VTBL_SIZE_ (_CBASE_VTBL_SIZE_+12)
36 #define _CSESSION_CREATEL_OFFSET_ (_CBASE_VTBL_SIZE_)
37 #define _CSESSION_COUNT_OFFSET_ (_CBASE_VTBL_SIZE_+4)
38 #define _CSESSION_SERVICEL_OFFSET_ (_CBASE_VTBL_SIZE_+8)
39 #define _CSESSION2_SERVICEL_OFFSET_ (_CBASE_VTBL_SIZE_+8)
40 #define _TTRAPHANDLER_VPTR_OFFSET_ 0
41 #define _TTRAPHANDLER_TRAP_OFFSET_ 8
42 #define _TTRAPHANDLER_LEAVE_OFFSET_ 16
44 #elif defined(__EABI__)
46 #define _CBASE_VPTR_OFFSET_ 0
47 #define _CBASE_DESTRUCT_OFFSET_ 4
49 #define _CBASE_VTBL_SIZE_ 12
50 #define _CACTIVESCHEDULER_WAIT_OFFSET_ (_CBASE_VTBL_SIZE_)
51 #define _CACTIVESCHEDULER_ERROR_OFFSET_ (_CBASE_VTBL_SIZE_+4) // *
53 #define _CACTIVE_DOCANCEL_OFFSET_ (_CBASE_VTBL_SIZE_) // *
54 #define _CACTIVE_RUNL_OFFSET_ (_CBASE_VTBL_SIZE_+4) // *
55 #define _CACTIVE_RUNERROR_OFFSET_ (_CBASE_VTBL_SIZE_+8) // *
56 #define _CACTIVE_VTBL_SIZE_ (_CBASE_VTBL_SIZE_+12)
57 #define _CSESSION_CREATEL_OFFSET_ (_CBASE_VTBL_SIZE_)
58 #define _CSESSION_COUNT_OFFSET_ (_CBASE_VTBL_SIZE_+4)
59 #define _CSESSION_SERVICEL_OFFSET_ (_CBASE_VTBL_SIZE_+8) // *
60 #define _CSESSION2_SERVICEL_OFFSET_ (_CBASE_VTBL_SIZE_+8) // *
63 #define _TTRAPHANDLER_VPTR_OFFSET_ 0
64 #define _TTRAPHANDLER_TRAP_OFFSET_ 0
65 #define _TTRAPHANDLER_LEAVE_OFFSET_ 8