I don't think devices do anything on functional accesses; you probably want
an atomic access.  That shouldn't be a problem as long as the memory system
is not in timing mode.  Is this just for kvm initialization or does it occur
during normal operation?

Is it possible just to make the access just look like it's coming from
cpu0?  That seems easiest to me.

Steve

On Sun, May 31, 2009 at 12:03 PM, Gabe Black <[email protected]> wrote:

>    Is there a way to perform what amounts to a functional access to
> everything out there (including devices) from a system object? I've got
> KVM starting up and trying to access devices, but it does it in a way
> where the access comes from KVM as one big entity rather than from a CPU
> within it. It also expects to get an answer by the time the function
> returns, I believe, so functional or maybe atomic accesses are the way
> to go. I considered using the functional port on the system object, but
> it looks like that connects directly to the physmem and would ignore all
> the devices.
>
> Gabe
> _______________________________________________
> m5-dev mailing list
> [email protected]
> http://m5sim.org/mailman/listinfo/m5-dev
>
_______________________________________________
m5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/m5-dev

Reply via email to