This is the mail archive of the frysk@sourceware.org mailing list for the frysk project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: frysk-core/frysk proc/BankRegister.java proc/C ...


Andrew Cagney wrote:
I'm not sure what you mean, the offset/length are for within the specified register, and start is an offset into the byte buffer. Two things change: tThe code that implements register accesses isn't being moved to the task; but the way to access registers is now simpler, contrast:
Task.getRegister(IA32Register.XIP)
with:
Task.getIsa().getBankRegister("xip").getRegister(task)
the internals, though cleaned up will still be very similar.


Ok that makes much more sense. Thanks. The other api threw me, but if this is the eventual user facing api, that will be great.

Regards

Phil


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