os/boardsupport/emulator/emulatorbsp/inc/variantmediadef.h
author sl
Tue, 10 Jun 2014 14:32:02 +0200
changeset 1 260cb5ec6c19
permissions -rw-r--r--
Update contrib.
     1 // Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
     2 // All rights reserved.
     3 // This component and the accompanying materials are made available
     4 // under the terms of "Eclipse Public License v1.0"
     5 // which accompanies this distribution, and is available
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 //
     8 // Initial Contributors:
     9 // Nokia Corporation - initial contribution.
    10 //
    11 // Contributors:
    12 //
    13 // Description:
    14 // wins\inc\variantmediadef.h
    15 // Media definitions for the Wins Variant.
    16 // Each Media Driver requires the following definitions
    17 // DRIVECOUNT - The total number of local drive object to be assigned to the Media Driver (1-KMaxLocalDrives)
    18 // DRIVELIST - A list of the local drive numbers (each separated with a comma) to be assigned to the Media Driver.
    19 // Each in the range 0 - (KMaxLocalDrives-1). Total number of drive numbers must equal the value
    20 // of DRIVECOUNT.
    21 // NUMMEDIA - The total number of media objects to be assigned to the Media Driver.
    22 // DRIVENAME - A name for the drive group.
    23 // For the complete set of media definitions
    24 // - The total number of local drive objects assigned should not exceed KMaxLocalDrives.
    25 // - Each Media Driver should be assigned a unique set of drive numbers - no conflicts between Media Drivers.
    26 // - The total number of media objects assigned should not exceed KMaxLocalDrives.
    27 // 
    28 // WARNING: This file contains some APIs which are internal and are subject
    29 //          to change without notice. Such APIs should therefore not be used
    30 //          outside the Kernel and Hardware Services package.
    31 //
    32  
    33 #ifndef __VARIANTMEDIADEF_H__
    34 #define __VARIANTMEDIADEF_H__
    35 
    36 // Variant parameters for IRAM Media Driver (MEDINT.PDD)
    37 #define IRAM_DRIVECOUNT 1
    38 #define IRAM_DRIVELIST 0
    39 #define IRAM_NUMMEDIA 1	
    40 #define IRAM_DRIVENAME "IRam"
    41 
    42 // Variant parameters for LFFS Media Driver (MEDLFS.PDD)
    43 #define LFFS_DRIVECOUNT 1
    44 #define LFFS_DRIVELIST 8
    45 #define LFFS_NUMMEDIA 1	
    46 #define LFFS_DRIVENAME "Flash"
    47 
    48 // Variant parameters for the MMC Controller (EPBUSMMC.DLL)
    49 #define MMC0_DRIVECOUNT 4
    50 #define MMC0_DRIVELIST 1,2,3,4
    51 #define MMC0_NUMMEDIA 4	
    52 #define MMC0_DRIVENAME "MultiMediaCard0"
    53 
    54 // Variant parameters for NAND flash media driver 
    55 #define NAND_DRIVECOUNT 3
    56 #define NAND_DRIVELIST 5,6,9
    57 #define NAND_NUMMEDIA 1
    58 #define NAND_DRIVENAME "Nand"
    59 
    60 #endif