CPSemaphore

Locks real mode workspace access.

Thread Context:Blocking

Syntax

    void CPSemaphore (
       LONG workSpaceSemaphore
       );
    
    

Parameters

workSpaceSemaphore
Handle to the workspace semaphore.

Remarks

CPSemaphore is used to lock the real mode workspace when making a BIOS call. This routine is called with interrupts disabled (NPA_Interrupt_Control) and interrupts remain disabled.

WARNING:Do not call this function to handle critical sections local to the driver.