Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

How to ensure atomic execution of code in Windows Driver

Status
Not open for further replies.

Pinczakko

Full Member level 2
Full Member level 2
Joined
Jul 29, 2004
Messages
136
Helped
13
Reputation
26
Reaction score
0
Trophy points
1,296
Location
Taka Bonerate National Park, Indonesia
Activity points
1,592
Anyone have an idea how to ensure atomic execution of code in Windows Kernel mode driver?

I need this because my driver will run in multiprocessor system and I have to ensure that some of instruction is executed atomically. The reason for this is the routine is accessing the bus of the system without doing it through the Windows kernel API because th functionality is not provided by the kernel.

TIA,

Pinczakko
 

Use the interrupt request level (IRQL)priority scheme by claiming and releasing spin locks around critical code sections.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top