2c8172cbd3
be spread over several devices, and the phcb is usually the main one. Add agp_machdep.c file which implements MD agp functions (currently just agp_flush_cache).
20 lines
333 B
C
20 lines
333 B
C
/* $NetBSD: agp_machdep.c,v 1.1 2001/09/10 10:06:54 fvdl Exp $ */
|
|
|
|
#include <sys/types.h>
|
|
#include <sys/device.h>
|
|
|
|
#include <machine/bus.h>
|
|
|
|
#include <dev/pci/pcivar.h>
|
|
#include <dev/pci/pcireg.h>
|
|
#include <dev/pci/agpvar.h>
|
|
#include <dev/pci/agpreg.h>
|
|
|
|
#include <machine/cpufunc.h>
|
|
|
|
void
|
|
agp_flush_cache(void)
|
|
{
|
|
wbinvd();
|
|
}
|