vghwinterface/vghwapiwrapper/inc/platformtypes.h
author Matt Plumtree <matt.plumtree@nokia.com>
Wed, 06 Oct 2010 17:59:01 +0100
branchbug235_bringup_0
changeset 53 c2ef9095503a
parent 10 hostsupport/hostthreadadapter/inc/platformtypes.h@cd3ce1b777ef
child 71 243bbc1d70db
permissions -rw-r--r--
Copy code from the holdingarea into the target locations. Some initial rework of CMakeLists.txt files, but not yet tested.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
10
cd3ce1b777ef bug235_bringup_0 - virtualvideohwinterface.cpp dynamic buffer handling update. Register handling update. Support for static videomemory (platsim). hostsupport/hostthreadadapter/ win32text plugin end of line changes.
Jani Hyvonen<jani.hyvonen@nokia.com>
parents: 6
diff changeset
     1
// Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
cd3ce1b777ef bug235_bringup_0 - virtualvideohwinterface.cpp dynamic buffer handling update. Register handling update. Support for static videomemory (platsim). hostsupport/hostthreadadapter/ win32text plugin end of line changes.
Jani Hyvonen<jani.hyvonen@nokia.com>
parents: 6
diff changeset
     2
// All rights reserved.
cd3ce1b777ef bug235_bringup_0 - virtualvideohwinterface.cpp dynamic buffer handling update. Register handling update. Support for static videomemory (platsim). hostsupport/hostthreadadapter/ win32text plugin end of line changes.
Jani Hyvonen<jani.hyvonen@nokia.com>
parents: 6
diff changeset
     3
// This component and the accompanying materials are made available
cd3ce1b777ef bug235_bringup_0 - virtualvideohwinterface.cpp dynamic buffer handling update. Register handling update. Support for static videomemory (platsim). hostsupport/hostthreadadapter/ win32text plugin end of line changes.
Jani Hyvonen<jani.hyvonen@nokia.com>
parents: 6
diff changeset
     4
// under the terms of "Eclipse Public License v1.0"
cd3ce1b777ef bug235_bringup_0 - virtualvideohwinterface.cpp dynamic buffer handling update. Register handling update. Support for static videomemory (platsim). hostsupport/hostthreadadapter/ win32text plugin end of line changes.
Jani Hyvonen<jani.hyvonen@nokia.com>
parents: 6
diff changeset
     5
// which accompanies this distribution, and is available
cd3ce1b777ef bug235_bringup_0 - virtualvideohwinterface.cpp dynamic buffer handling update. Register handling update. Support for static videomemory (platsim). hostsupport/hostthreadadapter/ win32text plugin end of line changes.
Jani Hyvonen<jani.hyvonen@nokia.com>
parents: 6
diff changeset
     6
// at the URL "http://www.eclipse.org/legal/epl-v10.html".
cd3ce1b777ef bug235_bringup_0 - virtualvideohwinterface.cpp dynamic buffer handling update. Register handling update. Support for static videomemory (platsim). hostsupport/hostthreadadapter/ win32text plugin end of line changes.
Jani Hyvonen<jani.hyvonen@nokia.com>
parents: 6
diff changeset
     7
//
cd3ce1b777ef bug235_bringup_0 - virtualvideohwinterface.cpp dynamic buffer handling update. Register handling update. Support for static videomemory (platsim). hostsupport/hostthreadadapter/ win32text plugin end of line changes.
Jani Hyvonen<jani.hyvonen@nokia.com>
parents: 6
diff changeset
     8
// Initial Contributors:
cd3ce1b777ef bug235_bringup_0 - virtualvideohwinterface.cpp dynamic buffer handling update. Register handling update. Support for static videomemory (platsim). hostsupport/hostthreadadapter/ win32text plugin end of line changes.
Jani Hyvonen<jani.hyvonen@nokia.com>
parents: 6
diff changeset
     9
// Nokia Corporation - initial contribution.
cd3ce1b777ef bug235_bringup_0 - virtualvideohwinterface.cpp dynamic buffer handling update. Register handling update. Support for static videomemory (platsim). hostsupport/hostthreadadapter/ win32text plugin end of line changes.
Jani Hyvonen<jani.hyvonen@nokia.com>
parents: 6
diff changeset
    10
//
cd3ce1b777ef bug235_bringup_0 - virtualvideohwinterface.cpp dynamic buffer handling update. Register handling update. Support for static videomemory (platsim). hostsupport/hostthreadadapter/ win32text plugin end of line changes.
Jani Hyvonen<jani.hyvonen@nokia.com>
parents: 6
diff changeset
    11
// Contributors:
cd3ce1b777ef bug235_bringup_0 - virtualvideohwinterface.cpp dynamic buffer handling update. Register handling update. Support for static videomemory (platsim). hostsupport/hostthreadadapter/ win32text plugin end of line changes.
Jani Hyvonen<jani.hyvonen@nokia.com>
parents: 6
diff changeset
    12
//
cd3ce1b777ef bug235_bringup_0 - virtualvideohwinterface.cpp dynamic buffer handling update. Register handling update. Support for static videomemory (platsim). hostsupport/hostthreadadapter/ win32text plugin end of line changes.
Jani Hyvonen<jani.hyvonen@nokia.com>
parents: 6
diff changeset
    13
// Description:
cd3ce1b777ef bug235_bringup_0 - virtualvideohwinterface.cpp dynamic buffer handling update. Register handling update. Support for static videomemory (platsim). hostsupport/hostthreadadapter/ win32text plugin end of line changes.
Jani Hyvonen<jani.hyvonen@nokia.com>
parents: 6
diff changeset
    14
// Cross platform types
cd3ce1b777ef bug235_bringup_0 - virtualvideohwinterface.cpp dynamic buffer handling update. Register handling update. Support for static videomemory (platsim). hostsupport/hostthreadadapter/ win32text plugin end of line changes.
Jani Hyvonen<jani.hyvonen@nokia.com>
parents: 6
diff changeset
    15
cd3ce1b777ef bug235_bringup_0 - virtualvideohwinterface.cpp dynamic buffer handling update. Register handling update. Support for static videomemory (platsim). hostsupport/hostthreadadapter/ win32text plugin end of line changes.
Jani Hyvonen<jani.hyvonen@nokia.com>
parents: 6
diff changeset
    16
#ifndef PSU_PLATFORMTYPES_H
cd3ce1b777ef bug235_bringup_0 - virtualvideohwinterface.cpp dynamic buffer handling update. Register handling update. Support for static videomemory (platsim). hostsupport/hostthreadadapter/ win32text plugin end of line changes.
Jani Hyvonen<jani.hyvonen@nokia.com>
parents: 6
diff changeset
    17
#define PSU_PLATFORMTYPES_H
cd3ce1b777ef bug235_bringup_0 - virtualvideohwinterface.cpp dynamic buffer handling update. Register handling update. Support for static videomemory (platsim). hostsupport/hostthreadadapter/ win32text plugin end of line changes.
Jani Hyvonen<jani.hyvonen@nokia.com>
parents: 6
diff changeset
    18
cd3ce1b777ef bug235_bringup_0 - virtualvideohwinterface.cpp dynamic buffer handling update. Register handling update. Support for static videomemory (platsim). hostsupport/hostthreadadapter/ win32text plugin end of line changes.
Jani Hyvonen<jani.hyvonen@nokia.com>
parents: 6
diff changeset
    19
#include <limits.h>
cd3ce1b777ef bug235_bringup_0 - virtualvideohwinterface.cpp dynamic buffer handling update. Register handling update. Support for static videomemory (platsim). hostsupport/hostthreadadapter/ win32text plugin end of line changes.
Jani Hyvonen<jani.hyvonen@nokia.com>
parents: 6
diff changeset
    20
cd3ce1b777ef bug235_bringup_0 - virtualvideohwinterface.cpp dynamic buffer handling update. Register handling update. Support for static videomemory (platsim). hostsupport/hostthreadadapter/ win32text plugin end of line changes.
Jani Hyvonen<jani.hyvonen@nokia.com>
parents: 6
diff changeset
    21
cd3ce1b777ef bug235_bringup_0 - virtualvideohwinterface.cpp dynamic buffer handling update. Register handling update. Support for static videomemory (platsim). hostsupport/hostthreadadapter/ win32text plugin end of line changes.
Jani Hyvonen<jani.hyvonen@nokia.com>
parents: 6
diff changeset
    22
#ifdef WIN32
cd3ce1b777ef bug235_bringup_0 - virtualvideohwinterface.cpp dynamic buffer handling update. Register handling update. Support for static videomemory (platsim). hostsupport/hostthreadadapter/ win32text plugin end of line changes.
Jani Hyvonen<jani.hyvonen@nokia.com>
parents: 6
diff changeset
    23
#define DllExport   __declspec( dllexport )
cd3ce1b777ef bug235_bringup_0 - virtualvideohwinterface.cpp dynamic buffer handling update. Register handling update. Support for static videomemory (platsim). hostsupport/hostthreadadapter/ win32text plugin end of line changes.
Jani Hyvonen<jani.hyvonen@nokia.com>
parents: 6
diff changeset
    24
#else  // LINUX
cd3ce1b777ef bug235_bringup_0 - virtualvideohwinterface.cpp dynamic buffer handling update. Register handling update. Support for static videomemory (platsim). hostsupport/hostthreadadapter/ win32text plugin end of line changes.
Jani Hyvonen<jani.hyvonen@nokia.com>
parents: 6
diff changeset
    25
#define DllExport
cd3ce1b777ef bug235_bringup_0 - virtualvideohwinterface.cpp dynamic buffer handling update. Register handling update. Support for static videomemory (platsim). hostsupport/hostthreadadapter/ win32text plugin end of line changes.
Jani Hyvonen<jani.hyvonen@nokia.com>
parents: 6
diff changeset
    26
#endif
cd3ce1b777ef bug235_bringup_0 - virtualvideohwinterface.cpp dynamic buffer handling update. Register handling update. Support for static videomemory (platsim). hostsupport/hostthreadadapter/ win32text plugin end of line changes.
Jani Hyvonen<jani.hyvonen@nokia.com>
parents: 6
diff changeset
    27
cd3ce1b777ef bug235_bringup_0 - virtualvideohwinterface.cpp dynamic buffer handling update. Register handling update. Support for static videomemory (platsim). hostsupport/hostthreadadapter/ win32text plugin end of line changes.
Jani Hyvonen<jani.hyvonen@nokia.com>
parents: 6
diff changeset
    28
cd3ce1b777ef bug235_bringup_0 - virtualvideohwinterface.cpp dynamic buffer handling update. Register handling update. Support for static videomemory (platsim). hostsupport/hostthreadadapter/ win32text plugin end of line changes.
Jani Hyvonen<jani.hyvonen@nokia.com>
parents: 6
diff changeset
    29
#ifdef WIN32
cd3ce1b777ef bug235_bringup_0 - virtualvideohwinterface.cpp dynamic buffer handling update. Register handling update. Support for static videomemory (platsim). hostsupport/hostthreadadapter/ win32text plugin end of line changes.
Jani Hyvonen<jani.hyvonen@nokia.com>
parents: 6
diff changeset
    30
cd3ce1b777ef bug235_bringup_0 - virtualvideohwinterface.cpp dynamic buffer handling update. Register handling update. Support for static videomemory (platsim). hostsupport/hostthreadadapter/ win32text plugin end of line changes.
Jani Hyvonen<jani.hyvonen@nokia.com>
parents: 6
diff changeset
    31
#if !defined(__STDC_CONSTANT_MACROS) && !defined(HAVE_STDINT_H)
cd3ce1b777ef bug235_bringup_0 - virtualvideohwinterface.cpp dynamic buffer handling update. Register handling update. Support for static videomemory (platsim). hostsupport/hostthreadadapter/ win32text plugin end of line changes.
Jani Hyvonen<jani.hyvonen@nokia.com>
parents: 6
diff changeset
    32
#define __STDC_CONSTANT_MACROS
cd3ce1b777ef bug235_bringup_0 - virtualvideohwinterface.cpp dynamic buffer handling update. Register handling update. Support for static videomemory (platsim). hostsupport/hostthreadadapter/ win32text plugin end of line changes.
Jani Hyvonen<jani.hyvonen@nokia.com>
parents: 6
diff changeset
    33
    /*  MSVC++ does not have the standard header <stdint.h>, so we need to
cd3ce1b777ef bug235_bringup_0 - virtualvideohwinterface.cpp dynamic buffer handling update. Register handling update. Support for static videomemory (platsim). hostsupport/hostthreadadapter/ win32text plugin end of line changes.
Jani Hyvonen<jani.hyvonen@nokia.com>
parents: 6
diff changeset
    34
        write here all the declarations that <stdint.h> shall contain */
cd3ce1b777ef bug235_bringup_0 - virtualvideohwinterface.cpp dynamic buffer handling update. Register handling update. Support for static videomemory (platsim). hostsupport/hostthreadadapter/ win32text plugin end of line changes.
Jani Hyvonen<jani.hyvonen@nokia.com>
parents: 6
diff changeset
    35
#ifndef HAVE_INT8_T
cd3ce1b777ef bug235_bringup_0 - virtualvideohwinterface.cpp dynamic buffer handling update. Register handling update. Support for static videomemory (platsim). hostsupport/hostthreadadapter/ win32text plugin end of line changes.
Jani Hyvonen<jani.hyvonen@nokia.com>
parents: 6
diff changeset
    36
#define HAVE_INT8_T 1
cd3ce1b777ef bug235_bringup_0 - virtualvideohwinterface.cpp dynamic buffer handling update. Register handling update. Support for static videomemory (platsim). hostsupport/hostthreadadapter/ win32text plugin end of line changes.
Jani Hyvonen<jani.hyvonen@nokia.com>
parents: 6
diff changeset
    37
    typedef signed __int8         int8_t;
cd3ce1b777ef bug235_bringup_0 - virtualvideohwinterface.cpp dynamic buffer handling update. Register handling update. Support for static videomemory (platsim). hostsupport/hostthreadadapter/ win32text plugin end of line changes.
Jani Hyvonen<jani.hyvonen@nokia.com>
parents: 6
diff changeset
    38
#endif
cd3ce1b777ef bug235_bringup_0 - virtualvideohwinterface.cpp dynamic buffer handling update. Register handling update. Support for static videomemory (platsim). hostsupport/hostthreadadapter/ win32text plugin end of line changes.
Jani Hyvonen<jani.hyvonen@nokia.com>
parents: 6
diff changeset
    39
#ifndef HAVE_INT16_T
cd3ce1b777ef bug235_bringup_0 - virtualvideohwinterface.cpp dynamic buffer handling update. Register handling update. Support for static videomemory (platsim). hostsupport/hostthreadadapter/ win32text plugin end of line changes.
Jani Hyvonen<jani.hyvonen@nokia.com>
parents: 6
diff changeset
    40
#define HAVE_INT16_T 1
cd3ce1b777ef bug235_bringup_0 - virtualvideohwinterface.cpp dynamic buffer handling update. Register handling update. Support for static videomemory (platsim). hostsupport/hostthreadadapter/ win32text plugin end of line changes.
Jani Hyvonen<jani.hyvonen@nokia.com>
parents: 6
diff changeset
    41
    typedef signed __int16        int16_t;
cd3ce1b777ef bug235_bringup_0 - virtualvideohwinterface.cpp dynamic buffer handling update. Register handling update. Support for static videomemory (platsim). hostsupport/hostthreadadapter/ win32text plugin end of line changes.
Jani Hyvonen<jani.hyvonen@nokia.com>
parents: 6
diff changeset
    42
#endif
cd3ce1b777ef bug235_bringup_0 - virtualvideohwinterface.cpp dynamic buffer handling update. Register handling update. Support for static videomemory (platsim). hostsupport/hostthreadadapter/ win32text plugin end of line changes.
Jani Hyvonen<jani.hyvonen@nokia.com>
parents: 6
diff changeset
    43
#ifndef HAVE_INT32_T
cd3ce1b777ef bug235_bringup_0 - virtualvideohwinterface.cpp dynamic buffer handling update. Register handling update. Support for static videomemory (platsim). hostsupport/hostthreadadapter/ win32text plugin end of line changes.
Jani Hyvonen<jani.hyvonen@nokia.com>
parents: 6
diff changeset
    44
#define HAVE_INT32_T 1
cd3ce1b777ef bug235_bringup_0 - virtualvideohwinterface.cpp dynamic buffer handling update. Register handling update. Support for static videomemory (platsim). hostsupport/hostthreadadapter/ win32text plugin end of line changes.
Jani Hyvonen<jani.hyvonen@nokia.com>
parents: 6
diff changeset
    45
    typedef signed __int32        int32_t;
cd3ce1b777ef bug235_bringup_0 - virtualvideohwinterface.cpp dynamic buffer handling update. Register handling update. Support for static videomemory (platsim). hostsupport/hostthreadadapter/ win32text plugin end of line changes.
Jani Hyvonen<jani.hyvonen@nokia.com>
parents: 6
diff changeset
    46
#endif
cd3ce1b777ef bug235_bringup_0 - virtualvideohwinterface.cpp dynamic buffer handling update. Register handling update. Support for static videomemory (platsim). hostsupport/hostthreadadapter/ win32text plugin end of line changes.
Jani Hyvonen<jani.hyvonen@nokia.com>
parents: 6
diff changeset
    47
#ifndef HAVE_INT64_T
cd3ce1b777ef bug235_bringup_0 - virtualvideohwinterface.cpp dynamic buffer handling update. Register handling update. Support for static videomemory (platsim). hostsupport/hostthreadadapter/ win32text plugin end of line changes.
Jani Hyvonen<jani.hyvonen@nokia.com>
parents: 6
diff changeset
    48
#define HAVE_INT64_T 1
cd3ce1b777ef bug235_bringup_0 - virtualvideohwinterface.cpp dynamic buffer handling update. Register handling update. Support for static videomemory (platsim). hostsupport/hostthreadadapter/ win32text plugin end of line changes.
Jani Hyvonen<jani.hyvonen@nokia.com>
parents: 6
diff changeset
    49
    typedef signed __int64        int64_t;
cd3ce1b777ef bug235_bringup_0 - virtualvideohwinterface.cpp dynamic buffer handling update. Register handling update. Support for static videomemory (platsim). hostsupport/hostthreadadapter/ win32text plugin end of line changes.
Jani Hyvonen<jani.hyvonen@nokia.com>
parents: 6
diff changeset
    50
#endif
cd3ce1b777ef bug235_bringup_0 - virtualvideohwinterface.cpp dynamic buffer handling update. Register handling update. Support for static videomemory (platsim). hostsupport/hostthreadadapter/ win32text plugin end of line changes.
Jani Hyvonen<jani.hyvonen@nokia.com>
parents: 6
diff changeset
    51
#ifndef HAVE_U_INT8_T
cd3ce1b777ef bug235_bringup_0 - virtualvideohwinterface.cpp dynamic buffer handling update. Register handling update. Support for static videomemory (platsim). hostsupport/hostthreadadapter/ win32text plugin end of line changes.
Jani Hyvonen<jani.hyvonen@nokia.com>
parents: 6
diff changeset
    52
#define HAVE_U_INT8_T 1
cd3ce1b777ef bug235_bringup_0 - virtualvideohwinterface.cpp dynamic buffer handling update. Register handling update. Support for static videomemory (platsim). hostsupport/hostthreadadapter/ win32text plugin end of line changes.
Jani Hyvonen<jani.hyvonen@nokia.com>
parents: 6
diff changeset
    53
    typedef unsigned __int8     uint8_t;
cd3ce1b777ef bug235_bringup_0 - virtualvideohwinterface.cpp dynamic buffer handling update. Register handling update. Support for static videomemory (platsim). hostsupport/hostthreadadapter/ win32text plugin end of line changes.
Jani Hyvonen<jani.hyvonen@nokia.com>
parents: 6
diff changeset
    54
    typedef unsigned __int8     u_int8_t;
cd3ce1b777ef bug235_bringup_0 - virtualvideohwinterface.cpp dynamic buffer handling update. Register handling update. Support for static videomemory (platsim). hostsupport/hostthreadadapter/ win32text plugin end of line changes.
Jani Hyvonen<jani.hyvonen@nokia.com>
parents: 6
diff changeset
    55
#endif
cd3ce1b777ef bug235_bringup_0 - virtualvideohwinterface.cpp dynamic buffer handling update. Register handling update. Support for static videomemory (platsim). hostsupport/hostthreadadapter/ win32text plugin end of line changes.
Jani Hyvonen<jani.hyvonen@nokia.com>
parents: 6
diff changeset
    56
#ifndef HAVE_U_INT16_T
cd3ce1b777ef bug235_bringup_0 - virtualvideohwinterface.cpp dynamic buffer handling update. Register handling update. Support for static videomemory (platsim). hostsupport/hostthreadadapter/ win32text plugin end of line changes.
Jani Hyvonen<jani.hyvonen@nokia.com>
parents: 6
diff changeset
    57
#define HAVE_U_INT16_T 1
cd3ce1b777ef bug235_bringup_0 - virtualvideohwinterface.cpp dynamic buffer handling update. Register handling update. Support for static videomemory (platsim). hostsupport/hostthreadadapter/ win32text plugin end of line changes.
Jani Hyvonen<jani.hyvonen@nokia.com>
parents: 6
diff changeset
    58
    typedef unsigned __int16    uint16_t;
cd3ce1b777ef bug235_bringup_0 - virtualvideohwinterface.cpp dynamic buffer handling update. Register handling update. Support for static videomemory (platsim). hostsupport/hostthreadadapter/ win32text plugin end of line changes.
Jani Hyvonen<jani.hyvonen@nokia.com>
parents: 6
diff changeset
    59
    typedef unsigned __int16    u_int16_t;
cd3ce1b777ef bug235_bringup_0 - virtualvideohwinterface.cpp dynamic buffer handling update. Register handling update. Support for static videomemory (platsim). hostsupport/hostthreadadapter/ win32text plugin end of line changes.
Jani Hyvonen<jani.hyvonen@nokia.com>
parents: 6
diff changeset
    60
#endif
cd3ce1b777ef bug235_bringup_0 - virtualvideohwinterface.cpp dynamic buffer handling update. Register handling update. Support for static videomemory (platsim). hostsupport/hostthreadadapter/ win32text plugin end of line changes.
Jani Hyvonen<jani.hyvonen@nokia.com>
parents: 6
diff changeset
    61
#ifndef HAVE_U_INT32_T
cd3ce1b777ef bug235_bringup_0 - virtualvideohwinterface.cpp dynamic buffer handling update. Register handling update. Support for static videomemory (platsim). hostsupport/hostthreadadapter/ win32text plugin end of line changes.
Jani Hyvonen<jani.hyvonen@nokia.com>
parents: 6
diff changeset
    62
#define HAVE_U_INT32_T 1
cd3ce1b777ef bug235_bringup_0 - virtualvideohwinterface.cpp dynamic buffer handling update. Register handling update. Support for static videomemory (platsim). hostsupport/hostthreadadapter/ win32text plugin end of line changes.
Jani Hyvonen<jani.hyvonen@nokia.com>
parents: 6
diff changeset
    63
    typedef unsigned __int32    uint32_t;
cd3ce1b777ef bug235_bringup_0 - virtualvideohwinterface.cpp dynamic buffer handling update. Register handling update. Support for static videomemory (platsim). hostsupport/hostthreadadapter/ win32text plugin end of line changes.
Jani Hyvonen<jani.hyvonen@nokia.com>
parents: 6
diff changeset
    64
    typedef unsigned __int32    u_int32_t;
cd3ce1b777ef bug235_bringup_0 - virtualvideohwinterface.cpp dynamic buffer handling update. Register handling update. Support for static videomemory (platsim). hostsupport/hostthreadadapter/ win32text plugin end of line changes.
Jani Hyvonen<jani.hyvonen@nokia.com>
parents: 6
diff changeset
    65
#endif
cd3ce1b777ef bug235_bringup_0 - virtualvideohwinterface.cpp dynamic buffer handling update. Register handling update. Support for static videomemory (platsim). hostsupport/hostthreadadapter/ win32text plugin end of line changes.
Jani Hyvonen<jani.hyvonen@nokia.com>
parents: 6
diff changeset
    66
#ifndef HAVE_U_INT64_T
cd3ce1b777ef bug235_bringup_0 - virtualvideohwinterface.cpp dynamic buffer handling update. Register handling update. Support for static videomemory (platsim). hostsupport/hostthreadadapter/ win32text plugin end of line changes.
Jani Hyvonen<jani.hyvonen@nokia.com>
parents: 6
diff changeset
    67
#define HAVE_U_INT64_T 1
cd3ce1b777ef bug235_bringup_0 - virtualvideohwinterface.cpp dynamic buffer handling update. Register handling update. Support for static videomemory (platsim). hostsupport/hostthreadadapter/ win32text plugin end of line changes.
Jani Hyvonen<jani.hyvonen@nokia.com>
parents: 6
diff changeset
    68
    typedef unsigned __int64    uint64_t;
cd3ce1b777ef bug235_bringup_0 - virtualvideohwinterface.cpp dynamic buffer handling update. Register handling update. Support for static videomemory (platsim). hostsupport/hostthreadadapter/ win32text plugin end of line changes.
Jani Hyvonen<jani.hyvonen@nokia.com>
parents: 6
diff changeset
    69
    typedef unsigned __int64    u_int64_t;
cd3ce1b777ef bug235_bringup_0 - virtualvideohwinterface.cpp dynamic buffer handling update. Register handling update. Support for static videomemory (platsim). hostsupport/hostthreadadapter/ win32text plugin end of line changes.
Jani Hyvonen<jani.hyvonen@nokia.com>
parents: 6
diff changeset
    70
#endif
cd3ce1b777ef bug235_bringup_0 - virtualvideohwinterface.cpp dynamic buffer handling update. Register handling update. Support for static videomemory (platsim). hostsupport/hostthreadadapter/ win32text plugin end of line changes.
Jani Hyvonen<jani.hyvonen@nokia.com>
parents: 6
diff changeset
    71
cd3ce1b777ef bug235_bringup_0 - virtualvideohwinterface.cpp dynamic buffer handling update. Register handling update. Support for static videomemory (platsim). hostsupport/hostthreadadapter/ win32text plugin end of line changes.
Jani Hyvonen<jani.hyvonen@nokia.com>
parents: 6
diff changeset
    72
cd3ce1b777ef bug235_bringup_0 - virtualvideohwinterface.cpp dynamic buffer handling update. Register handling update. Support for static videomemory (platsim). hostsupport/hostthreadadapter/ win32text plugin end of line changes.
Jani Hyvonen<jani.hyvonen@nokia.com>
parents: 6
diff changeset
    73
cd3ce1b777ef bug235_bringup_0 - virtualvideohwinterface.cpp dynamic buffer handling update. Register handling update. Support for static videomemory (platsim). hostsupport/hostthreadadapter/ win32text plugin end of line changes.
Jani Hyvonen<jani.hyvonen@nokia.com>
parents: 6
diff changeset
    74
// on both Linux and Windows platforms, size_t is a 4-bytes unsigned integer
cd3ce1b777ef bug235_bringup_0 - virtualvideohwinterface.cpp dynamic buffer handling update. Register handling update. Support for static videomemory (platsim). hostsupport/hostthreadadapter/ win32text plugin end of line changes.
Jani Hyvonen<jani.hyvonen@nokia.com>
parents: 6
diff changeset
    75
// on Linux, ssize_t is a 4 bytes signed integer
cd3ce1b777ef bug235_bringup_0 - virtualvideohwinterface.cpp dynamic buffer handling update. Register handling update. Support for static videomemory (platsim). hostsupport/hostthreadadapter/ win32text plugin end of line changes.
Jani Hyvonen<jani.hyvonen@nokia.com>
parents: 6
diff changeset
    76
// Windows does not seem to have a ssize_t
cd3ce1b777ef bug235_bringup_0 - virtualvideohwinterface.cpp dynamic buffer handling update. Register handling update. Support for static videomemory (platsim). hostsupport/hostthreadadapter/ win32text plugin end of line changes.
Jani Hyvonen<jani.hyvonen@nokia.com>
parents: 6
diff changeset
    77
typedef int32_t ssize_t;
cd3ce1b777ef bug235_bringup_0 - virtualvideohwinterface.cpp dynamic buffer handling update. Register handling update. Support for static videomemory (platsim). hostsupport/hostthreadadapter/ win32text plugin end of line changes.
Jani Hyvonen<jani.hyvonen@nokia.com>
parents: 6
diff changeset
    78
cd3ce1b777ef bug235_bringup_0 - virtualvideohwinterface.cpp dynamic buffer handling update. Register handling update. Support for static videomemory (platsim). hostsupport/hostthreadadapter/ win32text plugin end of line changes.
Jani Hyvonen<jani.hyvonen@nokia.com>
parents: 6
diff changeset
    79
#endif  // __STDC_CONSTANT_MACROS
cd3ce1b777ef bug235_bringup_0 - virtualvideohwinterface.cpp dynamic buffer handling update. Register handling update. Support for static videomemory (platsim). hostsupport/hostthreadadapter/ win32text plugin end of line changes.
Jani Hyvonen<jani.hyvonen@nokia.com>
parents: 6
diff changeset
    80
#else
cd3ce1b777ef bug235_bringup_0 - virtualvideohwinterface.cpp dynamic buffer handling update. Register handling update. Support for static videomemory (platsim). hostsupport/hostthreadadapter/ win32text plugin end of line changes.
Jani Hyvonen<jani.hyvonen@nokia.com>
parents: 6
diff changeset
    81
#include <stdint.h>
cd3ce1b777ef bug235_bringup_0 - virtualvideohwinterface.cpp dynamic buffer handling update. Register handling update. Support for static videomemory (platsim). hostsupport/hostthreadadapter/ win32text plugin end of line changes.
Jani Hyvonen<jani.hyvonen@nokia.com>
parents: 6
diff changeset
    82
#include <sys/types.h>
cd3ce1b777ef bug235_bringup_0 - virtualvideohwinterface.cpp dynamic buffer handling update. Register handling update. Support for static videomemory (platsim). hostsupport/hostthreadadapter/ win32text plugin end of line changes.
Jani Hyvonen<jani.hyvonen@nokia.com>
parents: 6
diff changeset
    83
#endif
cd3ce1b777ef bug235_bringup_0 - virtualvideohwinterface.cpp dynamic buffer handling update. Register handling update. Support for static videomemory (platsim). hostsupport/hostthreadadapter/ win32text plugin end of line changes.
Jani Hyvonen<jani.hyvonen@nokia.com>
parents: 6
diff changeset
    84
cd3ce1b777ef bug235_bringup_0 - virtualvideohwinterface.cpp dynamic buffer handling update. Register handling update. Support for static videomemory (platsim). hostsupport/hostthreadadapter/ win32text plugin end of line changes.
Jani Hyvonen<jani.hyvonen@nokia.com>
parents: 6
diff changeset
    85
cd3ce1b777ef bug235_bringup_0 - virtualvideohwinterface.cpp dynamic buffer handling update. Register handling update. Support for static videomemory (platsim). hostsupport/hostthreadadapter/ win32text plugin end of line changes.
Jani Hyvonen<jani.hyvonen@nokia.com>
parents: 6
diff changeset
    86
// a byte will be an unsigned char, i.e. an unsigned int8_t
cd3ce1b777ef bug235_bringup_0 - virtualvideohwinterface.cpp dynamic buffer handling update. Register handling update. Support for static videomemory (platsim). hostsupport/hostthreadadapter/ win32text plugin end of line changes.
Jani Hyvonen<jani.hyvonen@nokia.com>
parents: 6
diff changeset
    87
// this typedef works fine on both Linux and Windows
cd3ce1b777ef bug235_bringup_0 - virtualvideohwinterface.cpp dynamic buffer handling update. Register handling update. Support for static videomemory (platsim). hostsupport/hostthreadadapter/ win32text plugin end of line changes.
Jani Hyvonen<jani.hyvonen@nokia.com>
parents: 6
diff changeset
    88
typedef unsigned char byte_t;
cd3ce1b777ef bug235_bringup_0 - virtualvideohwinterface.cpp dynamic buffer handling update. Register handling update. Support for static videomemory (platsim). hostsupport/hostthreadadapter/ win32text plugin end of line changes.
Jani Hyvonen<jani.hyvonen@nokia.com>
parents: 6
diff changeset
    89
cd3ce1b777ef bug235_bringup_0 - virtualvideohwinterface.cpp dynamic buffer handling update. Register handling update. Support for static videomemory (platsim). hostsupport/hostthreadadapter/ win32text plugin end of line changes.
Jani Hyvonen<jani.hyvonen@nokia.com>
parents: 6
diff changeset
    90
#endif