The test environment should now build okay again, as well.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16829 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
c7c61938c0
commit
0476838149
@ -17,7 +17,7 @@ if $(RUN_WITHOUT_APP_SERVER) != 0 {
|
||||
SubDirC++Flags $(defines) ;
|
||||
}
|
||||
|
||||
UsePrivateHeaders shared app interface ;
|
||||
UsePrivateHeaders shared app interface kernel ;
|
||||
UsePrivateHeaders [ FDirName servers app ] ;
|
||||
UseHeaders $(TARGET_PRIVATE_KERNEL_HEADERS) : true ;
|
||||
|
||||
|
@ -16,7 +16,9 @@
|
||||
|
||||
#include "ServerMemoryAllocator.h"
|
||||
|
||||
#include <syscalls.h>
|
||||
#ifndef HAIKU_TARGET_PLATFORM_LIBBE_TEST
|
||||
# include <syscalls.h>
|
||||
#endif
|
||||
|
||||
#include <new>
|
||||
|
||||
@ -64,10 +66,15 @@ ServerMemoryAllocator::AddArea(area_id serverArea, area_id& _area, uint8*& _base
|
||||
return B_NO_MEMORY;
|
||||
}
|
||||
|
||||
#ifndef HAIKU_TARGET_PLATFORM_LIBBE_TEST
|
||||
// reserve 128 MB of space for the area
|
||||
void* base = (void*)0x60000000;
|
||||
status_t status = _kern_reserve_heap_address_range((addr_t*)&base,
|
||||
B_BASE_ADDRESS, 128 * 1024 * 1024);
|
||||
#else
|
||||
void* base;
|
||||
status_t status = B_ERROR;
|
||||
#endif
|
||||
|
||||
mapping->local_area = clone_area("server_memory", &base,
|
||||
status == B_OK ? B_EXACT_ADDRESS : B_BASE_ADDRESS,
|
||||
|
@ -193,8 +193,12 @@ ClientMemoryAllocator::_AllocateChunk(size_t size, bool& newArea)
|
||||
}
|
||||
|
||||
char name[B_OS_NAME_LENGTH];
|
||||
#ifdef HAIKU_TARGET_PLATFORM_LIBBE_TEST
|
||||
strcpy(name, "client heap");
|
||||
#else
|
||||
snprintf(name, sizeof(name), "heap:%ld:%s", fApplication->ClientTeam(),
|
||||
fApplication->SignatureLeaf());
|
||||
#endif
|
||||
area_id area = create_area(name, (void**)&address, B_ANY_ADDRESS, size,
|
||||
B_NO_LOCK, B_READ_AREA | B_WRITE_AREA);
|
||||
if (area < B_OK) {
|
||||
|
@ -29,7 +29,6 @@ SharedLibrary libhwinterface.so :
|
||||
BBitmapBuffer.cpp
|
||||
DWindowBuffer.cpp
|
||||
HWInterface.cpp
|
||||
MultiLocker.cpp
|
||||
RGBColor.cpp
|
||||
|
||||
: libhaikuappserver.so be
|
||||
@ -45,6 +44,7 @@ LINKFLAGS on libhwinterfaceimpl.so += -lbe ;
|
||||
SharedLibrary libhwinterfaceimpl.so :
|
||||
ViewHWInterface.cpp
|
||||
DWindowHWInterface.cpp
|
||||
MultiLocker.cpp
|
||||
|
||||
: be libhwinterface.so
|
||||
;
|
||||
@ -60,20 +60,20 @@ SharedLibrary libhaikuappserver.so :
|
||||
DesktopSettings.cpp
|
||||
DrawState.cpp
|
||||
FontFamily.cpp
|
||||
FontManager.cpp
|
||||
HashTable.cpp
|
||||
MultiLocker.cpp
|
||||
RGBColor.cpp
|
||||
ServerBitmap.cpp
|
||||
ServerCursor.cpp
|
||||
ServerFont.cpp
|
||||
FontManager.cpp
|
||||
SystemPalette.cpp
|
||||
|
||||
# drawing
|
||||
PatternHandler.cpp
|
||||
|
||||
# libraries
|
||||
:
|
||||
be libtextencoding.so libfreetype.so
|
||||
: be libtextencoding.so libfreetype.so
|
||||
;
|
||||
|
||||
AddResources haiku_app_server : app_server.rdef ;
|
||||
|
Loading…
Reference in New Issue
Block a user