Support reading and writing memory

This commit is contained in:
momo5502
2025-04-28 14:03:37 +02:00
parent f411ad8d93
commit f7e91fc64e
10 changed files with 1240 additions and 16 deletions

View File

@@ -18,11 +18,36 @@ table RunRequest {
single_step: bool;
}
table WriteMemoryRequest {
address: uint64;
data: [ubyte];
}
table WriteMemoryResponse {
address: uint64;
size: uint32;
success: bool;
}
table ReadMemoryRequest {
address: uint64;
size: uint32;
}
table ReadMemoryResponse {
address: uint64;
data: [ubyte];
}
union Event {
PauseRequest,
RunRequest,
GetStateRequest,
GetStateResponse,
WriteMemoryRequest,
WriteMemoryResponse,
ReadMemoryRequest,
ReadMemoryResponse,
}
table DebugEvent {