source: svn/trunk/newcon3bcm2_21bu/BSEAV/lib/si/common/si.h @ 9

Last change on this file since 9 was 2, checked in by jglee, 11 years ago

first commit

  • Property svn:executable set to *
File size: 1.8 KB
Line 
1/***************************************************************
2**
3** Broadcom Corp. Confidential
4** Copyright 2003-2008 Broadcom Corp. All Rights Reserved.
5**
6** THIS SOFTWARE MAY ONLY BE USED SUBJECT TO AN EXECUTED
7** SOFTWARE LICENSE AGREEMENT BETWEEN THE USER AND BROADCOM.
8** YOU HAVE NO RIGHT TO USE OR EXPLOIT THIS MATERIAL EXCEPT
9** SUBJECT TO THE TERMS OF SUCH AN AGREEMENT.
10**
11** File:                si.h
12** Description: defines for SI tables.
13**
14** Created: 03/08/2001
15**
16** REVISION:
17**
18** $Log: $
19**
20**
21****************************************************************/
22#ifndef SI_H
23#define SI_H
24
25#define SI_NIT_TABLE_ID 0xc2
26#define SI_NTT_TABLE_ID 0xc3
27#define SI_SVCT_TABLE_ID 0xc4
28#define SI_STT_TABLE_ID 0xc5
29#define SI_MGT_TABLE_ID 0xc7
30#define SI_LVCT_TABLE_ID 0xc9
31#define SI_RRT_TABLE_ID 0xca
32#define SI_AEIT_TABLE_ID        0xd6
33#define SI_AETT_TABLE_ID        0xd7
34#define SI_EA_TABLE_ID  0xd8
35
36/* A56 support */
37#define SI_NIM_TABLE_ID 0xc2
38#define SI_NTM_TABLE_ID 0xc3
39#define SI_VCM_TABLE_ID 0xc4
40
41#define SI_CURRENT_PROTOCOL_VERSION 0x00
42#define SI_CURRENT_AEIT_SUBTYPE  0x00
43#define SI_CURRENT_AETT_SUBTYPE  0x00
44
45#define SI_NORMAL_SECTION_LENGTH        1024    /* 1024  */
46#define SI_LONG_SECTION_LENGTH  4096    /* 4096 */
47
48#define SI_CRC_LENGTH           4
49
50/* AEIT0-1/AETT0-1, AEIT2-3/AETT2-3, AEIT4-255/AETT4-255. */ 
51#define SI_MAX_AEIT_AETT_NUM_PID        3
52
53#define MAX_PAST_AEXT_N         8    /* keep 24hr of history. */
54
55typedef enum
56{
57        SI_SUCCESS,
58        SI_WARNING, 
59        SI_TABLE_ID_ERROR,
60        SI_PROTOCOL_VER_ERROR,
61        SI_SECTION_LENGTH_ERROR,
62        SI_SECTION_NUMBER_ERROR,
63        SI_CURRENT_NEXT_INDICATOR_ERROR,
64        SI_DESCRIPTOR_ERROR,
65        SI_CRC_ERROR,
66        SI_APP_ERROR,
67        SI_NO_MEMORY,
68        SI_NULL_POINTER,
69        SI_AEIT_LIST_ERROR,
70        SI_AETT_LIST_ERROR,
71        SI_AEIT_LIST_NOT_READY,
72        SI_AETT_LIST_NOT_READY,
73        SI_OTHER_ERROR,
74        SI_NOT_SUPPORTED_ERROR,
75        SI_TABLE_TYPE_ERROR,
76}SI_RET_CODE;
77
78
79
80
81#endif
Note: See TracBrowser for help on using the repository browser.