diff e1000_add_register_unset.patch @ 78:501bf9cf65dc

wip on e1000 add some fixes for the generation and check that it works on tip
author Louis Opter <louis@lse.epitech.net>
date Sun, 04 Mar 2012 18:55:20 +0100
parents ff90ee2fe1c4
children
line wrap: on
line diff
--- a/e1000_add_register_unset.patch	Sun Mar 04 18:35:43 2012 +0100
+++ b/e1000_add_register_unset.patch	Sun Mar 04 18:55:20 2012 +0100
@@ -1,5 +1,5 @@
 # HG changeset patch
-# Parent cd5050576637389b1ec0086faafc035596de237c
+# Parent eb6bb1687169662741a6bd57191b750b3bcbb6b7
 rathaxes: add the e1000::register_unset32() function
 
 diff --git a/rathaxes/samples/e1000/e1000.blt b/rathaxes/samples/e1000/e1000.blt
@@ -24,7 +24,7 @@
 +            }
 +        }
 +
-+        chunk   ::CALL
++        chunk   ::CALL()
 +        {
 +            rtx_e1000_register_unset32(${ctx}, ${reg_offset}, ${value});
 +        }
@@ -36,15 +36,15 @@
 diff --git a/rathaxes/samples/e1000/e1000.rti b/rathaxes/samples/e1000/e1000.rti
 --- a/rathaxes/samples/e1000/e1000.rti
 +++ b/rathaxes/samples/e1000/e1000.rti
-@@ -82,4 +82,11 @@
-         provided chunk  LKM::code;
-         provided chunk  ::CALL;
+@@ -80,4 +80,11 @@
+         provided chunk  LKM::code();
+         provided chunk  ::CALL();
      }
 +
 +    provided sequence   e1000::register_unset32(e1000::Context, e1000::Register, ::number)
 +    {
-+        provided chunk  LKM::prototypes;
-+        provided chunk  LKM::code;
-+        provided chunk  ::CALL;
++        provided chunk  LKM::prototypes();
++        provided chunk  LKM::code();
++        provided chunk  ::CALL();
 +    }
  }