Hello everyone. Thanks for taking the time to review this post. Can any of you tell me how can I write code which by passes any Windows API on how to power on and making active a secondary CPU core ? The key note here is by passing the use of any Windows API. I need to write code that communicates directly with the main or primary core via Assembly or C. I am aware of the requirement of reviewing the respective datasheet but would anyone have any code samples for either architecture which I could use a basis of understanding the overall process. Please feel free to ask any questions or make any comments or recommendations. I'm not certain that this can be done by way of a user mode application but perhaps someone can provide details on how to do this either by way of kernel mode or user mode.
Hello,
the communication can be made through a block of memory guarded by a lock. You can implement your own locks by using intristics like InterlockedExchange or InterlckedCompareExchange (or take a look at cmpxchg, cmpxchg8b and similar instructions, including the lock prefix).