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?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.
Similar Threads
  1. kgs
    Replies:
    21
    Views:
    1,144
  2. Replies:
    4
    Views:
    523
    Hans-Bernhard Broeker
    Jul 5, 2005
  3. Replies:
    15
    Views:
    661
  4. Replies:
    1
    Views:
    450
  5. kishor

    Global variable sharing problem

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