Quick and dirty work-around for broken interface.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36999 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -166,8 +166,12 @@ status_t
|
|||||||
intel_allocate_memory(intel_info &info, size_t size, size_t alignment,
|
intel_allocate_memory(intel_info &info, size_t size, size_t alignment,
|
||||||
uint32 flags, addr_t *_base, addr_t *_physicalBase)
|
uint32 flags, addr_t *_base, addr_t *_physicalBase)
|
||||||
{
|
{
|
||||||
return gGART->allocate_memory(info.aperture, size, alignment,
|
// TODO: _physicalBase should be phys_addr_t!
|
||||||
flags, _base, _physicalBase);
|
phys_addr_t physicalBase;
|
||||||
|
status_t error = gGART->allocate_memory(info.aperture, size, alignment,
|
||||||
|
flags, _base, &physicalBase);
|
||||||
|
*_physicalBase = physicalBase;
|
||||||
|
return error;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user