os/kernelhwsrv/kernel/eka/euser/epoc/arm/uc_std.h
author sl
Tue, 10 Jun 2014 14:32:02 +0200
changeset 1 260cb5ec6c19
permissions -rw-r--r--
Update contrib.
sl@0
     1
// Copyright (c) 1995-2009 Nokia Corporation and/or its subsidiary(-ies).
sl@0
     2
// All rights reserved.
sl@0
     3
// This component and the accompanying materials are made available
sl@0
     4
// under the terms of the License "Eclipse Public License v1.0"
sl@0
     5
// which accompanies this distribution, and is available
sl@0
     6
// at the URL "http://www.eclipse.org/legal/epl-v10.html".
sl@0
     7
//
sl@0
     8
// Initial Contributors:
sl@0
     9
// Nokia Corporation - initial contribution.
sl@0
    10
//
sl@0
    11
// Contributors:
sl@0
    12
//
sl@0
    13
// Description:
sl@0
    14
// e32\euser\epoc\arm\uc_std.h
sl@0
    15
// 
sl@0
    16
//
sl@0
    17
sl@0
    18
#if !defined(__UCSTD_H__)
sl@0
    19
#define __UCSTD_H__
sl@0
    20
#include <e32def.h>
sl@0
    21
sl@0
    22
#ifdef __GCC32__
sl@0
    23
sl@0
    24
#define	_CBASE_VPTR_OFFSET_				0
sl@0
    25
sl@0
    26
#define	_VTBL_INIT_SPARE_				8
sl@0
    27
#define _CBASE_DESTRUCT_OFFSET_			(_VTBL_INIT_SPARE_)
sl@0
    28
#define	_CBASE_VTBL_SIZE_				(_VTBL_INIT_SPARE_+8)
sl@0
    29
#define	_CACTIVESCHEDULER_WAIT_OFFSET_	(_CBASE_VTBL_SIZE_)
sl@0
    30
#define _CACTIVESCHEDULER_ERROR_OFFSET_	(_CBASE_VTBL_SIZE_+4)
sl@0
    31
#define _CACTIVESCHEDULER_VTBL_SIZE_	(_CBASE_VTBL_SIZE_+24)
sl@0
    32
#define	_CACTIVE_DOCANCEL_OFFSET_		(_CBASE_VTBL_SIZE_)
sl@0
    33
#define	_CACTIVE_RUNL_OFFSET_			(_CBASE_VTBL_SIZE_+4)
sl@0
    34
#define	_CACTIVE_RUNERROR_OFFSET_		(_CBASE_VTBL_SIZE_+8)
sl@0
    35
#define _CACTIVE_VTBL_SIZE_				(_CBASE_VTBL_SIZE_+12)
sl@0
    36
#define _CSESSION_CREATEL_OFFSET_		(_CBASE_VTBL_SIZE_)
sl@0
    37
#define _CSESSION_COUNT_OFFSET_			(_CBASE_VTBL_SIZE_+4)
sl@0
    38
#define	_CSESSION_SERVICEL_OFFSET_		(_CBASE_VTBL_SIZE_+8)
sl@0
    39
#define	_CSESSION2_SERVICEL_OFFSET_		(_CBASE_VTBL_SIZE_+8)
sl@0
    40
#define _TTRAPHANDLER_VPTR_OFFSET_		0
sl@0
    41
#define _TTRAPHANDLER_TRAP_OFFSET_		8
sl@0
    42
#define _TTRAPHANDLER_LEAVE_OFFSET_		16
sl@0
    43
sl@0
    44
#elif defined(__EABI__)
sl@0
    45
sl@0
    46
#define	_CBASE_VPTR_OFFSET_				0
sl@0
    47
#define _CBASE_DESTRUCT_OFFSET_			        4
sl@0
    48
sl@0
    49
#define	_CBASE_VTBL_SIZE_				12
sl@0
    50
#define	_CACTIVESCHEDULER_WAIT_OFFSET_	(_CBASE_VTBL_SIZE_) 
sl@0
    51
#define _CACTIVESCHEDULER_ERROR_OFFSET_	(_CBASE_VTBL_SIZE_+4) // *
sl@0
    52
sl@0
    53
#define	_CACTIVE_DOCANCEL_OFFSET_		(_CBASE_VTBL_SIZE_) // *
sl@0
    54
#define	_CACTIVE_RUNL_OFFSET_			(_CBASE_VTBL_SIZE_+4) // *
sl@0
    55
#define	_CACTIVE_RUNERROR_OFFSET_		(_CBASE_VTBL_SIZE_+8) // *
sl@0
    56
#define _CACTIVE_VTBL_SIZE_				(_CBASE_VTBL_SIZE_+12)
sl@0
    57
#define _CSESSION_CREATEL_OFFSET_		(_CBASE_VTBL_SIZE_)
sl@0
    58
#define _CSESSION_COUNT_OFFSET_			(_CBASE_VTBL_SIZE_+4)
sl@0
    59
#define	_CSESSION_SERVICEL_OFFSET_		(_CBASE_VTBL_SIZE_+8) // *
sl@0
    60
#define	_CSESSION2_SERVICEL_OFFSET_		(_CBASE_VTBL_SIZE_+8) // *
sl@0
    61
sl@0
    62
sl@0
    63
#define _TTRAPHANDLER_VPTR_OFFSET_		0
sl@0
    64
#define _TTRAPHANDLER_TRAP_OFFSET_		0
sl@0
    65
#define _TTRAPHANDLER_LEAVE_OFFSET_		8
sl@0
    66
#endif
sl@0
    67
sl@0
    68
#endif