Hello list,

I've been thinking of consolidating the multiple copies of this header into
one place.  The copies I'm aware of (there may be more) are:

or1ksim/testsuite/test-code-or1k/support/spr-defs.h
or1ksim/cpu/or1k/spr-defs.h
or1k-src/sim/testsuite/sim/or1k/spr-defs.h
or1k-src/newlib/libc/machine/or1k/include/spr-defs.h

I think the best way to do this is to make a new package (or1k-headers) and
put it into this package.  The new package will have to be installed prior
to any other components of the toolchain.

I was also thinking of separating the NOP_* defines out from this header
into its own file, perhaps called or1k-nop.h.  This file will also be in
the or1k-headers package.

And since I've brought it up, I wonder if the name "spr-defs.h" isn't
descriptive enough.  Maybe "or1k-sprs.h" would be a better name for it?
 And perhaps we can use the new name to help with migrating to the new
package.  (I.e. if a package uses the old name, it hasn't been migrated
yet.)

Does anyone have any objections or other input?

-Pete
_______________________________________________
OpenRISC mailing list
[email protected]
http://lists.openrisc.net/listinfo/openrisc

Reply via email to