2 * Copyright 2015, Rene Gollent, rene@gollent.com.
3 * Copyright 2009, Ingo Weinhold, ingo_weinhold@gmx.de.
4 * Distributed under the terms of the MIT License.
10 #include <Referenceable.h>
12 #include "TargetAddressRange.h"
18 class TeamMemory
: public BReferenceable
{
20 virtual ~TeamMemory();
23 virtual status_t
GetMemoryProperties(target_addr_t baseAddress
,
24 uint32
& protection
, uint32
& locking
) = 0;
26 virtual ssize_t
ReadMemory(target_addr_t address
, void* buffer
,
28 virtual status_t
ReadMemoryString(target_addr_t address
,
29 size_t maxLength
, BString
& _string
);
30 virtual ssize_t
WriteMemory(target_addr_t address
,
31 void* buffer
, size_t size
) = 0;
35 #endif // TEAM_MEMORY_H