C++程序  |  166行  |  5.97 KB

#ifndef NVC0_M2MF_XML
#define NVC0_M2MF_XML

/* Autogenerated file, DO NOT EDIT manually!

This file was generated by the rules-ng-ng headergen tool in this git repository:
http://github.com/envytools/envytools/
git clone https://github.com/envytools/envytools.git

The rules-ng-ng source files this header was generated from are:
- rnndb/graph/gf100_m2mf.xml (   2783 bytes, from 2014-09-25 06:32:11)
- rnndb/copyright.xml        (   6456 bytes, from 2014-12-31 02:13:31)
- rnndb/fifo/nv_object.xml   (  15326 bytes, from 2014-09-25 06:32:11)
- rnndb/nvchipsets.xml       (   2759 bytes, from 2014-10-05 01:51:02)
- rnndb/g80_defs.xml         (  18175 bytes, from 2014-09-25 06:32:11)

Copyright (C) 2006-2014 by the following authors:
- Artur Huillet <arthur.huillet@free.fr> (ahuillet)
- Ben Skeggs (darktama, darktama_)
- B. R. <koala_br@users.sourceforge.net> (koala_br)
- Carlos Martin <carlosmn@users.sf.net> (carlosmn)
- Christoph Bumiller <e0425955@student.tuwien.ac.at> (calim, chrisbmr)
- Dawid Gajownik <gajownik@users.sf.net> (gajownik)
- Dmitry Baryshkov
- Dmitry Eremin-Solenikov <lumag@users.sf.net> (lumag)
- EdB <edb_@users.sf.net> (edb_)
- Erik Waling <erikwailing@users.sf.net> (erikwaling)
- Francisco Jerez <currojerez@riseup.net> (curro)
- Ilia Mirkin <imirkin@alum.mit.edu> (imirkin)
- jb17bsome <jb17bsome@bellsouth.net> (jb17bsome)
- Jeremy Kolb <kjeremy@users.sf.net> (kjeremy)
- Laurent Carlier <lordheavym@gmail.com> (lordheavy)
- Luca Barbieri <luca@luca-barbieri.com> (lb, lb1)
- Maarten Maathuis <madman2003@gmail.com> (stillunknown)
- Marcin Kościelnicki <koriakin@0x04.net> (mwk, koriakin)
- Mark Carey <mark.carey@gmail.com> (careym)
- Matthieu Castet <matthieu.castet@parrot.com> (mat-c)
- nvidiaman <nvidiaman@users.sf.net> (nvidiaman)
- Patrice Mandin <patmandin@gmail.com> (pmandin, pmdata)
- Pekka Paalanen <pq@iki.fi> (pq, ppaalanen)
- Peter Popov <ironpeter@users.sf.net> (ironpeter)
- Richard Hughes <hughsient@users.sf.net> (hughsient)
- Rudi Cilibrasi <cilibrar@users.sf.net> (cilibrar)
- Serge Martin
- Simon Raffeiner
- Stephane Loeuillet <leroutier@users.sf.net> (leroutier)
- Stephane Marchesin <stephane.marchesin@gmail.com> (marcheu)
- sturmflut <sturmflut@users.sf.net> (sturmflut)
- Sylvain Munaut <tnt@246tNt.com>
- Victor Stinner <victor.stinner@haypocalc.com> (haypo)
- Wladmir van der Laan <laanwj@gmail.com> (miathan6)
- Younes Manton <younes.m@gmail.com> (ymanton)

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:

The above copyright notice and this permission notice (including the
next paragraph) shall be included in all copies or substantial
portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE COPYRIGHT OWNER(S) AND/OR ITS SUPPLIERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/



#define NVC0_M2MF_TILING_MODE_IN				0x00000204

#define NVC0_M2MF_TILING_PITCH_IN				0x00000208

#define NVC0_M2MF_TILING_HEIGHT_IN				0x0000020c

#define NVC0_M2MF_TILING_DEPTH_IN				0x00000210

#define NVC0_M2MF_TILING_POSITION_IN_Z				0x00000214

#define NVC0_M2MF_TILING_MODE_OUT				0x00000220

#define NVC0_M2MF_TILING_PITCH_OUT				0x00000224

#define NVC0_M2MF_TILING_HEIGHT_OUT				0x00000228

#define NVC0_M2MF_TILING_DEPTH_OUT				0x0000022c

#define NVC0_M2MF_TILING_POSITION_OUT_Z			0x00000230

#define NVC0_M2MF_OFFSET_OUT_HIGH				0x00000238

#define NVC0_M2MF_OFFSET_OUT_LOW				0x0000023c

#define NVC0_M2MF_UNK0240(i0)				       (0x00000240 + 0x4*(i0))
#define NVC0_M2MF_UNK0240__ESIZE				0x00000004
#define NVC0_M2MF_UNK0240__LEN					0x0000000f

#define NVC0_M2MF_FIRMWARE(i0)				       (0x0000027c + 0x4*(i0))
#define NVC0_M2MF_FIRMWARE__ESIZE				0x00000004
#define NVC0_M2MF_FIRMWARE__LEN				0x00000020

#define NVC0_M2MF_UNK02FC					0x000002fc

#define NVC0_M2MF_EXEC						0x00000300
#define NVC0_M2MF_EXEC_PUSH					0x00000001
#define NVC0_M2MF_EXEC_LINEAR_IN				0x00000010
#define NVC0_M2MF_EXEC_LINEAR_OUT				0x00000100
#define NVC0_M2MF_EXEC_QUERY__MASK				0x00003000
#define NVC0_M2MF_EXEC_QUERY__SHIFT				12
#define NVC0_M2MF_EXEC_QUERY_NO				0x00000000
#define NVC0_M2MF_EXEC_QUERY_UNK1				0x00001000
#define NVC0_M2MF_EXEC_QUERY_YES				0x00002000
#define NVC0_M2MF_EXEC_BUF_NOTIFY				0x00030000
#define NVC0_M2MF_EXEC_QUERY_SHORT				0x00100000

#define NVC0_M2MF_DATA						0x00000304

#define NVC0_M2MF_UNK308					0x00000308

#define NVC0_M2MF_OFFSET_IN_HIGH				0x0000030c

#define NVC0_M2MF_OFFSET_IN_LOW				0x00000310

#define NVC0_M2MF_PITCH_IN					0x00000314

#define NVC0_M2MF_PITCH_OUT					0x00000318

#define NVC0_M2MF_LINE_LENGTH_IN				0x0000031c

#define NVC0_M2MF_LINE_COUNT					0x00000320

#define NVC0_M2MF_QUERY_ADDRESS_HIGH				0x0000032c

#define NVC0_M2MF_QUERY_ADDRESS_LOW				0x00000330

#define NVC0_M2MF_QUERY_SEQUENCE				0x00000334

#define NVC0_M2MF_COND_ADDRESS_HIGH				0x00000338

#define NVC0_M2MF_COND_ADDRESS_LOW				0x0000033c

#define NVC0_M2MF_COND_MODE					0x00000340
#define NVC0_M2MF_COND_MODE_NEVER				0x00000000
#define NVC0_M2MF_COND_MODE_ALWAYS				0x00000001
#define NVC0_M2MF_COND_MODE_RES_NON_ZERO			0x00000002
#define NVC0_M2MF_COND_MODE_EQUAL				0x00000003
#define NVC0_M2MF_COND_MODE_NOT_EQUAL				0x00000004

#define NVC0_M2MF_TILING_POSITION_IN_X				0x00000344

#define NVC0_M2MF_TILING_POSITION_IN_Y				0x00000348

#define NVC0_M2MF_TILING_POSITION_OUT_X			0x0000034c

#define NVC0_M2MF_TILING_POSITION_OUT_Y			0x00000350


#endif /* NVC0_M2MF_XML */