00001 #ifndef ihvndef_h 00002 #define ihvndef_h 00003 00004 #define IHVN_M_SUBVERSION_MINOR_ID 0xFFFF 00005 #define IHVN_M_SUBVERSION_MAJOR_ID 0xFFFF0000 00006 00007 struct _img_version_array { 00008 unsigned int ihvn_l_subsystem_mask; 00009 union { 00010 unsigned int ihvn_l_subversion_array; 00011 struct { 00012 unsigned ihvn_v_subversion_minor_id : 16; 00013 unsigned ihvn_v_subversion_major_id : 16; 00014 }; 00015 }; 00016 }; 00017 00018 #define IHVN_M_VERSION_MINOR_ID 0xFFFFFF 00019 #define IHVN_M_VERSION_MAJOR_ID 0xFF000000 00020 00021 struct _img_overall_version { 00022 union { 00023 int ihvn_l_version_bits; 00024 struct { 00025 unsigned ihvn_v_version_minor_id : 24; 00026 unsigned ihvn_v_version_major_id : 8; 00027 }; 00028 }; 00029 }; 00030 00031 #endif 00032 00033