Implement preload_store

This commit is contained in:
Daniel Jobson 2024-09-19 08:52:42 +02:00
parent 121d991857
commit cb8bdab5a5
No known key found for this signature in database
GPG key ID: 3707A9DBF4BB8F1A
4 changed files with 71 additions and 16 deletions

View file

@ -35,7 +35,13 @@ int syscall(syscall_t *ctx)
break;
case PRELOAD_STORE:
return preload_store(&part_table);
return preload_store(&part_table, ctx->offset, ctx->data,
ctx->size);
break;
case PRELOAD_STORE_FINALIZE:
return preload_store_finalize(&part_table, ctx->offset,
ctx->data, ctx->size);
break;
case PRELOAD_DELETE: