# HG changeset patch # User Dremov Kirill (Nokia-D-MSW/Tampere) # Date 1276256690 -10800 # Node ID 333c5962a10a9dc14d9b21ad9504c069942808a8 # Parent ce191d16bb9a36f5209847275defdb63e351de6b Revision: 201023 Kit: 2010123 diff -r ce191d16bb9a -r 333c5962a10a boardsupport_info/boardsupport_metadata/boardsupport_metadata.mrp --- a/boardsupport_info/boardsupport_metadata/boardsupport_metadata.mrp Thu May 27 14:00:44 2010 +0300 +++ b/boardsupport_info/boardsupport_metadata/boardsupport_metadata.mrp Fri Jun 11 14:44:50 2010 +0300 @@ -1,19 +1,3 @@ -# -# Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). -# All rights reserved. -# This component and the accompanying materials are made available -# under the terms of "Eclipse Public License v1.0" -# which accompanies this distribution, and is available -# at the URL "http://www.eclipse.org/legal/epl-v10.html". -# -# Initial Contributors: -# Nokia Corporation - initial contribution. -# -# Contributors: -# -# Description: -# - component boardsupport_metadata source \sf\os\boardsupport\boardsupport_info\boardsupport_metadata source \sf\os\boardsupport\package_definition.xml diff -r ce191d16bb9a -r 333c5962a10a build.config.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/build.config.xml Fri Jun 11 14:44:50 2010 +0300 @@ -0,0 +1,271 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +]> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff -r ce191d16bb9a -r 333c5962a10a emulator/emulatorbsp/hal/config.hcf --- a/emulator/emulatorbsp/hal/config.hcf Thu May 27 14:00:44 2010 +0300 +++ b/emulator/emulatorbsp/hal/config.hcf Fri Jun 11 14:44:50 2010 +0300 @@ -86,3 +86,4 @@ EPointer3DExitCloseProximityThreshold : set = 0 EDisplayMemoryHandle=GetDisplayMemoryHandle ENumCpus=GetNumCpus +EDigitiserOrientation : set = DigitiserOrientation diff -r ce191d16bb9a -r 333c5962a10a emulator/emulatorbsp/inc/gui.h --- a/emulator/emulatorbsp/inc/gui.h Thu May 27 14:00:44 2010 +0300 +++ b/emulator/emulatorbsp/inc/gui.h Fri Jun 11 14:44:50 2010 +0300 @@ -1,4 +1,4 @@ -// Copyright (c) 1998-2009 Nokia Corporation and/or its subsidiary(-ies). +// Copyright (c) 1998-2010 Nokia Corporation and/or its subsidiary(-ies). // All rights reserved. // This component and the accompanying materials are made available // under the terms of "Eclipse Public License v1.0" @@ -266,6 +266,7 @@ TInt iMaxScreenHeight; TInt iXYInputWidth; TInt iXYInputHeight; + TInt iXYOrientation; TInt iPhysicalScreenWidth; TInt iPhysicalScreenHeight; TInt iMaxPhysicalScreenWidth; diff -r ce191d16bb9a -r 333c5962a10a emulator/emulatorbsp/specific/gui.cpp --- a/emulator/emulatorbsp/specific/gui.cpp Thu May 27 14:00:44 2010 +0300 +++ b/emulator/emulatorbsp/specific/gui.cpp Fri Jun 11 14:44:50 2010 +0300 @@ -1,4 +1,4 @@ -// Copyright (c) 1995-2009 Nokia Corporation and/or its subsidiary(-ies). +// Copyright (c) 1995-2010 Nokia Corporation and/or its subsidiary(-ies). // All rights reserved. // This component and the accompanying materials are made available // under the terms of "Eclipse Public License v1.0" @@ -4108,7 +4108,7 @@ return static_cast(aThis)->XYHalFunction(aFunction,a1,a2); } -TInt DMasterIni::XYHalFunction(TInt aFunction, TAny* a1, TAny* /*a2*/) +TInt DMasterIni::XYHalFunction(TInt aFunction, TAny* a1, TAny* a2) { TInt r=KErrNone; switch(aFunction) @@ -4129,6 +4129,28 @@ r=KErrNotSupported; } break; + + // a2 = TBool aSet (ETrue for setting, EFalse for retrieval) + // a1 = TDigitizerOrientation (set) + // a1 = &TDigitizerOrientation (get) + // Assume screen [0] here as this HAL function is only registered for + // screen 0 on the emulator platform. Function only called if display==0 + case EDigitiserOrientation: + if ((TBool)a2) + { + // Set the orientation attribute + // In case user thread, check it has WDD capability + if(!Kern::CurrentThreadHasCapability(ECapabilityWriteDeviceData,__PLATSEC_DIAGNOSTIC_STRING("Checked by Hal function EDigitiserOrientation"))) + return KErrPermissionDenied; + systemIni->iScreens[0]->iXYOrientation = (TInt)a1; + } + else + { + // Get the orientation attribute, safe copy it into user memory + kumemput32(a1, &(systemIni->iScreens[0]->iXYOrientation), sizeof(TInt)); + } + break; + default: r=KErrNotSupported; break; diff -r ce191d16bb9a -r 333c5962a10a release.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/release.txt Fri Jun 11 14:44:50 2010 +0300 @@ -0,0 +1,22 @@ + +1. BhaskarReddy + 1. DEFECT FIX: DEF142545: t_cputime fails on ST8500 +======================= + +2 BhaskarReddy + 1. DEFECT FIX: DEF140626: Building graphics4 (wserv auto tests) ROM with -D_DEBUG results in KERN-EXEC4 + +3 VyshnaviK + 1. DEFECT FIX: DEF141815: Baseport bld.inf files should specify an alias for all extension makefiles + +4 Prakash + 1.DEFECT FIX: DEF142298: ScreenDriver compile filed in MSF00209 TB101SF + +5 Prakash + 1.DEFECT FIX: DEF144722: Bridge image is not booting because of kHS random generaton preq submissions + +6 Vibhavari K + 1. DEF142250 T_LDRTST Kernel crash + +7 Prakash b + 1. DEF144776: Trace Conflict between base_e32_drivers_media and base_montblanc