summaryrefslogtreecommitdiff
path: root/faults
diff options
context:
space:
mode:
authorLuca Barbieri <luca@luca-barbieri.com>2010-03-28 16:19:09 +0200
committerLuca Barbieri <luca@luca-barbieri.com>2010-03-28 16:19:09 +0200
commitd8d0bbceb72db5c890db41b3b04143e16b3fa5c7 (patch)
treedfe1d99e60f65a31aea2ebb6ac5f8a1e846e4e43 /faults
parent88b41fade1feb8fb15bf95a9ba3c4919b8203907 (diff)
add injectable fault scripts
Diffstat (limited to 'faults')
-rw-r--r--faults/nv34/dma_vtx_protection.txt6
-rw-r--r--faults/nv34/illegal_mthd.txt1
-rw-r--r--faults/nv40/limit_zeta.txt3
3 files changed, 10 insertions, 0 deletions
diff --git a/faults/nv34/dma_vtx_protection.txt b/faults/nv34/dma_vtx_protection.txt
new file mode 100644
index 0000000..abc76a7
--- /dev/null
+++ b/faults/nv34/dma_vtx_protection.txt
@@ -0,0 +1,6 @@
+NV34TCL:VERTEX_BEGIN_END = NV34TCL_VERTEX_BEGIN_END_TRIANGLES
+NV34TCL:VB_ELEMENT_U32 = 0x7fffffff
+NV34TCL:VB_ELEMENT_U32 = 0x7fffffff
+NV34TCL:VB_ELEMENT_U32 = 0x7fffffff
+NV34TCL:VERTEX_BEGIN_END = NV34TCL_VERTEX_BEGIN_END_STOP
+
diff --git a/faults/nv34/illegal_mthd.txt b/faults/nv34/illegal_mthd.txt
new file mode 100644
index 0000000..1363979
--- /dev/null
+++ b/faults/nv34/illegal_mthd.txt
@@ -0,0 +1 @@
+NV34TCL 0x1fc = 0
diff --git a/faults/nv40/limit_zeta.txt b/faults/nv40/limit_zeta.txt
new file mode 100644
index 0000000..7e21a82
--- /dev/null
+++ b/faults/nv40/limit_zeta.txt
@@ -0,0 +1,3 @@
+NV40TCL:ZETA_PITCH = 256
+NV34TCL:CLEAR_BUFFERS = NV34TCL_CLEAR_BUFFERS_DEPTH
+