This is the mail archive of the cgen@sources.redhat.com mailing list for the CGEN project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

CGEN: Program vs Data Memory


Dave Brolley writes:
 > The port I'm working on has a harvard Architecture with separate program
 > and data memory, both addressed from 0 to 4M. Does CGEN have anything
 > for handling this, or should I just map references to data memory myself
 > by adding 4M? How do I communicate this to gdb?

Depends, I guess.

There is the hardware "selector" facility which was added to
support things like sparc's ASI's.  Maybe that could be used
[not saying you won't run into some unimplemented things though].

You need to elaborate on your gdb question.
How is this relevant to cgen?

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]