hw.h
上传用户:poi891205
上传日期:2013-07-15
资源大小:9745k
文件大小:2k
源码类别:

DVD

开发平台:

C/C++

  1. #ifndef __HW_H
  2. #define __HW_H
  3. #include "hwif.h"
  4. // 
  5. // system reset
  6. #define HW_RESET_GLOBAL (1<<0) // 1-shot global reset
  7. #define HW_RESET_RISC (1<<1)
  8. #define HW_RESET_BOOTROM (1<<2)
  9. #define HW_RESET_FLASHIF (1<<3)
  10. #define HW_RESET_RI (1<<4) // RISC interface
  11. #define HW_RESET_SDCTRL (1<<5) // SDRAM controller
  12. #define HW_RESET_AGDC (1<<6)
  13. #define HW_RESET_GRFX (1<<7) // graphics hardware
  14. #define HW_RESET_PARM (1<<8) // video decoding parameter
  15. #define HW_RESET_IDCT (1<<9)
  16. #define HW_RESET_INVQ (1<<10)
  17. #define HW_RESET_VLD (1<<11)
  18. #define HW_RESET_MC         (1<<12)
  19. #define HW_RESET_TRANS (1<<13)
  20. #define HW_RESET_MMU (1<<14)
  21. #define HW_RESET_BUFCTL (1<<15) // buffer control
  22. #define HW_RESET_OGT (1<<0)
  23. #define HW_RESET_VPP (1<<1)
  24. #define HW_RESET_OSD (1<<2)
  25. #define HW_RESET_TV (1<<3)
  26. #define HW_RESET_IOP (1<<4)
  27. #define HW_RESET_DSP (1<<5)
  28. #define HW_RESET_STC (1<<6)
  29. #define HW_RESET_CD (1<<7)
  30. #define HW_RESET_HOST_CSS (1<<8)
  31. #define HW_RESET_LPT (1<<9)
  32. #define HW_RESET_UA0 (1<<10)
  33. #define HW_RESET_UA1 (1<<11)
  34. #define HW_RESET_TDM (1<<12)         // 1000
  35. #define HW_RESET_BOOT_STRAP (1<<13)         // 2000
  36. #define HW_RESET_BRIDGE (1<<14)         // 4000
  37. #define HW_RESET_SRV (1<<15)         // 8000 useless
  38. #define HW_RESET_HOST           HW_RESET_HOST_CSS
  39. #define HW_RESET_CSS            HW_RESET_HOST_CSS
  40. #define HW_CLKEN0_VLD           HW_RESET_VLD
  41. #define HW_CLKEN0_INVQ          HW_RESET_INVQ
  42. #define HW_CLKEN0_IDCT          HW_RESET_IDCT
  43. #define HW_CLKEN0_MC            HW_RESET_MC
  44. #define HW_CLKEN0_TRANS         HW_RESET_TRANS
  45. #define HW_CLKEN0_BUFCTL        HW_RESET_BUFCTL
  46. #define HW_CLKEN0_GRFX          HW_RESET_GRFX
  47. #define HW_CLKEN1_HOST_CSS      HW_RESET_HOST_CSS
  48. #endif/*__HW_H*/