* Forgot to set the size in Aperture::BindMemory() in case it was allocated

memory (so no memory was ever bound in that case).
* Disabled debug output in the Intel GART module.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23797 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2008-01-31 18:15:30 +00:00
parent 103d05f3c2
commit d23e60e77b
2 changed files with 2 additions and 1 deletions
@@ -603,6 +603,7 @@ Aperture::BindMemory(aperture_memory *memory, addr_t address, size_t size)
if ((memory->flags & ALLOCATED_APERTURE) != 0) {
// We allocated this memory, get the base and size from there
#ifdef __HAIKU__
size = memory->size;
physical = true;
#else
status_t status = get_area_base_and_size(memory->area, address, size);
@@ -14,7 +14,7 @@
#include <PCI.h>
#define TRACE_INTEL
//#define TRACE_INTEL
#ifdef TRACE_INTEL
# define TRACE(x...) dprintf("\33[33magp-intel:\33[0m " x)
#else