File:  [WindowsNT SDKs] / ntddk / src / video / displays / jz484 / sync.c
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Thu Aug 9 18:31:12 2018 UTC (7 years, 9 months ago) by root
Branches: msft, MAIN
CVS tags: ntddk-nov-1993, HEAD
Microsoft Windows NT Build 511 (DDK SDK) 11-01-1993

/*++

Copyright (c) 1991-1992  Microsoft Corporation

Module Name:

   Sync.c

Abstract:

    This module contains the DrvSynchronize routine.

Environment:

    User mode.

Revision History:

--*/

#include "driver.h"

VOID
DrvSynchronize(
    DHPDEV dhpdev,
    RECTL *prcl
    )

/*++

Routine Description:

    This routine gets called when GDI needs to synchronize with the
    driver. That's when GDI wants to read or write into the framebuffer.
    This routine waits for the accelerator to be idle before returning.

Arguments:

    dhpdev - Handle of PDEV
    prcl   - rectangle where GDI wants to write to. Since the driver
             doesn't keep track of where the accelerator is actually
             writing, this argument is Not Used.

Return Value:

    None.

--*/

{
    WaitForJaguarIdle();
}

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.