* 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:
@@ -603,6 +603,7 @@ Aperture::BindMemory(aperture_memory *memory, addr_t address, size_t size)
|
|||||||
if ((memory->flags & ALLOCATED_APERTURE) != 0) {
|
if ((memory->flags & ALLOCATED_APERTURE) != 0) {
|
||||||
// We allocated this memory, get the base and size from there
|
// We allocated this memory, get the base and size from there
|
||||||
#ifdef __HAIKU__
|
#ifdef __HAIKU__
|
||||||
|
size = memory->size;
|
||||||
physical = true;
|
physical = true;
|
||||||
#else
|
#else
|
||||||
status_t status = get_area_base_and_size(memory->area, address, size);
|
status_t status = get_area_base_and_size(memory->area, address, size);
|
||||||
|
|||||||
@@ -14,7 +14,7 @@
|
|||||||
#include <PCI.h>
|
#include <PCI.h>
|
||||||
|
|
||||||
|
|
||||||
#define TRACE_INTEL
|
//#define TRACE_INTEL
|
||||||
#ifdef TRACE_INTEL
|
#ifdef TRACE_INTEL
|
||||||
# define TRACE(x...) dprintf("\33[33magp-intel:\33[0m " x)
|
# define TRACE(x...) dprintf("\33[33magp-intel:\33[0m " x)
|
||||||
#else
|
#else
|
||||||
|
|||||||
Reference in New Issue
Block a user