kernel/eka/drivers/medmmc/bgahsmmcptn.h
changeset 247 d8d70de2bd36
parent 90 947f0dc9f7a8
child 257 3e88ff8f41d5
child 300 1d28c8722707
equal deleted inserted replaced
201:43365a9b78a3 247:d8d70de2bd36
    31 #define BGAHSMMCPTN_PI_VER_MINOR	1
    31 #define BGAHSMMCPTN_PI_VER_MINOR	1
    32 
    32 
    33 /* Partition type field supported from version 1.1 onwards */
    33 /* Partition type field supported from version 1.1 onwards */
    34 #define BGAHSMMCPTN_PART_TYPE_SUPP_VER_MINOR    1
    34 #define BGAHSMMCPTN_PART_TYPE_SUPP_VER_MINOR    1
    35 
    35 
    36 #define BGAHSMMCPTN_LAST_DRIVE		7 /* MMC1_DRIVECOUNT - defined in variantmediadef.h */
    36 #define BGAHSMMCPTN_LAST_DRIVE		16 /* MMC1_DRIVECOUNT - defined in variantmediadef.h */
    37 
    37 
    38 typedef struct
    38 typedef struct
    39 {
    39 {
    40 	TUint32 iStart_sector;			/* Partition start sector */
    40 	TUint32 iStart_sector;			/* Partition start sector */
    41 	TUint32 iSize;					/* Partition size in sectors */
    41 	TUint32 iSize;					/* Partition size in sectors */
    60 	BGAHSMMCPTN_PART_STR iPartitions[BGAHSMMCPTN_LAST_DRIVE];	
    60 	BGAHSMMCPTN_PART_STR iPartitions[BGAHSMMCPTN_LAST_DRIVE];	
    61 } BGAHSMMCPTN_PI_STR;
    61 } BGAHSMMCPTN_PI_STR;
    62 
    62 
    63 #define BGAHSMMCPTN_PI_STR_SIZE sizeof( BGAHSMMCPTN_PI_STR )
    63 #define BGAHSMMCPTN_PI_STR_SIZE sizeof( BGAHSMMCPTN_PI_STR )
    64 
    64 
       
    65 const TUint32 KBB5HeaderSizeInSectors   = 8;
       
    66 const TUint32 KPIOffsetFromMediaEnd     = 1;
       
    67 
    65 #endif /*BGAHSMMCPTN_H*/
    68 #endif /*BGAHSMMCPTN_H*/