epoc32/include/beagle/variantmediadef.h
author William Roberts <williamr@symbian.org>
Wed, 31 Mar 2010 12:27:01 +0100
branchSymbian2
changeset 3 e1b950c65cb4
parent 2 epoc32/include/wins/variantmediadef.h@2fe1408b6811
child 4 837f303aceeb
permissions -rw-r--r--
Attempt to represent the S^2->S^3 header reorganisation as a series of "hg rename" operations
williamr@2
     1
// Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
williamr@2
     2
// All rights reserved.
williamr@2
     3
// This component and the accompanying materials are made available
williamr@2
     4
// 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
williamr@2
     5
// which accompanies this distribution, and is available
williamr@2
     6
// at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
williamr@2
     7
//
williamr@2
     8
// Initial Contributors:
williamr@2
     9
// Nokia Corporation - initial contribution.
williamr@2
    10
//
williamr@2
    11
// Contributors:
williamr@2
    12
//
williamr@2
    13
// Description:
williamr@2
    14
// wins\inc\variantmediadef.h
williamr@2
    15
// Media definitions for the Wins Variant.
williamr@2
    16
// Each Media Driver requires the following definitions
williamr@2
    17
// DRIVECOUNT - The total number of local drive object to be assigned to the Media Driver (1-KMaxLocalDrives)
williamr@2
    18
// DRIVELIST - A list of the local drive numbers (each separated with a comma) to be assigned to the Media Driver.
williamr@2
    19
// Each in the range 0 - (KMaxLocalDrives-1). Total number of drive numbers must equal the value
williamr@2
    20
// of DRIVECOUNT.
williamr@2
    21
// NUMMEDIA - The total number of media objects to be assigned to the Media Driver.
williamr@2
    22
// DRIVENAME - A name for the drive group.
williamr@2
    23
// For the complete set of media definitions
williamr@2
    24
// - The total number of local drive objects assigned should not exceed KMaxLocalDrives.
williamr@2
    25
// - Each Media Driver should be assigned a unique set of drive numbers - no conflicts between Media Drivers.
williamr@2
    26
// - The total number of media objects assigned should not exceed KMaxLocalDrives.
williamr@2
    27
// 
williamr@2
    28
//
williamr@2
    29
 
williamr@2
    30
#ifndef __VARIANTMEDIADEF_H__
williamr@2
    31
#define __VARIANTMEDIADEF_H__
williamr@2
    32
williamr@2
    33
// Variant parameters for IRAM Media Driver (MEDINT.PDD)
williamr@2
    34
#define IRAM_DRIVECOUNT 1
williamr@2
    35
#define IRAM_DRIVELIST 0
williamr@2
    36
#define IRAM_NUMMEDIA 1	
williamr@2
    37
#define IRAM_DRIVENAME "IRam"
williamr@2
    38
williamr@2
    39
// Variant parameters for LFFS Media Driver (MEDLFS.PDD)
williamr@2
    40
#define LFFS_DRIVECOUNT 1
williamr@2
    41
#define LFFS_DRIVELIST 8
williamr@2
    42
#define LFFS_NUMMEDIA 1	
williamr@2
    43
#define LFFS_DRIVENAME "Flash"
williamr@2
    44
williamr@2
    45
// Variant parameters for the MMC Controller (EPBUSMMC.DLL)
williamr@2
    46
#define MMC0_DRIVECOUNT 4
williamr@2
    47
#define MMC0_DRIVELIST 1,2,3,4
williamr@2
    48
#define MMC0_NUMMEDIA 4	
williamr@2
    49
#define MMC0_DRIVENAME "MultiMediaCard0"
williamr@2
    50
williamr@2
    51
// Variant parameters for NAND flash media driver (mednand.pdd)
williamr@2
    52
#define NAND_DRIVECOUNT 3
williamr@2
    53
#define NAND_DRIVELIST 5,6,9
williamr@2
    54
#define NAND_NUMMEDIA 1
williamr@2
    55
#define NAND_DRIVENAME "Nand"
williamr@2
    56
williamr@2
    57
#endif