1. This forum section is a read-only archive which contains old newsgroup posts. If you wish to post a query, please do so in one of our main forum sections (here). This way you will get a faster, better response from the members on Motherboard Point.

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

Discussion in 'Intel' started by Steven Zhou, Jul 31, 2011.

  1. Steven Zhou

    Steven Zhou Guest

    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, Jul 31, 2011
    #1
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. kgs
    Replies:
    21
    Views:
    1,091
  2. Replies:
    4
    Views:
    500
    Hans-Bernhard Broeker
    Jul 5, 2005
  3. Replies:
    15
    Views:
    637
  4. Replies:
    1
    Views:
    412
  5. kishor

    Global variable sharing problem

    kishor, Mar 16, 2009, in forum: Embedded
    Replies:
    3
    Views:
    379
    kishor
    Mar 18, 2009
  6. Steven Zhou
    Replies:
    0
    Views:
    489
    Steven Zhou
    Jul 31, 2011
  7. kishor
    Replies:
    7
    Views:
    2,958
    kishor
    Sep 19, 2011
  8. alb
    Replies:
    7
    Views:
    637
    Tim Wescott
    Mar 14, 2012
Loading...