CoreNVG.h
上传用户:super_houu
上传日期:2008-09-21
资源大小:4099k
文件大小:2k
源码类别:

DVD

开发平台:

Others

  1. /****************************************************************************************
  2.  *  Copyright (c) 2002 ZORAN Corporation, All Rights Reserved
  3.  *  THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF ZORAN CORPORATION
  4.  *
  5.  *  File: $Workfile: CoreNVG.h $             
  6.  *
  7.  * Description: Interface for creating and manipulating a generic Array.
  8.  * ============
  9.  * 
  10.  * 
  11.  * Log:
  12.  * ====
  13.  * $Revision: 4 $
  14.  * Last Modified by $Author: Johnk $ at $Modtime: 4/01/04 11:17p $ 
  15.  ****************************************************************************************
  16.  * Updates:
  17.  ****************************************************************************************
  18.  * $Log: /I76/I76_Common/I76_Reference/Playcore/Coremain/CoreNVG.h $
  19.  * 
  20.  * 4     4/01/04 11:20p Johnk
  21.  * support HW POWER_ON_RESUME 
  22.  * 
  23.  * 3     03-05-27 22:40 Fwang
  24.  * Add NVM bookmark.
  25.  * 
  26.  * 2     03-02-17 17:26 Billt
  27.  * Add POWER_SEQUENCE_ON_EJECT
  28.  * 
  29.  * 3     23/04/02 9:28 Nirm
  30.  * - Added dependency in "Config.h".
  31.  * 
  32.  * 2     9/01/02 14:44 Nirm
  33.  * Corrected Include-Paths.
  34.  * 
  35.  * 1     26/12/01 14:57 Nirm
  36.  ****************************************************************************************/
  37. #include "Config.h" // Global Configuration - do not remove!
  38. #ifndef __CORENVG_H_
  39. #define __CORENVG_H_
  40. extern unsigned char g_power_state;
  41. extern unsigned char g_dl_state;
  42. extern unsigned char g_extram_content;
  43. #ifdef POWER_ON_RESUME
  44. extern unsigned short ResumeChecksum;
  45. extern unsigned char PonDVDBookmark;
  46. extern unsigned char BookmarkGPRM;
  47. extern unsigned char BookmarkSPRM_PGCN_NV_TMR;
  48. extern unsigned char BookmarkSPRM_NV_TMR;
  49. #endif //POWER_ON_RESUME
  50. #define POWER_SEQUENCE_IN_OFF_STATE 0xAA
  51. #define POWER_SEQUENCE_IN_ON_STATE 0x55
  52. #define POWER_SEQUENCE_OFF_REQUESTED 0xBB
  53. #define POWER_SEQUENCE_ON_REQUESTED 0x66
  54. #define POWER_SEQUENCE_ON_EJECT 0x33
  55. #define CD_NO_DOWNLOAD 0x00
  56. #define CD_REQUEST_USR_INPUT 0x11
  57. #define CD_PARTIAL_DOWNLOAD 0x22
  58. #define CD_TOTAL_DOWNLOAD 0x33
  59. #define CD_DONE_DOWNLOAD 0x44
  60. #define CD_FAILED_DOWNLOAD 0x55
  61. #define CD_CANCEL_DOWNLOAD CD_NO_DOWNLOAD
  62. #endif //__CORENVG_H_