author | Faisal Memon <faisal.memon@nokia.com> |
Tue, 21 Sep 2010 18:31:38 +0100 | |
branch | bug235_bringup_0 |
changeset 27 | a8768cd5a3d8 |
parent 7 | ec0e558822c5 |
permissions | -rwxr-xr-x |
4
e6f11c873cdf
Fix copyright notices and license text.
Faisal Memon <faisal.memon@nokia.com>
parents:
2
diff
changeset
|
1 |
// Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). |
e6f11c873cdf
Fix copyright notices and license text.
Faisal Memon <faisal.memon@nokia.com>
parents:
2
diff
changeset
|
2 |
// All rights reserved. |
e6f11c873cdf
Fix copyright notices and license text.
Faisal Memon <faisal.memon@nokia.com>
parents:
2
diff
changeset
|
3 |
// This component and the accompanying materials are made available |
e6f11c873cdf
Fix copyright notices and license text.
Faisal Memon <faisal.memon@nokia.com>
parents:
2
diff
changeset
|
4 |
// under the terms of "Eclipse Public License v1.0" |
e6f11c873cdf
Fix copyright notices and license text.
Faisal Memon <faisal.memon@nokia.com>
parents:
2
diff
changeset
|
5 |
// which accompanies this distribution, and is available |
e6f11c873cdf
Fix copyright notices and license text.
Faisal Memon <faisal.memon@nokia.com>
parents:
2
diff
changeset
|
6 |
// at the URL "http://www.eclipse.org/legal/epl-v10.html". |
e6f11c873cdf
Fix copyright notices and license text.
Faisal Memon <faisal.memon@nokia.com>
parents:
2
diff
changeset
|
7 |
// |
e6f11c873cdf
Fix copyright notices and license text.
Faisal Memon <faisal.memon@nokia.com>
parents:
2
diff
changeset
|
8 |
// Initial Contributors: |
e6f11c873cdf
Fix copyright notices and license text.
Faisal Memon <faisal.memon@nokia.com>
parents:
2
diff
changeset
|
9 |
// Nokia Corporation - initial contribution. |
e6f11c873cdf
Fix copyright notices and license text.
Faisal Memon <faisal.memon@nokia.com>
parents:
2
diff
changeset
|
10 |
// |
e6f11c873cdf
Fix copyright notices and license text.
Faisal Memon <faisal.memon@nokia.com>
parents:
2
diff
changeset
|
11 |
// Contributors: |
e6f11c873cdf
Fix copyright notices and license text.
Faisal Memon <faisal.memon@nokia.com>
parents:
2
diff
changeset
|
12 |
// |
e6f11c873cdf
Fix copyright notices and license text.
Faisal Memon <faisal.memon@nokia.com>
parents:
2
diff
changeset
|
13 |
// Description: |
e6f11c873cdf
Fix copyright notices and license text.
Faisal Memon <faisal.memon@nokia.com>
parents:
2
diff
changeset
|
14 |
// Virtual Video Hardware Device Implementation |
2
e8ccf068ac7f
More progress towards getting the guestvideodriver and dependencies compiling for S3. This check-in does not compile, so don't sync to this changelist. A later changelist will declare when compilation works again.
Faisal Memon <faisal.memon@nokia.com>
parents:
1
diff
changeset
|
15 |
|
e8ccf068ac7f
More progress towards getting the guestvideodriver and dependencies compiling for S3. This check-in does not compile, so don't sync to this changelist. A later changelist will declare when compilation works again.
Faisal Memon <faisal.memon@nokia.com>
parents:
1
diff
changeset
|
16 |
#include <kernel/kernel.h> |
e8ccf068ac7f
More progress towards getting the guestvideodriver and dependencies compiling for S3. This check-in does not compile, so don't sync to this changelist. A later changelist will declare when compilation works again.
Faisal Memon <faisal.memon@nokia.com>
parents:
1
diff
changeset
|
17 |
#include <assp.h> |
e8ccf068ac7f
More progress towards getting the guestvideodriver and dependencies compiling for S3. This check-in does not compile, so don't sync to this changelist. A later changelist will declare when compilation works again.
Faisal Memon <faisal.memon@nokia.com>
parents:
1
diff
changeset
|
18 |
|
e8ccf068ac7f
More progress towards getting the guestvideodriver and dependencies compiling for S3. This check-in does not compile, so don't sync to this changelist. A later changelist will declare when compilation works again.
Faisal Memon <faisal.memon@nokia.com>
parents:
1
diff
changeset
|
19 |
#include <graphics/guestvideodriverprotocol.h> |
e8ccf068ac7f
More progress towards getting the guestvideodriver and dependencies compiling for S3. This check-in does not compile, so don't sync to this changelist. A later changelist will declare when compilation works again.
Faisal Memon <faisal.memon@nokia.com>
parents:
1
diff
changeset
|
20 |
#include <graphics/virtualvideohwdevice.h> |
e8ccf068ac7f
More progress towards getting the guestvideodriver and dependencies compiling for S3. This check-in does not compile, so don't sync to this changelist. A later changelist will declare when compilation works again.
Faisal Memon <faisal.memon@nokia.com>
parents:
1
diff
changeset
|
21 |
#include <graphics/virtualvideohwchannel.h> |
e8ccf068ac7f
More progress towards getting the guestvideodriver and dependencies compiling for S3. This check-in does not compile, so don't sync to this changelist. A later changelist will declare when compilation works again.
Faisal Memon <faisal.memon@nokia.com>
parents:
1
diff
changeset
|
22 |
#include <graphics/virtualvideohwinterface.h> |
e8ccf068ac7f
More progress towards getting the guestvideodriver and dependencies compiling for S3. This check-in does not compile, so don't sync to this changelist. A later changelist will declare when compilation works again.
Faisal Memon <faisal.memon@nokia.com>
parents:
1
diff
changeset
|
23 |
#include <graphics/virtualvideotracing.h> |
e8ccf068ac7f
More progress towards getting the guestvideodriver and dependencies compiling for S3. This check-in does not compile, so don't sync to this changelist. A later changelist will declare when compilation works again.
Faisal Memon <faisal.memon@nokia.com>
parents:
1
diff
changeset
|
24 |
#include <graphics/guestvideodrivercommon.h> |
e8ccf068ac7f
More progress towards getting the guestvideodriver and dependencies compiling for S3. This check-in does not compile, so don't sync to this changelist. A later changelist will declare when compilation works again.
Faisal Memon <faisal.memon@nokia.com>
parents:
1
diff
changeset
|
25 |
#include <graphics/devicereqhandler.h> |
e8ccf068ac7f
More progress towards getting the guestvideodriver and dependencies compiling for S3. This check-in does not compile, so don't sync to this changelist. A later changelist will declare when compilation works again.
Faisal Memon <faisal.memon@nokia.com>
parents:
1
diff
changeset
|
26 |
|
e8ccf068ac7f
More progress towards getting the guestvideodriver and dependencies compiling for S3. This check-in does not compile, so don't sync to this changelist. A later changelist will declare when compilation works again.
Faisal Memon <faisal.memon@nokia.com>
parents:
1
diff
changeset
|
27 |
const TInt KPriority = 27; // DfcQue0 has same priority |
e8ccf068ac7f
More progress towards getting the guestvideodriver and dependencies compiling for S3. This check-in does not compile, so don't sync to this changelist. A later changelist will declare when compilation works again.
Faisal Memon <faisal.memon@nokia.com>
parents:
1
diff
changeset
|
28 |
|
e8ccf068ac7f
More progress towards getting the guestvideodriver and dependencies compiling for S3. This check-in does not compile, so don't sync to this changelist. A later changelist will declare when compilation works again.
Faisal Memon <faisal.memon@nokia.com>
parents:
1
diff
changeset
|
29 |
// a .LDD requires that the first exported function creates the device. By |
e8ccf068ac7f
More progress towards getting the guestvideodriver and dependencies compiling for S3. This check-in does not compile, so don't sync to this changelist. A later changelist will declare when compilation works again.
Faisal Memon <faisal.memon@nokia.com>
parents:
1
diff
changeset
|
30 |
// returning a concrete DLogicalDevice-derived class, this implements |
e8ccf068ac7f
More progress towards getting the guestvideodriver and dependencies compiling for S3. This check-in does not compile, so don't sync to this changelist. A later changelist will declare when compilation works again.
Faisal Memon <faisal.memon@nokia.com>
parents:
1
diff
changeset
|
31 |
// polymorphism using a named DLL. |
e8ccf068ac7f
More progress towards getting the guestvideodriver and dependencies compiling for S3. This check-in does not compile, so don't sync to this changelist. A later changelist will declare when compilation works again.
Faisal Memon <faisal.memon@nokia.com>
parents:
1
diff
changeset
|
32 |
DECLARE_STANDARD_LDD() |
e8ccf068ac7f
More progress towards getting the guestvideodriver and dependencies compiling for S3. This check-in does not compile, so don't sync to this changelist. A later changelist will declare when compilation works again.
Faisal Memon <faisal.memon@nokia.com>
parents:
1
diff
changeset
|
33 |
{ |
e8ccf068ac7f
More progress towards getting the guestvideodriver and dependencies compiling for S3. This check-in does not compile, so don't sync to this changelist. A later changelist will declare when compilation works again.
Faisal Memon <faisal.memon@nokia.com>
parents:
1
diff
changeset
|
34 |
return new DVirtualVideoHwDevice; |
e8ccf068ac7f
More progress towards getting the guestvideodriver and dependencies compiling for S3. This check-in does not compile, so don't sync to this changelist. A later changelist will declare when compilation works again.
Faisal Memon <faisal.memon@nokia.com>
parents:
1
diff
changeset
|
35 |
} |
e8ccf068ac7f
More progress towards getting the guestvideodriver and dependencies compiling for S3. This check-in does not compile, so don't sync to this changelist. A later changelist will declare when compilation works again.
Faisal Memon <faisal.memon@nokia.com>
parents:
1
diff
changeset
|
36 |
|
e8ccf068ac7f
More progress towards getting the guestvideodriver and dependencies compiling for S3. This check-in does not compile, so don't sync to this changelist. A later changelist will declare when compilation works again.
Faisal Memon <faisal.memon@nokia.com>
parents:
1
diff
changeset
|
37 |
// ============================ MEMBER FUNCTIONS =============================== |
e8ccf068ac7f
More progress towards getting the guestvideodriver and dependencies compiling for S3. This check-in does not compile, so don't sync to this changelist. A later changelist will declare when compilation works again.
Faisal Memon <faisal.memon@nokia.com>
parents:
1
diff
changeset
|
38 |
|
e8ccf068ac7f
More progress towards getting the guestvideodriver and dependencies compiling for S3. This check-in does not compile, so don't sync to this changelist. A later changelist will declare when compilation works again.
Faisal Memon <faisal.memon@nokia.com>
parents:
1
diff
changeset
|
39 |
// ----------------------------------------------------------------------------- |
e8ccf068ac7f
More progress towards getting the guestvideodriver and dependencies compiling for S3. This check-in does not compile, so don't sync to this changelist. A later changelist will declare when compilation works again.
Faisal Memon <faisal.memon@nokia.com>
parents:
1
diff
changeset
|
40 |
// DVirtualVideoHwDevice::DVirtualVideoHwDevice |
e8ccf068ac7f
More progress towards getting the guestvideodriver and dependencies compiling for S3. This check-in does not compile, so don't sync to this changelist. A later changelist will declare when compilation works again.
Faisal Memon <faisal.memon@nokia.com>
parents:
1
diff
changeset
|
41 |
// ----------------------------------------------------------------------------- |
e8ccf068ac7f
More progress towards getting the guestvideodriver and dependencies compiling for S3. This check-in does not compile, so don't sync to this changelist. A later changelist will declare when compilation works again.
Faisal Memon <faisal.memon@nokia.com>
parents:
1
diff
changeset
|
42 |
// |
e8ccf068ac7f
More progress towards getting the guestvideodriver and dependencies compiling for S3. This check-in does not compile, so don't sync to this changelist. A later changelist will declare when compilation works again.
Faisal Memon <faisal.memon@nokia.com>
parents:
1
diff
changeset
|
43 |
DVirtualVideoHwDevice::DVirtualVideoHwDevice() |
e8ccf068ac7f
More progress towards getting the guestvideodriver and dependencies compiling for S3. This check-in does not compile, so don't sync to this changelist. A later changelist will declare when compilation works again.
Faisal Memon <faisal.memon@nokia.com>
parents:
1
diff
changeset
|
44 |
{ |
e8ccf068ac7f
More progress towards getting the guestvideodriver and dependencies compiling for S3. This check-in does not compile, so don't sync to this changelist. A later changelist will declare when compilation works again.
Faisal Memon <faisal.memon@nokia.com>
parents:
1
diff
changeset
|
45 |
// No need to set iParseMask as we don't have PDD. |
e8ccf068ac7f
More progress towards getting the guestvideodriver and dependencies compiling for S3. This check-in does not compile, so don't sync to this changelist. A later changelist will declare when compilation works again.
Faisal Memon <faisal.memon@nokia.com>
parents:
1
diff
changeset
|
46 |
// Just set the version. |
e8ccf068ac7f
More progress towards getting the guestvideodriver and dependencies compiling for S3. This check-in does not compile, so don't sync to this changelist. A later changelist will declare when compilation works again.
Faisal Memon <faisal.memon@nokia.com>
parents:
1
diff
changeset
|
47 |
using namespace GuestVideoDriver; |
e8ccf068ac7f
More progress towards getting the guestvideodriver and dependencies compiling for S3. This check-in does not compile, so don't sync to this changelist. A later changelist will declare when compilation works again.
Faisal Memon <faisal.memon@nokia.com>
parents:
1
diff
changeset
|
48 |
iVersion = TVersion( KMajorVer, KMinorVer, KBuildVer ); |
7
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
4
diff
changeset
|
49 |
iHwInterface = new DVirtualVideoHwInterface; |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
4
diff
changeset
|
50 |
Kern::Printf("DVirtualVideoHwDevice::DVirtualVideoHwDevice()<"); |
2
e8ccf068ac7f
More progress towards getting the guestvideodriver and dependencies compiling for S3. This check-in does not compile, so don't sync to this changelist. A later changelist will declare when compilation works again.
Faisal Memon <faisal.memon@nokia.com>
parents:
1
diff
changeset
|
51 |
VVHW_TRACE("DVirtualVideoHwDevice::DVirtualVideoHwDevice"); |
e8ccf068ac7f
More progress towards getting the guestvideodriver and dependencies compiling for S3. This check-in does not compile, so don't sync to this changelist. A later changelist will declare when compilation works again.
Faisal Memon <faisal.memon@nokia.com>
parents:
1
diff
changeset
|
52 |
} |
e8ccf068ac7f
More progress towards getting the guestvideodriver and dependencies compiling for S3. This check-in does not compile, so don't sync to this changelist. A later changelist will declare when compilation works again.
Faisal Memon <faisal.memon@nokia.com>
parents:
1
diff
changeset
|
53 |
|
e8ccf068ac7f
More progress towards getting the guestvideodriver and dependencies compiling for S3. This check-in does not compile, so don't sync to this changelist. A later changelist will declare when compilation works again.
Faisal Memon <faisal.memon@nokia.com>
parents:
1
diff
changeset
|
54 |
// ----------------------------------------------------------------------------- |
e8ccf068ac7f
More progress towards getting the guestvideodriver and dependencies compiling for S3. This check-in does not compile, so don't sync to this changelist. A later changelist will declare when compilation works again.
Faisal Memon <faisal.memon@nokia.com>
parents:
1
diff
changeset
|
55 |
// DVirtualVideoHwDevice::Install |
e8ccf068ac7f
More progress towards getting the guestvideodriver and dependencies compiling for S3. This check-in does not compile, so don't sync to this changelist. A later changelist will declare when compilation works again.
Faisal Memon <faisal.memon@nokia.com>
parents:
1
diff
changeset
|
56 |
// ----------------------------------------------------------------------------- |
e8ccf068ac7f
More progress towards getting the guestvideodriver and dependencies compiling for S3. This check-in does not compile, so don't sync to this changelist. A later changelist will declare when compilation works again.
Faisal Memon <faisal.memon@nokia.com>
parents:
1
diff
changeset
|
57 |
// |
e8ccf068ac7f
More progress towards getting the guestvideodriver and dependencies compiling for S3. This check-in does not compile, so don't sync to this changelist. A later changelist will declare when compilation works again.
Faisal Memon <faisal.memon@nokia.com>
parents:
1
diff
changeset
|
58 |
TInt DVirtualVideoHwDevice::Install() |
e8ccf068ac7f
More progress towards getting the guestvideodriver and dependencies compiling for S3. This check-in does not compile, so don't sync to this changelist. A later changelist will declare when compilation works again.
Faisal Memon <faisal.memon@nokia.com>
parents:
1
diff
changeset
|
59 |
{ |
e8ccf068ac7f
More progress towards getting the guestvideodriver and dependencies compiling for S3. This check-in does not compile, so don't sync to this changelist. A later changelist will declare when compilation works again.
Faisal Memon <faisal.memon@nokia.com>
parents:
1
diff
changeset
|
60 |
// Our name, used by User::FreeLogicalDevice |
e8ccf068ac7f
More progress towards getting the guestvideodriver and dependencies compiling for S3. This check-in does not compile, so don't sync to this changelist. A later changelist will declare when compilation works again.
Faisal Memon <faisal.memon@nokia.com>
parents:
1
diff
changeset
|
61 |
TInt err = SetName( &GuestVideoDriver::KDeviceName ); |
e8ccf068ac7f
More progress towards getting the guestvideodriver and dependencies compiling for S3. This check-in does not compile, so don't sync to this changelist. A later changelist will declare when compilation works again.
Faisal Memon <faisal.memon@nokia.com>
parents:
1
diff
changeset
|
62 |
if ( err != KErrNone ) |
e8ccf068ac7f
More progress towards getting the guestvideodriver and dependencies compiling for S3. This check-in does not compile, so don't sync to this changelist. A later changelist will declare when compilation works again.
Faisal Memon <faisal.memon@nokia.com>
parents:
1
diff
changeset
|
63 |
{ |
e8ccf068ac7f
More progress towards getting the guestvideodriver and dependencies compiling for S3. This check-in does not compile, so don't sync to this changelist. A later changelist will declare when compilation works again.
Faisal Memon <faisal.memon@nokia.com>
parents:
1
diff
changeset
|
64 |
VVHW_TRACE("DVirtualVideoHwDevice::Install SetName %d", err); |
e8ccf068ac7f
More progress towards getting the guestvideodriver and dependencies compiling for S3. This check-in does not compile, so don't sync to this changelist. A later changelist will declare when compilation works again.
Faisal Memon <faisal.memon@nokia.com>
parents:
1
diff
changeset
|
65 |
return err; |
e8ccf068ac7f
More progress towards getting the guestvideodriver and dependencies compiling for S3. This check-in does not compile, so don't sync to this changelist. A later changelist will declare when compilation works again.
Faisal Memon <faisal.memon@nokia.com>
parents:
1
diff
changeset
|
66 |
} |
e8ccf068ac7f
More progress towards getting the guestvideodriver and dependencies compiling for S3. This check-in does not compile, so don't sync to this changelist. A later changelist will declare when compilation works again.
Faisal Memon <faisal.memon@nokia.com>
parents:
1
diff
changeset
|
67 |
|
e8ccf068ac7f
More progress towards getting the guestvideodriver and dependencies compiling for S3. This check-in does not compile, so don't sync to this changelist. A later changelist will declare when compilation works again.
Faisal Memon <faisal.memon@nokia.com>
parents:
1
diff
changeset
|
68 |
// Enter critical section |
e8ccf068ac7f
More progress towards getting the guestvideodriver and dependencies compiling for S3. This check-in does not compile, so don't sync to this changelist. A later changelist will declare when compilation works again.
Faisal Memon <faisal.memon@nokia.com>
parents:
1
diff
changeset
|
69 |
NKern::ThreadEnterCS(); |
e8ccf068ac7f
More progress towards getting the guestvideodriver and dependencies compiling for S3. This check-in does not compile, so don't sync to this changelist. A later changelist will declare when compilation works again.
Faisal Memon <faisal.memon@nokia.com>
parents:
1
diff
changeset
|
70 |
|
e8ccf068ac7f
More progress towards getting the guestvideodriver and dependencies compiling for S3. This check-in does not compile, so don't sync to this changelist. A later changelist will declare when compilation works again.
Faisal Memon <faisal.memon@nokia.com>
parents:
1
diff
changeset
|
71 |
err = Kern::DfcQCreate( iDfcQ, KPriority, &GuestVideoDriver::KDfcThreadName ); |
e8ccf068ac7f
More progress towards getting the guestvideodriver and dependencies compiling for S3. This check-in does not compile, so don't sync to this changelist. A later changelist will declare when compilation works again.
Faisal Memon <faisal.memon@nokia.com>
parents:
1
diff
changeset
|
72 |
|
e8ccf068ac7f
More progress towards getting the guestvideodriver and dependencies compiling for S3. This check-in does not compile, so don't sync to this changelist. A later changelist will declare when compilation works again.
Faisal Memon <faisal.memon@nokia.com>
parents:
1
diff
changeset
|
73 |
// Leave critical section |
e8ccf068ac7f
More progress towards getting the guestvideodriver and dependencies compiling for S3. This check-in does not compile, so don't sync to this changelist. A later changelist will declare when compilation works again.
Faisal Memon <faisal.memon@nokia.com>
parents:
1
diff
changeset
|
74 |
NKern::ThreadLeaveCS(); |
e8ccf068ac7f
More progress towards getting the guestvideodriver and dependencies compiling for S3. This check-in does not compile, so don't sync to this changelist. A later changelist will declare when compilation works again.
Faisal Memon <faisal.memon@nokia.com>
parents:
1
diff
changeset
|
75 |
|
e8ccf068ac7f
More progress towards getting the guestvideodriver and dependencies compiling for S3. This check-in does not compile, so don't sync to this changelist. A later changelist will declare when compilation works again.
Faisal Memon <faisal.memon@nokia.com>
parents:
1
diff
changeset
|
76 |
if ( err != KErrNone ) |
e8ccf068ac7f
More progress towards getting the guestvideodriver and dependencies compiling for S3. This check-in does not compile, so don't sync to this changelist. A later changelist will declare when compilation works again.
Faisal Memon <faisal.memon@nokia.com>
parents:
1
diff
changeset
|
77 |
{ |
e8ccf068ac7f
More progress towards getting the guestvideodriver and dependencies compiling for S3. This check-in does not compile, so don't sync to this changelist. A later changelist will declare when compilation works again.
Faisal Memon <faisal.memon@nokia.com>
parents:
1
diff
changeset
|
78 |
VVHW_TRACE("DVirtualVideoHwDevice::Install Kern::DfcQCreate %d", err); |
e8ccf068ac7f
More progress towards getting the guestvideodriver and dependencies compiling for S3. This check-in does not compile, so don't sync to this changelist. A later changelist will declare when compilation works again.
Faisal Memon <faisal.memon@nokia.com>
parents:
1
diff
changeset
|
79 |
return err; |
e8ccf068ac7f
More progress towards getting the guestvideodriver and dependencies compiling for S3. This check-in does not compile, so don't sync to this changelist. A later changelist will declare when compilation works again.
Faisal Memon <faisal.memon@nokia.com>
parents:
1
diff
changeset
|
80 |
} |
e8ccf068ac7f
More progress towards getting the guestvideodriver and dependencies compiling for S3. This check-in does not compile, so don't sync to this changelist. A later changelist will declare when compilation works again.
Faisal Memon <faisal.memon@nokia.com>
parents:
1
diff
changeset
|
81 |
|
7
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
4
diff
changeset
|
82 |
// We have already created this during construction |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
4
diff
changeset
|
83 |
// iHwInterface = new DVirtualVideoHwInterface; |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
4
diff
changeset
|
84 |
|
2
e8ccf068ac7f
More progress towards getting the guestvideodriver and dependencies compiling for S3. This check-in does not compile, so don't sync to this changelist. A later changelist will declare when compilation works again.
Faisal Memon <faisal.memon@nokia.com>
parents:
1
diff
changeset
|
85 |
if ( !iHwInterface ) |
e8ccf068ac7f
More progress towards getting the guestvideodriver and dependencies compiling for S3. This check-in does not compile, so don't sync to this changelist. A later changelist will declare when compilation works again.
Faisal Memon <faisal.memon@nokia.com>
parents:
1
diff
changeset
|
86 |
{ |
e8ccf068ac7f
More progress towards getting the guestvideodriver and dependencies compiling for S3. This check-in does not compile, so don't sync to this changelist. A later changelist will declare when compilation works again.
Faisal Memon <faisal.memon@nokia.com>
parents:
1
diff
changeset
|
87 |
return KErrNoMemory; |
e8ccf068ac7f
More progress towards getting the guestvideodriver and dependencies compiling for S3. This check-in does not compile, so don't sync to this changelist. A later changelist will declare when compilation works again.
Faisal Memon <faisal.memon@nokia.com>
parents:
1
diff
changeset
|
88 |
} |
e8ccf068ac7f
More progress towards getting the guestvideodriver and dependencies compiling for S3. This check-in does not compile, so don't sync to this changelist. A later changelist will declare when compilation works again.
Faisal Memon <faisal.memon@nokia.com>
parents:
1
diff
changeset
|
89 |
|
e8ccf068ac7f
More progress towards getting the guestvideodriver and dependencies compiling for S3. This check-in does not compile, so don't sync to this changelist. A later changelist will declare when compilation works again.
Faisal Memon <faisal.memon@nokia.com>
parents:
1
diff
changeset
|
90 |
err = iHwInterface->InitRegisterMemory(); |
e8ccf068ac7f
More progress towards getting the guestvideodriver and dependencies compiling for S3. This check-in does not compile, so don't sync to this changelist. A later changelist will declare when compilation works again.
Faisal Memon <faisal.memon@nokia.com>
parents:
1
diff
changeset
|
91 |
if ( err != KErrNone ) |
e8ccf068ac7f
More progress towards getting the guestvideodriver and dependencies compiling for S3. This check-in does not compile, so don't sync to this changelist. A later changelist will declare when compilation works again.
Faisal Memon <faisal.memon@nokia.com>
parents:
1
diff
changeset
|
92 |
{ |
e8ccf068ac7f
More progress towards getting the guestvideodriver and dependencies compiling for S3. This check-in does not compile, so don't sync to this changelist. A later changelist will declare when compilation works again.
Faisal Memon <faisal.memon@nokia.com>
parents:
1
diff
changeset
|
93 |
VVHW_TRACE("DVirtualVideoHwDevice::Install InitRegisterMemory %d", err); |
e8ccf068ac7f
More progress towards getting the guestvideodriver and dependencies compiling for S3. This check-in does not compile, so don't sync to this changelist. A later changelist will declare when compilation works again.
Faisal Memon <faisal.memon@nokia.com>
parents:
1
diff
changeset
|
94 |
return err; |
e8ccf068ac7f
More progress towards getting the guestvideodriver and dependencies compiling for S3. This check-in does not compile, so don't sync to this changelist. A later changelist will declare when compilation works again.
Faisal Memon <faisal.memon@nokia.com>
parents:
1
diff
changeset
|
95 |
} |
e8ccf068ac7f
More progress towards getting the guestvideodriver and dependencies compiling for S3. This check-in does not compile, so don't sync to this changelist. A later changelist will declare when compilation works again.
Faisal Memon <faisal.memon@nokia.com>
parents:
1
diff
changeset
|
96 |
|
e8ccf068ac7f
More progress towards getting the guestvideodriver and dependencies compiling for S3. This check-in does not compile, so don't sync to this changelist. A later changelist will declare when compilation works again.
Faisal Memon <faisal.memon@nokia.com>
parents:
1
diff
changeset
|
97 |
err = iHwInterface->InitParametersInputMemory(); |
e8ccf068ac7f
More progress towards getting the guestvideodriver and dependencies compiling for S3. This check-in does not compile, so don't sync to this changelist. A later changelist will declare when compilation works again.
Faisal Memon <faisal.memon@nokia.com>
parents:
1
diff
changeset
|
98 |
if ( err != KErrNone ) |
e8ccf068ac7f
More progress towards getting the guestvideodriver and dependencies compiling for S3. This check-in does not compile, so don't sync to this changelist. A later changelist will declare when compilation works again.
Faisal Memon <faisal.memon@nokia.com>
parents:
1
diff
changeset
|
99 |
{ |
e8ccf068ac7f
More progress towards getting the guestvideodriver and dependencies compiling for S3. This check-in does not compile, so don't sync to this changelist. A later changelist will declare when compilation works again.
Faisal Memon <faisal.memon@nokia.com>
parents:
1
diff
changeset
|
100 |
VVHW_TRACE("DVirtualVideoHwDevice::Install InitParametersInputMemory %d", err); |
e8ccf068ac7f
More progress towards getting the guestvideodriver and dependencies compiling for S3. This check-in does not compile, so don't sync to this changelist. A later changelist will declare when compilation works again.
Faisal Memon <faisal.memon@nokia.com>
parents:
1
diff
changeset
|
101 |
return err; |
e8ccf068ac7f
More progress towards getting the guestvideodriver and dependencies compiling for S3. This check-in does not compile, so don't sync to this changelist. A later changelist will declare when compilation works again.
Faisal Memon <faisal.memon@nokia.com>
parents:
1
diff
changeset
|
102 |
} |
e8ccf068ac7f
More progress towards getting the guestvideodriver and dependencies compiling for S3. This check-in does not compile, so don't sync to this changelist. A later changelist will declare when compilation works again.
Faisal Memon <faisal.memon@nokia.com>
parents:
1
diff
changeset
|
103 |
|
e8ccf068ac7f
More progress towards getting the guestvideodriver and dependencies compiling for S3. This check-in does not compile, so don't sync to this changelist. A later changelist will declare when compilation works again.
Faisal Memon <faisal.memon@nokia.com>
parents:
1
diff
changeset
|
104 |
err = iHwInterface->InitParametersOutputMemory(); |
e8ccf068ac7f
More progress towards getting the guestvideodriver and dependencies compiling for S3. This check-in does not compile, so don't sync to this changelist. A later changelist will declare when compilation works again.
Faisal Memon <faisal.memon@nokia.com>
parents:
1
diff
changeset
|
105 |
if ( err != KErrNone ) |
e8ccf068ac7f
More progress towards getting the guestvideodriver and dependencies compiling for S3. This check-in does not compile, so don't sync to this changelist. A later changelist will declare when compilation works again.
Faisal Memon <faisal.memon@nokia.com>
parents:
1
diff
changeset
|
106 |
{ |
e8ccf068ac7f
More progress towards getting the guestvideodriver and dependencies compiling for S3. This check-in does not compile, so don't sync to this changelist. A later changelist will declare when compilation works again.
Faisal Memon <faisal.memon@nokia.com>
parents:
1
diff
changeset
|
107 |
VVHW_TRACE("DVirtualVideoHwDevice::Install InitParametersOutputMemory %d", err); |
e8ccf068ac7f
More progress towards getting the guestvideodriver and dependencies compiling for S3. This check-in does not compile, so don't sync to this changelist. A later changelist will declare when compilation works again.
Faisal Memon <faisal.memon@nokia.com>
parents:
1
diff
changeset
|
108 |
return err; |
e8ccf068ac7f
More progress towards getting the guestvideodriver and dependencies compiling for S3. This check-in does not compile, so don't sync to this changelist. A later changelist will declare when compilation works again.
Faisal Memon <faisal.memon@nokia.com>
parents:
1
diff
changeset
|
109 |
} |
e8ccf068ac7f
More progress towards getting the guestvideodriver and dependencies compiling for S3. This check-in does not compile, so don't sync to this changelist. A later changelist will declare when compilation works again.
Faisal Memon <faisal.memon@nokia.com>
parents:
1
diff
changeset
|
110 |
|
e8ccf068ac7f
More progress towards getting the guestvideodriver and dependencies compiling for S3. This check-in does not compile, so don't sync to this changelist. A later changelist will declare when compilation works again.
Faisal Memon <faisal.memon@nokia.com>
parents:
1
diff
changeset
|
111 |
iDeviceReqHandler = new DDeviceReqHandler( *iHwInterface, iDfcQ ); |
e8ccf068ac7f
More progress towards getting the guestvideodriver and dependencies compiling for S3. This check-in does not compile, so don't sync to this changelist. A later changelist will declare when compilation works again.
Faisal Memon <faisal.memon@nokia.com>
parents:
1
diff
changeset
|
112 |
if ( !iDeviceReqHandler ) |
e8ccf068ac7f
More progress towards getting the guestvideodriver and dependencies compiling for S3. This check-in does not compile, so don't sync to this changelist. A later changelist will declare when compilation works again.
Faisal Memon <faisal.memon@nokia.com>
parents:
1
diff
changeset
|
113 |
{ |
e8ccf068ac7f
More progress towards getting the guestvideodriver and dependencies compiling for S3. This check-in does not compile, so don't sync to this changelist. A later changelist will declare when compilation works again.
Faisal Memon <faisal.memon@nokia.com>
parents:
1
diff
changeset
|
114 |
return KErrNoMemory; |
e8ccf068ac7f
More progress towards getting the guestvideodriver and dependencies compiling for S3. This check-in does not compile, so don't sync to this changelist. A later changelist will declare when compilation works again.
Faisal Memon <faisal.memon@nokia.com>
parents:
1
diff
changeset
|
115 |
} |
e8ccf068ac7f
More progress towards getting the guestvideodriver and dependencies compiling for S3. This check-in does not compile, so don't sync to this changelist. A later changelist will declare when compilation works again.
Faisal Memon <faisal.memon@nokia.com>
parents:
1
diff
changeset
|
116 |
|
e8ccf068ac7f
More progress towards getting the guestvideodriver and dependencies compiling for S3. This check-in does not compile, so don't sync to this changelist. A later changelist will declare when compilation works again.
Faisal Memon <faisal.memon@nokia.com>
parents:
1
diff
changeset
|
117 |
VVHW_TRACE("DVirtualVideoHwDevice::Install return %d", err); |
e8ccf068ac7f
More progress towards getting the guestvideodriver and dependencies compiling for S3. This check-in does not compile, so don't sync to this changelist. A later changelist will declare when compilation works again.
Faisal Memon <faisal.memon@nokia.com>
parents:
1
diff
changeset
|
118 |
return err; |
e8ccf068ac7f
More progress towards getting the guestvideodriver and dependencies compiling for S3. This check-in does not compile, so don't sync to this changelist. A later changelist will declare when compilation works again.
Faisal Memon <faisal.memon@nokia.com>
parents:
1
diff
changeset
|
119 |
} |
e8ccf068ac7f
More progress towards getting the guestvideodriver and dependencies compiling for S3. This check-in does not compile, so don't sync to this changelist. A later changelist will declare when compilation works again.
Faisal Memon <faisal.memon@nokia.com>
parents:
1
diff
changeset
|
120 |
|
e8ccf068ac7f
More progress towards getting the guestvideodriver and dependencies compiling for S3. This check-in does not compile, so don't sync to this changelist. A later changelist will declare when compilation works again.
Faisal Memon <faisal.memon@nokia.com>
parents:
1
diff
changeset
|
121 |
// ----------------------------------------------------------------------------- |
e8ccf068ac7f
More progress towards getting the guestvideodriver and dependencies compiling for S3. This check-in does not compile, so don't sync to this changelist. A later changelist will declare when compilation works again.
Faisal Memon <faisal.memon@nokia.com>
parents:
1
diff
changeset
|
122 |
// DVirtualVideoHwDevice::~DVirtualVideoHwDevice |
e8ccf068ac7f
More progress towards getting the guestvideodriver and dependencies compiling for S3. This check-in does not compile, so don't sync to this changelist. A later changelist will declare when compilation works again.
Faisal Memon <faisal.memon@nokia.com>
parents:
1
diff
changeset
|
123 |
// ----------------------------------------------------------------------------- |
e8ccf068ac7f
More progress towards getting the guestvideodriver and dependencies compiling for S3. This check-in does not compile, so don't sync to this changelist. A later changelist will declare when compilation works again.
Faisal Memon <faisal.memon@nokia.com>
parents:
1
diff
changeset
|
124 |
// |
e8ccf068ac7f
More progress towards getting the guestvideodriver and dependencies compiling for S3. This check-in does not compile, so don't sync to this changelist. A later changelist will declare when compilation works again.
Faisal Memon <faisal.memon@nokia.com>
parents:
1
diff
changeset
|
125 |
DVirtualVideoHwDevice::~DVirtualVideoHwDevice() |
e8ccf068ac7f
More progress towards getting the guestvideodriver and dependencies compiling for S3. This check-in does not compile, so don't sync to this changelist. A later changelist will declare when compilation works again.
Faisal Memon <faisal.memon@nokia.com>
parents:
1
diff
changeset
|
126 |
{ |
e8ccf068ac7f
More progress towards getting the guestvideodriver and dependencies compiling for S3. This check-in does not compile, so don't sync to this changelist. A later changelist will declare when compilation works again.
Faisal Memon <faisal.memon@nokia.com>
parents:
1
diff
changeset
|
127 |
delete iDeviceReqHandler; |
e8ccf068ac7f
More progress towards getting the guestvideodriver and dependencies compiling for S3. This check-in does not compile, so don't sync to this changelist. A later changelist will declare when compilation works again.
Faisal Memon <faisal.memon@nokia.com>
parents:
1
diff
changeset
|
128 |
delete iDfcQ; |
e8ccf068ac7f
More progress towards getting the guestvideodriver and dependencies compiling for S3. This check-in does not compile, so don't sync to this changelist. A later changelist will declare when compilation works again.
Faisal Memon <faisal.memon@nokia.com>
parents:
1
diff
changeset
|
129 |
delete iHwInterface; |
e8ccf068ac7f
More progress towards getting the guestvideodriver and dependencies compiling for S3. This check-in does not compile, so don't sync to this changelist. A later changelist will declare when compilation works again.
Faisal Memon <faisal.memon@nokia.com>
parents:
1
diff
changeset
|
130 |
VVHW_TRACE("DVirtualVideoHwDevice:~DVirtualVideoHwDevice"); |
e8ccf068ac7f
More progress towards getting the guestvideodriver and dependencies compiling for S3. This check-in does not compile, so don't sync to this changelist. A later changelist will declare when compilation works again.
Faisal Memon <faisal.memon@nokia.com>
parents:
1
diff
changeset
|
131 |
} |
e8ccf068ac7f
More progress towards getting the guestvideodriver and dependencies compiling for S3. This check-in does not compile, so don't sync to this changelist. A later changelist will declare when compilation works again.
Faisal Memon <faisal.memon@nokia.com>
parents:
1
diff
changeset
|
132 |
|
e8ccf068ac7f
More progress towards getting the guestvideodriver and dependencies compiling for S3. This check-in does not compile, so don't sync to this changelist. A later changelist will declare when compilation works again.
Faisal Memon <faisal.memon@nokia.com>
parents:
1
diff
changeset
|
133 |
// ----------------------------------------------------------------------------- |
e8ccf068ac7f
More progress towards getting the guestvideodriver and dependencies compiling for S3. This check-in does not compile, so don't sync to this changelist. A later changelist will declare when compilation works again.
Faisal Memon <faisal.memon@nokia.com>
parents:
1
diff
changeset
|
134 |
// DVirtualVideoHwDevice::GetCaps |
e8ccf068ac7f
More progress towards getting the guestvideodriver and dependencies compiling for S3. This check-in does not compile, so don't sync to this changelist. A later changelist will declare when compilation works again.
Faisal Memon <faisal.memon@nokia.com>
parents:
1
diff
changeset
|
135 |
// ----------------------------------------------------------------------------- |
e8ccf068ac7f
More progress towards getting the guestvideodriver and dependencies compiling for S3. This check-in does not compile, so don't sync to this changelist. A later changelist will declare when compilation works again.
Faisal Memon <faisal.memon@nokia.com>
parents:
1
diff
changeset
|
136 |
// |
e8ccf068ac7f
More progress towards getting the guestvideodriver and dependencies compiling for S3. This check-in does not compile, so don't sync to this changelist. A later changelist will declare when compilation works again.
Faisal Memon <faisal.memon@nokia.com>
parents:
1
diff
changeset
|
137 |
void DVirtualVideoHwDevice::GetCaps( TDes8& aDes ) const |
e8ccf068ac7f
More progress towards getting the guestvideodriver and dependencies compiling for S3. This check-in does not compile, so don't sync to this changelist. A later changelist will declare when compilation works again.
Faisal Memon <faisal.memon@nokia.com>
parents:
1
diff
changeset
|
138 |
{ |
e8ccf068ac7f
More progress towards getting the guestvideodriver and dependencies compiling for S3. This check-in does not compile, so don't sync to this changelist. A later changelist will declare when compilation works again.
Faisal Memon <faisal.memon@nokia.com>
parents:
1
diff
changeset
|
139 |
TVersion version; |
e8ccf068ac7f
More progress towards getting the guestvideodriver and dependencies compiling for S3. This check-in does not compile, so don't sync to this changelist. A later changelist will declare when compilation works again.
Faisal Memon <faisal.memon@nokia.com>
parents:
1
diff
changeset
|
140 |
|
e8ccf068ac7f
More progress towards getting the guestvideodriver and dependencies compiling for S3. This check-in does not compile, so don't sync to this changelist. A later changelist will declare when compilation works again.
Faisal Memon <faisal.memon@nokia.com>
parents:
1
diff
changeset
|
141 |
// fill it with information |
e8ccf068ac7f
More progress towards getting the guestvideodriver and dependencies compiling for S3. This check-in does not compile, so don't sync to this changelist. A later changelist will declare when compilation works again.
Faisal Memon <faisal.memon@nokia.com>
parents:
1
diff
changeset
|
142 |
version = iVersion; |
e8ccf068ac7f
More progress towards getting the guestvideodriver and dependencies compiling for S3. This check-in does not compile, so don't sync to this changelist. A later changelist will declare when compilation works again.
Faisal Memon <faisal.memon@nokia.com>
parents:
1
diff
changeset
|
143 |
|
e8ccf068ac7f
More progress towards getting the guestvideodriver and dependencies compiling for S3. This check-in does not compile, so don't sync to this changelist. A later changelist will declare when compilation works again.
Faisal Memon <faisal.memon@nokia.com>
parents:
1
diff
changeset
|
144 |
// copy as much of our information as will fit into this descriptor |
e8ccf068ac7f
More progress towards getting the guestvideodriver and dependencies compiling for S3. This check-in does not compile, so don't sync to this changelist. A later changelist will declare when compilation works again.
Faisal Memon <faisal.memon@nokia.com>
parents:
1
diff
changeset
|
145 |
aDes.Copy( (TUint8*)&version, Min( aDes.MaxLength(), sizeof( version ) ) ); |
e8ccf068ac7f
More progress towards getting the guestvideodriver and dependencies compiling for S3. This check-in does not compile, so don't sync to this changelist. A later changelist will declare when compilation works again.
Faisal Memon <faisal.memon@nokia.com>
parents:
1
diff
changeset
|
146 |
} |
e8ccf068ac7f
More progress towards getting the guestvideodriver and dependencies compiling for S3. This check-in does not compile, so don't sync to this changelist. A later changelist will declare when compilation works again.
Faisal Memon <faisal.memon@nokia.com>
parents:
1
diff
changeset
|
147 |
|
e8ccf068ac7f
More progress towards getting the guestvideodriver and dependencies compiling for S3. This check-in does not compile, so don't sync to this changelist. A later changelist will declare when compilation works again.
Faisal Memon <faisal.memon@nokia.com>
parents:
1
diff
changeset
|
148 |
// ----------------------------------------------------------------------------- |
e8ccf068ac7f
More progress towards getting the guestvideodriver and dependencies compiling for S3. This check-in does not compile, so don't sync to this changelist. A later changelist will declare when compilation works again.
Faisal Memon <faisal.memon@nokia.com>
parents:
1
diff
changeset
|
149 |
// DVirtualVideoHwDevice::Create |
e8ccf068ac7f
More progress towards getting the guestvideodriver and dependencies compiling for S3. This check-in does not compile, so don't sync to this changelist. A later changelist will declare when compilation works again.
Faisal Memon <faisal.memon@nokia.com>
parents:
1
diff
changeset
|
150 |
// ----------------------------------------------------------------------------- |
e8ccf068ac7f
More progress towards getting the guestvideodriver and dependencies compiling for S3. This check-in does not compile, so don't sync to this changelist. A later changelist will declare when compilation works again.
Faisal Memon <faisal.memon@nokia.com>
parents:
1
diff
changeset
|
151 |
// |
e8ccf068ac7f
More progress towards getting the guestvideodriver and dependencies compiling for S3. This check-in does not compile, so don't sync to this changelist. A later changelist will declare when compilation works again.
Faisal Memon <faisal.memon@nokia.com>
parents:
1
diff
changeset
|
152 |
TInt DVirtualVideoHwDevice::Create( DLogicalChannelBase*& aChannel ) |
e8ccf068ac7f
More progress towards getting the guestvideodriver and dependencies compiling for S3. This check-in does not compile, so don't sync to this changelist. A later changelist will declare when compilation works again.
Faisal Memon <faisal.memon@nokia.com>
parents:
1
diff
changeset
|
153 |
{ |
e8ccf068ac7f
More progress towards getting the guestvideodriver and dependencies compiling for S3. This check-in does not compile, so don't sync to this changelist. A later changelist will declare when compilation works again.
Faisal Memon <faisal.memon@nokia.com>
parents:
1
diff
changeset
|
154 |
aChannel = NULL; |
e8ccf068ac7f
More progress towards getting the guestvideodriver and dependencies compiling for S3. This check-in does not compile, so don't sync to this changelist. A later changelist will declare when compilation works again.
Faisal Memon <faisal.memon@nokia.com>
parents:
1
diff
changeset
|
155 |
TInt error = KErrNone; |
e8ccf068ac7f
More progress towards getting the guestvideodriver and dependencies compiling for S3. This check-in does not compile, so don't sync to this changelist. A later changelist will declare when compilation works again.
Faisal Memon <faisal.memon@nokia.com>
parents:
1
diff
changeset
|
156 |
aChannel = new DVirtualVideoHwChannel( |
e8ccf068ac7f
More progress towards getting the guestvideodriver and dependencies compiling for S3. This check-in does not compile, so don't sync to this changelist. A later changelist will declare when compilation works again.
Faisal Memon <faisal.memon@nokia.com>
parents:
1
diff
changeset
|
157 |
*this, |
e8ccf068ac7f
More progress towards getting the guestvideodriver and dependencies compiling for S3. This check-in does not compile, so don't sync to this changelist. A later changelist will declare when compilation works again.
Faisal Memon <faisal.memon@nokia.com>
parents:
1
diff
changeset
|
158 |
*iHwInterface, |
e8ccf068ac7f
More progress towards getting the guestvideodriver and dependencies compiling for S3. This check-in does not compile, so don't sync to this changelist. A later changelist will declare when compilation works again.
Faisal Memon <faisal.memon@nokia.com>
parents:
1
diff
changeset
|
159 |
*iDeviceReqHandler, |
e8ccf068ac7f
More progress towards getting the guestvideodriver and dependencies compiling for S3. This check-in does not compile, so don't sync to this changelist. A later changelist will declare when compilation works again.
Faisal Memon <faisal.memon@nokia.com>
parents:
1
diff
changeset
|
160 |
iDfcQ); |
e8ccf068ac7f
More progress towards getting the guestvideodriver and dependencies compiling for S3. This check-in does not compile, so don't sync to this changelist. A later changelist will declare when compilation works again.
Faisal Memon <faisal.memon@nokia.com>
parents:
1
diff
changeset
|
161 |
|
e8ccf068ac7f
More progress towards getting the guestvideodriver and dependencies compiling for S3. This check-in does not compile, so don't sync to this changelist. A later changelist will declare when compilation works again.
Faisal Memon <faisal.memon@nokia.com>
parents:
1
diff
changeset
|
162 |
if ( !aChannel ) |
e8ccf068ac7f
More progress towards getting the guestvideodriver and dependencies compiling for S3. This check-in does not compile, so don't sync to this changelist. A later changelist will declare when compilation works again.
Faisal Memon <faisal.memon@nokia.com>
parents:
1
diff
changeset
|
163 |
{ |
e8ccf068ac7f
More progress towards getting the guestvideodriver and dependencies compiling for S3. This check-in does not compile, so don't sync to this changelist. A later changelist will declare when compilation works again.
Faisal Memon <faisal.memon@nokia.com>
parents:
1
diff
changeset
|
164 |
error = KErrNoMemory; |
e8ccf068ac7f
More progress towards getting the guestvideodriver and dependencies compiling for S3. This check-in does not compile, so don't sync to this changelist. A later changelist will declare when compilation works again.
Faisal Memon <faisal.memon@nokia.com>
parents:
1
diff
changeset
|
165 |
} |
e8ccf068ac7f
More progress towards getting the guestvideodriver and dependencies compiling for S3. This check-in does not compile, so don't sync to this changelist. A later changelist will declare when compilation works again.
Faisal Memon <faisal.memon@nokia.com>
parents:
1
diff
changeset
|
166 |
return error; |
e8ccf068ac7f
More progress towards getting the guestvideodriver and dependencies compiling for S3. This check-in does not compile, so don't sync to this changelist. A later changelist will declare when compilation works again.
Faisal Memon <faisal.memon@nokia.com>
parents:
1
diff
changeset
|
167 |
} |