Right now, there are 8 switching header files which must be implemented by
each ISA, and which are pointed to indirectly by generated headers at build
time. For instance, each ISA must implement an isa_traits.hh, and the
isa_traits.hh of the current ISA can be included with arch/isa_traits.hh.
These headers are:

decoder.hh
isa.hh
isa_traits.hh
locked_mem.hh
registers.hh
remote_gdb.hh
types.hh
utility.hh

Some of these headers have been substantially reduced, for instance
isa_traits.hh which only has the page size in it now, and one, utility.hh,
has actually been entirely eliminated in a chain of CLs which are still
inching through review.

One thing which makes this slightly trickier than it might otherwise be is
that, in addition to definitions which are actually needed outside of the
arch/ directory, people have put other things in these files over time
which makes it harder to tell which definitions are externally vs
internally facing.

What I would like to do is change the switching headers to have a slighty
different name, for instance isa_traits.exp.hh, where exp means "exported".
This new file would have the exported symbols, and the original file would
include it, and keep all the other stuff which is not exported.

Is there any reason not to do that?
Gabe
_______________________________________________
gem5-dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

Reply via email to