Annotation of ntddk/src/video/displays/jz484/sync.c, revision 1.1.1.1

1.1       root        1: /*++
                      2: 
                      3: Copyright (c) 1991-1992  Microsoft Corporation
                      4: 
                      5: Module Name:
                      6: 
                      7:    Sync.c
                      8: 
                      9: Abstract:
                     10: 
                     11:     This module contains the DrvSynchronize routine.
                     12: 
                     13: Environment:
                     14: 
                     15:     User mode.
                     16: 
                     17: Revision History:
                     18: 
                     19: --*/
                     20: 
                     21: #include "driver.h"
                     22: 
                     23: VOID
                     24: DrvSynchronize(
                     25:     DHPDEV dhpdev,
                     26:     RECTL *prcl
                     27:     )
                     28: 
                     29: /*++
                     30: 
                     31: Routine Description:
                     32: 
                     33:     This routine gets called when GDI needs to synchronize with the
                     34:     driver. That's when GDI wants to read or write into the framebuffer.
                     35:     This routine waits for the accelerator to be idle before returning.
                     36: 
                     37: Arguments:
                     38: 
                     39:     dhpdev - Handle of PDEV
                     40:     prcl   - rectangle where GDI wants to write to. Since the driver
                     41:              doesn't keep track of where the accelerator is actually
                     42:              writing, this argument is Not Used.
                     43: 
                     44: Return Value:
                     45: 
                     46:     None.
                     47: 
                     48: --*/
                     49: 
                     50: {
                     51:     WaitForJaguarIdle();
                     52: }

unix.superglobalmegacorp.com

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