]> sourceware.org Git - cgen.git/commitdiff
2003-01-07 Graydon Hoare <graydon@redhat.com>
authorBen Elliston <bje@air.not.au>
Thu, 9 Jan 2003 03:15:42 +0000 (03:15 +0000)
committerBen Elliston <bje@air.not.au>
Thu, 9 Jan 2003 03:15:42 +0000 (03:15 +0000)
* utils-gen.scm (attr-int-gen-defn): Define.

ChangeLog
utils-gen.scm

index 351b724ecc3cbf0f93a654f5feb56dd8ed81bb87..5db6394b8d23ad879da15dc57f60f43cf768f496 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,9 +1,12 @@
-2003-01-09  Ben Elliston  <bje@redhat.com>
+2003-01-09  Graydon Hoare  <graydon@redhat.com>
 
-        From Graydon Hoare <graydon@redhat.com>:
        * utils-sim.scm (-gen-decoder-switch): Fix edge condition for
        empty ISAs.
 
+2003-01-07  Graydon Hoare  <graydon@redhat.com>
+
+       * utils-gen.scm (attr-int-gen-defn): Define.
+
 2002-12-21  Doug Evans  <dje@sebabeach.org>
 
        * ifield.scm (-ifield-parse): Rewrite <bitrange> computation.
index e51900ac58998e1fd213db07e161468aa2d9c09a..487e7326047551e88aa46d7ad28c4d091131f6ce 100644 (file)
 
 (define (attr-int-gen-decl attr) "")
 
-(define (attr-int-gen-defn attr) "")
+(define (attr-int-gen-defn attr) 
+  (string-append
+   "static const CGEN_ATTR_ENTRY " (gen-sym attr)
+   "_attr [] = \n{\n  {\"integer\", " (number->string (attr-default attr)) "},\n  { 0, 0 }\n};\n\n" ))
 
 (define (attr-gen-decl attr)
   (gen-enum-decl (symbol-append (obj:name attr) '-attr)
This page took 0.033232 seconds and 5 git commands to generate.