diff options
author | obrien <obrien@FreeBSD.org> | 2004-08-16 12:25:48 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2004-08-16 12:25:48 +0000 |
commit | 963044797eef5dd7f1a14ea2a2aacbe08135061d (patch) | |
tree | f2af86527c43b447205f70744d9db857d016735d /sys/dev/agp/agpreg.h | |
parent | 6dfaccd6e42cb6600ffe5683599ed9c965a5de28 (diff) | |
download | FreeBSD-src-963044797eef5dd7f1a14ea2a2aacbe08135061d.zip FreeBSD-src-963044797eef5dd7f1a14ea2a2aacbe08135061d.tar.gz |
AMD64 on-CPU GART support.
This also applies to AMD64 HW running 'i386' OS.
Submitted by: Jung-uk Kim <jkim@niksun.com>
Integration by: obrien
Diffstat (limited to 'sys/dev/agp/agpreg.h')
-rw-r--r-- | sys/dev/agp/agpreg.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/sys/dev/agp/agpreg.h b/sys/dev/agp/agpreg.h index 8d552a6..4b2d5b3 100644 --- a/sys/dev/agp/agpreg.h +++ b/sys/dev/agp/agpreg.h @@ -245,4 +245,21 @@ #define AGP_NVIDIA_3_APBASE 0x50 #define AGP_NVIDIA_3_APLIMIT 0x54 +/* + * AMD64 GART registers + */ +#define AGP_AMD64_APCTRL 0x90 +#define AGP_AMD64_APBASE 0x94 +#define AGP_AMD64_ATTBASE 0x98 +#define AGP_AMD64_CACHECTRL 0x9c +#define AGP_AMD64_APCTRL_GARTEN 0x00000001 +#define AGP_AMD64_APCTRL_SIZE_MASK 0x0000000e +#define AGP_AMD64_APCTRL_DISGARTCPU 0x00000010 +#define AGP_AMD64_APCTRL_DISGARTIO 0x00000020 +#define AGP_AMD64_APCTRL_DISWLKPRB 0x00000040 +#define AGP_AMD64_APBASE_MASK 0x00007fff +#define AGP_AMD64_ATTBASE_MASK 0xfffffff0 +#define AGP_AMD64_CACHECTRL_INVGART 0x00000001 +#define AGP_AMD64_CACHECTRL_PTEERR 0x00000002 + #endif /* !_PCI_AGPREG_H_ */ |