kfptr.c
上传用户:caisangzi8
上传日期:2013-10-25
资源大小:15756k
文件大小:2k
- //
- // FILE
- // kfptr.c
- //
- // kernel functional-pointer value
- //
- #include "config.h"
- #include "regmap.h"
- #ifndef SDRAM_16Mb_Mode //terry,2004/12/3 07:19PM
- #define SUPPORT_CVDOGT
- #define SUPPORT_SVCDOGT
- #define SUPPORT_FULLPEL
- #endif
- extern int nullfunc();
- extern int do_system_drop();
- //
- // CVD
- //
- extern int do_system_private1_70();
- extern int spd_decode_dcsq_cvd_func();
- extern int sup_update_cvd_func();
- #ifdef SUPPORT_CVDOGT
- const UINT8 kernel_support_svcdogt = 1;
- const void * const do_system_parse_cvdogt_fptr = do_system_private1_70;
- const void * const spd_decode_dcsq_cvd_fptr = spd_decode_dcsq_cvd_func;
- const void * const sup_update_cvd_fptr = sup_update_cvd_func;
- #else
- const UINT8 kernel_support_svcdogt = 0;
- const void * const do_system_parse_cvdogt_fptr = do_system_drop;
- const void * const spd_decode_dcsq_cvd_fptr = nullfunc;
- const void * const sup_update_cvd_fptr = nullfunc;
- #endif
- //
- // SVCD
- //
- extern int spd_create_svcdsph_header_func();
- extern int spd_decode_dcsq_svcd_func();
- extern int sup_update_svcd_func();
- #ifdef SUPPORT_SVCDOGT
- const void * const spd_create_svcdsph_header_fptr = spd_create_svcdsph_header_func;
- const void * const spd_decode_dcsq_svcd_fptr = spd_decode_dcsq_svcd_func;
- const void * const sup_update_svcd_fptr = sup_update_svcd_func;
- #else
- const void * const spd_create_svcdsph_header_fptr = nullfunc;
- const void * const spd_decode_dcsq_svcd_fptr = nullfunc;
- const void * const sup_update_svcd_fptr = nullfunc;
- #endif
- extern int do_video_dumping_fixfullpel();
- extern int reset_video_dumping_fixfullpel();
- extern int do_video_dumping_orig();
- extern int reset_video_dumping_orig();
- #ifdef SUPPORT_FULLPEL
- const void * const reset_video_dumping_fptr = reset_video_dumping_fixfullpel;
- const void * const do_video_dumping_fptr = do_video_dumping_fixfullpel;
- #else
- const void * const reset_video_dumping_fptr = reset_video_dumping_orig;
- const void * const do_video_dumping_fptr = do_video_dumping_orig;
- #endif