X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=platforms%2Fplatforms.h;h=a88bda81c0df169d5b6178917d067c0d2145b4bb;hb=b038f1428406660c04d0313b87d91fa6df676afc;hp=e9d2cdb1e4a3b07636693807c422d4938cef942d;hpb=59a59c3067a086f8ab8522200819552c4603caac;p=pistorm diff --git a/platforms/platforms.h b/platforms/platforms.h index e9d2cdb..a88bda8 100644 --- a/platforms/platforms.h +++ b/platforms/platforms.h @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MIT + #include "config_file/config_file.h" enum base_platforms { @@ -9,3 +11,6 @@ enum base_platforms { }; struct platform_config *make_platform_config(char *name, char *subsys); + +void dump_range_to_file(uint32_t addr, uint32_t size, char *filename); +uint8_t *dump_range_to_memory(uint32_t addr, uint32_t size);