How to make the 2 CPUs access a global unaligned variable at the same time?
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. |
All times are GMT +1. The time now is 08:19 PM. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
HardwareBanter.com