aperture_64.c (520b9617ab4aea764ddfc5d58cae21c16b3318e1) aperture_64.c (46a7fa270afbe5fddc6042a598cfe22977b0e989)
1/*
2 * Firmware replacement code.
3 *
4 * Work around broken BIOSes that don't set an aperture or only set the
5 * aperture in the AGP bridge.
6 * If all fails map the aperture over some low memory. This is cheaper than
7 * doing bounce buffering. The memory is lost. This is done at early boot
8 * because only the bootmem allocator can allocate 32+MB.

--- 7 unchanged lines hidden (view full) ---

16#include <linux/mmzone.h>
17#include <linux/pci_ids.h>
18#include <linux/pci.h>
19#include <linux/bitops.h>
20#include <linux/ioport.h>
21#include <linux/suspend.h>
22#include <asm/e820.h>
23#include <asm/io.h>
1/*
2 * Firmware replacement code.
3 *
4 * Work around broken BIOSes that don't set an aperture or only set the
5 * aperture in the AGP bridge.
6 * If all fails map the aperture over some low memory. This is cheaper than
7 * doing bounce buffering. The memory is lost. This is done at early boot
8 * because only the bootmem allocator can allocate 32+MB.

--- 7 unchanged lines hidden (view full) ---

16#include <linux/mmzone.h>
17#include <linux/pci_ids.h>
18#include <linux/pci.h>
19#include <linux/bitops.h>
20#include <linux/ioport.h>
21#include <linux/suspend.h>
22#include <asm/e820.h>
23#include <asm/io.h>
24#include <asm/iommu.h>
24#include <asm/gart.h>
25#include <asm/pci-direct.h>
26#include <asm/dma.h>
27#include <asm/k8.h>
28
29int gart_iommu_aperture;
30int gart_iommu_aperture_disabled __initdata;
31int gart_iommu_aperture_allowed __initdata;

--- 472 unchanged lines hidden ---
25#include <asm/gart.h>
26#include <asm/pci-direct.h>
27#include <asm/dma.h>
28#include <asm/k8.h>
29
30int gart_iommu_aperture;
31int gart_iommu_aperture_disabled __initdata;
32int gart_iommu_aperture_allowed __initdata;

--- 472 unchanged lines hidden ---