NetBSD/sys/arch/i386/pci/agp_machdep.c
fvdl 2c8172cbd3 Attach agp gart support @ pchb. Not very clean, but agp support may
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).
2001-09-10 10:06:54 +00:00

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();
}