memzap

replay memory writes
git clone git://git.2f30.org/memzap.git
Log | Files | Refs | README | LICENSE

commit d533827b53eeeb8b54de589694f41c13d88f0bdd
parent 42bc97f75f2305335c9af00a06fa96b1eedef364
Author: sin <sin@2f30.org>
Date:   Sun Mar  3 03:47:14 +0000

Create a docs/ dir

Move mdiff-fmt into the docs/ dir

Diffstat:
docs/mdiff-fmt | 22++++++++++++++++++++++
mdiff-fmt | 22----------------------
2 files changed, 22 insertions(+), 22 deletions(-)
diff --git a/docs/mdiff-fmt b/docs/mdiff-fmt @@ -0,0 +1,22 @@ +File format of the mdiff files +============================== + +struct mdiff_hdr { + /* MDIFF\0 */ + char magic[6]; + /* Number of memory diff regions */ + uint32_t nregions; +}; + +struct mdiff_region { + /* Offset into memory where this region should + * be written to */ + uint32_t offset; + /* Length of this memory diff region */ + uint32_t len; + /* Actual data */ + char buf[]; +}; + +We have a fixed header at the start and a series of +`mdiff_region' structures following. diff --git a/mdiff-fmt b/mdiff-fmt @@ -1,22 +0,0 @@ -File format of the mdiff files -============================== - -struct mdiff_hdr { - /* MDIFF\0 */ - char magic[6]; - /* Number of memory diff regions */ - uint32_t nregions; -}; - -struct mdiff_region { - /* Offset into memory where this region should - * be written to */ - uint32_t offset; - /* Length of this memory diff region */ - uint32_t len; - /* Actual data */ - char buf[]; -}; - -We have a fixed header at the start and a series of -`mdiff_region' structures following.