Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to make the 2 CPUs access a global unaligned variable at the same time?

3 views
Skip to first unread message

Steven Zhou

unread,
Jul 31, 2011, 7:29:28 AM7/31/11
to
Hello,

I want to test the atomic access API of my OS.

Assume that my test board has 4 CPUs (CPU0 ~ CPU3) and I want the
CPU2 and CPU3 to access a global unaligned 32-bit variable
simultaneously. How to implement this test by the means of software?
Trigger IPI to the logical group including CPU2 and CPU3?
Or any suggestion?

Thanks in advance.

Steven Zhou

unread,
Jul 31, 2011, 10:24:01 AM7/31/11
to
0 new messages