00001 #ifndef nphdef_h 00002 #define nphdef_h 00003 00004 #define NPH_C_ALONONPAGED 0 00005 #define NPH_C_ALONPAGVAR 1 00006 #define NPH_C_DEANONPAGED 2 00007 #define NPH_C_DEANONPGDSIZ 3 00008 #define NPH_C_ALLOCATE_POOL_NPP 4 00009 #define NPH_C_ALLOCATE_POOL_NPP_ALIGNED 5 00010 #define NPH_C_DEALLOCATE_POOL_NPP 6 00011 #define NPH_C_DEALLOCATE_POOL_NPP_SIZED 7 00012 #define NPH_C_ALLOCATE_POOL_BAP 8 00013 #define NPH_C_ALLOCATE_POOL_BAP_ALIGNED 9 00014 #define NPH_C_DEALLOCATE_POOL_BAP 10 00015 #define NPH_C_DEALLOCATE_POOL_BAP_SIZED 11 00016 #define NPH_C_POOLZONE_ALLOCATE 12 00017 #define NPH_C_POOLZONE_DEALLOCATE 13 00018 #define NPH_C_BAP_NOT_CONTIGUOUS 14 00019 #define NPH_C_ALLOCATE_POOL_NPP_VAR 15 00020 #define NPH_C_ALLOCATE_POOL_BAP_VAR 16 00021 #define NPH_C_ALONONPAGED_ALN 17 00022 #define NPH_C_EXPAND_NPP 18 00023 #define NPH_C_EXPAND_BAP 19 00024 #define NPH_C_MAX_FUNC_TYPE 20 00025 #define NPH_S_NPHDEF 32 00026 00027 struct _nph { 00028 union { 00029 unsigned unsigned long long nph_q_addr; 00030 struct { 00031 unsigned int nph_l_addr_low; 00032 unsigned int nph_l_addr_high; 00033 }; 00034 }; 00035 int (*nph_l_pc)(); 00036 unsigned short int nph_w_function; 00037 unsigned char nph_b_type; 00038 unsigned char nph_b_rmod; 00039 unsigned int nph_l_size; 00040 unsigned char nph_b_ipl; 00041 unsigned char nph_b_cpu; 00042 unsigned short int nph_w_unused; 00043 union { 00044 unsigned long long nph_q_time; 00045 struct { 00046 unsigned int nph_l_time_low; 00047 unsigned int nph_l_time_high; 00048 }; 00049 }; 00050 }; 00051 00052 #endif 00053 00054