Reading memory is more handy, if it allows for partial reads. So now the size is returned with the reply.

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11624 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold 2005-03-08 23:09:31 +00:00
parent fe99e18c3c
commit 7586a0f3d6
1 changed files with 2 additions and 0 deletions

View File

@ -148,6 +148,8 @@ typedef struct {
typedef struct {
status_t error; // B_OK, if reading went fine
int32 size; // the number of bytes actually read
// > 0, iff error == B_OK
char data[B_MAX_READ_WRITE_MEMORY_SIZE];
// the read data
} debug_nub_read_memory_reply;