kernel/eka/drivers/medmmc/bgahsmmcptn.h
branchRCL_3
changeset 257 3e88ff8f41d5
parent 256 c1f20ce4abcf
equal deleted inserted replaced
256:c1f20ce4abcf 257:3e88ff8f41d5
    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		16 /* MMC1_DRIVECOUNT - defined in variantmediadef.h */
    36 #define BGAHSMMCPTN_LAST_DRIVE		7 /* 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 
       
    68 #endif /*BGAHSMMCPTN_H*/
    65 #endif /*BGAHSMMCPTN_H*/