os/kernelhwsrv/kerneltest/e32test/video/t_videomemory.h
changeset 0 bde4ae8d615e
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/os/kernelhwsrv/kerneltest/e32test/video/t_videomemory.h	Fri Jun 15 03:10:57 2012 +0200
     1.3 @@ -0,0 +1,33 @@
     1.4 +/*
     1.5 +* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
     1.6 +* All rights reserved.
     1.7 +* This component and the accompanying materials are made available
     1.8 +* under the terms of the License "Eclipse Public License v1.0"
     1.9 +* which accompanies this distribution, and is available
    1.10 +* at the URL "http://www.eclipse.org/legal/epl-v10.html".
    1.11 +*
    1.12 +* Initial Contributors:
    1.13 +* Nokia Corporation - initial contribution.
    1.14 +*
    1.15 +* Contributors:
    1.16 +*
    1.17 +* Description:
    1.18 +*
    1.19 +*/
    1.20 +#ifndef T_VIDEOMEMORY_H
    1.21 +#define T_VIDEOMEMORY_H
    1.22 +
    1.23 +// Constants for testing of videomory. 
    1.24 +// There is no science behind the values - they are just different numbers 
    1.25 +// that are expected to read back the same as they were written. The purpose
    1.26 +// is not to validate that the video memory as SUCH works, so no need for covering
    1.27 +// all sorts of different bit patterns, walking ones/zeros. We just need to have a 
    1.28 +// way to see that we can write something, and that it changes if a differnet value
    1.29 +// written. 
    1.30 +
    1.31 +const TUint32 KTestValue1 = 0x12345678;  
    1.32 +const TUint32 KTestValue2 = 0x87654321;
    1.33 +const TUint32 KTestValue3 = 0x11223344;
    1.34 +const TUint32 KTestValue4 = 0x44332211;
    1.35 +
    1.36 +#endif