msvdx_defs.h revision f91c8768670386683a281cc39141e21bdda9c97f
1/*
2 * Copyright (c) 2011 Intel Corporation. All Rights Reserved.
3 * Copyright (c) Imagination Technologies Limited, UK
4 *
5 * Permission is hereby granted, free of charge, to any person obtaining a
6 * copy of this software and associated documentation files (the
7 * "Software"), to deal in the Software without restriction, including
8 * without limitation the rights to use, copy, modify, merge, publish,
9 * distribute, sub license, and/or sell copies of the Software, and to
10 * permit persons to whom the Software is furnished to do so, subject to
11 * the following conditions:
12 *
13 * The above copyright notice and this permission notice (including the
14 * next paragraph) shall be included in all copies or substantial portions
15 * of the Software.
16 *
17 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
18 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
19 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.
20 * IN NO EVENT SHALL PRECISION INSIGHT AND/OR ITS SUPPLIERS BE LIABLE FOR
21 * ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
22 * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
23 * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
24 */
25
26
27/*!****************************************************************************
28@File                   msvdx_defs.h
29
30@Title                  System Description Header
31
32@Author                 Imagination Technologies
33
34@date                   20 Decemner 2006
35
36@Platform               generic
37
38@Description    This header provides hardware-specific declarations and macros
39
40@DoxygenVer
41
42******************************************************************************/
43
44/******************************************************************************
45Modifications :-
46
47$Log: msvdx_defs.h $
48*/
49
50#ifndef _MSVDX_DEFS_H_
51#define _MSVDX_DEFS_H_
52
53#define MSVDX_REG_SIZE  0x4000
54
55/* MSVDX Register base definitions                                                                                                              */
56#define REG_MSVDX_MTX_OFFSET            0x00000000
57#define REG_MSVDX_VDMC_OFFSET           0x00000400
58#define REG_MSVDX_VDEB_OFFSET           0x00000480
59#define REG_MSVDX_DMAC_OFFSET           0x00000500
60#define REG_MSVDX_SYS_OFFSET            0x00000600
61#define REG_MSVDX_VEC_IQRAM_OFFSET      0x00000700
62#define REG_MSVDX_VEC_OFFSET            0x00000800
63#define REG_MSVDX_CMD_OFFSET            0x00001000
64#define REG_MSVDX_VEC_RAM_OFFSET        0x00002000
65#define REG_MSVDX_VEC_VLC_OFFSET        0x00003000
66
67#define REG_MSVDX_MTX_SIZE                      0x00000400
68#define REG_MSVDX_VDMC_SIZE                     0x00000080
69#define REG_MSVDX_VDEB_SIZE                     0x00000080
70#define REG_MSVDX_DMAC_SIZE                     0x00000100
71#define REG_MSVDX_SYS_SIZE                      0x00000100
72#define REG_MSVDX_VEC_IQRAM_SIZE        0x00000100
73#define REG_MSVDX_VEC_SIZE                      0x00000800
74#define REG_MSVDX_CMD_SIZE                      0x00001000
75#define REG_MSVDX_VEC_RAM_SIZE          0x00001000
76#define REG_MSVDX_VEC_VLC_SIZE          0x00002000
77
78#endif /* _MSVDX_DEFS_H_ */
79