epoc32/include/beagle/variantmediadef.h
branchSymbian2
changeset 3 e1b950c65cb4
parent 2 2fe1408b6811
child 4 837f303aceeb
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/epoc32/include/beagle/variantmediadef.h	Wed Mar 31 12:27:01 2010 +0100
     1.3 @@ -0,0 +1,57 @@
     1.4 +// Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
     1.5 +// All rights reserved.
     1.6 +// This component and the accompanying materials are made available
     1.7 +// under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
     1.8 +// which accompanies this distribution, and is available
     1.9 +// at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
    1.10 +//
    1.11 +// Initial Contributors:
    1.12 +// Nokia Corporation - initial contribution.
    1.13 +//
    1.14 +// Contributors:
    1.15 +//
    1.16 +// Description:
    1.17 +// wins\inc\variantmediadef.h
    1.18 +// Media definitions for the Wins Variant.
    1.19 +// Each Media Driver requires the following definitions
    1.20 +// DRIVECOUNT - The total number of local drive object to be assigned to the Media Driver (1-KMaxLocalDrives)
    1.21 +// DRIVELIST - A list of the local drive numbers (each separated with a comma) to be assigned to the Media Driver.
    1.22 +// Each in the range 0 - (KMaxLocalDrives-1). Total number of drive numbers must equal the value
    1.23 +// of DRIVECOUNT.
    1.24 +// NUMMEDIA - The total number of media objects to be assigned to the Media Driver.
    1.25 +// DRIVENAME - A name for the drive group.
    1.26 +// For the complete set of media definitions
    1.27 +// - The total number of local drive objects assigned should not exceed KMaxLocalDrives.
    1.28 +// - Each Media Driver should be assigned a unique set of drive numbers - no conflicts between Media Drivers.
    1.29 +// - The total number of media objects assigned should not exceed KMaxLocalDrives.
    1.30 +// 
    1.31 +//
    1.32 + 
    1.33 +#ifndef __VARIANTMEDIADEF_H__
    1.34 +#define __VARIANTMEDIADEF_H__
    1.35 +
    1.36 +// Variant parameters for IRAM Media Driver (MEDINT.PDD)
    1.37 +#define IRAM_DRIVECOUNT 1
    1.38 +#define IRAM_DRIVELIST 0
    1.39 +#define IRAM_NUMMEDIA 1	
    1.40 +#define IRAM_DRIVENAME "IRam"
    1.41 +
    1.42 +// Variant parameters for LFFS Media Driver (MEDLFS.PDD)
    1.43 +#define LFFS_DRIVECOUNT 1
    1.44 +#define LFFS_DRIVELIST 8
    1.45 +#define LFFS_NUMMEDIA 1	
    1.46 +#define LFFS_DRIVENAME "Flash"
    1.47 +
    1.48 +// Variant parameters for the MMC Controller (EPBUSMMC.DLL)
    1.49 +#define MMC0_DRIVECOUNT 4
    1.50 +#define MMC0_DRIVELIST 1,2,3,4
    1.51 +#define MMC0_NUMMEDIA 4	
    1.52 +#define MMC0_DRIVENAME "MultiMediaCard0"
    1.53 +
    1.54 +// Variant parameters for NAND flash media driver (mednand.pdd)
    1.55 +#define NAND_DRIVECOUNT 3
    1.56 +#define NAND_DRIVELIST 5,6,9
    1.57 +#define NAND_NUMMEDIA 1
    1.58 +#define NAND_DRIVENAME "Nand"
    1.59 +
    1.60 +#endif