os/boardsupport/emulator/emulatorbsp/inc/variantmediadef.h
changeset 0 bde4ae8d615e
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/os/boardsupport/emulator/emulatorbsp/inc/variantmediadef.h	Fri Jun 15 03:10:57 2012 +0200
     1.3 @@ -0,0 +1,60 @@
     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 "Eclipse Public License v1.0"
     1.8 +// which accompanies this distribution, and is available
     1.9 +// at the URL "http://www.eclipse.org/legal/epl-v10.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 +// WARNING: This file contains some APIs which are internal and are subject
    1.32 +//          to change without notice. Such APIs should therefore not be used
    1.33 +//          outside the Kernel and Hardware Services package.
    1.34 +//
    1.35 + 
    1.36 +#ifndef __VARIANTMEDIADEF_H__
    1.37 +#define __VARIANTMEDIADEF_H__
    1.38 +
    1.39 +// Variant parameters for IRAM Media Driver (MEDINT.PDD)
    1.40 +#define IRAM_DRIVECOUNT 1
    1.41 +#define IRAM_DRIVELIST 0
    1.42 +#define IRAM_NUMMEDIA 1	
    1.43 +#define IRAM_DRIVENAME "IRam"
    1.44 +
    1.45 +// Variant parameters for LFFS Media Driver (MEDLFS.PDD)
    1.46 +#define LFFS_DRIVECOUNT 1
    1.47 +#define LFFS_DRIVELIST 8
    1.48 +#define LFFS_NUMMEDIA 1	
    1.49 +#define LFFS_DRIVENAME "Flash"
    1.50 +
    1.51 +// Variant parameters for the MMC Controller (EPBUSMMC.DLL)
    1.52 +#define MMC0_DRIVECOUNT 4
    1.53 +#define MMC0_DRIVELIST 1,2,3,4
    1.54 +#define MMC0_NUMMEDIA 4	
    1.55 +#define MMC0_DRIVENAME "MultiMediaCard0"
    1.56 +
    1.57 +// Variant parameters for NAND flash media driver 
    1.58 +#define NAND_DRIVECOUNT 3
    1.59 +#define NAND_DRIVELIST 5,6,9
    1.60 +#define NAND_NUMMEDIA 1
    1.61 +#define NAND_DRIVENAME "Nand"
    1.62 +
    1.63 +#endif