diff options
author | Christian Cunningham <cc@localhost> | 2022-01-20 18:55:23 -0700 |
---|---|---|
committer | Christian Cunningham <cc@localhost> | 2022-01-20 18:55:23 -0700 |
commit | 22297e0f0f5732b852614c7c97e7354d3e7be5c7 (patch) | |
tree | aa7bab14241bf97d4073e2d7d1cffea32b3ac03b /include/lib | |
parent | 4bb5f36b8c696361d5a283680ea7dadde4e364df (diff) |
Added write offset
Made offsets movable
Diffstat (limited to 'include/lib')
-rw-r--r-- | include/lib/mem.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/lib/mem.h b/include/lib/mem.h index 04056f7..646a170 100644 --- a/include/lib/mem.h +++ b/include/lib/mem.h @@ -15,7 +15,8 @@ struct MemTab { struct RotBuffer { void* base; unsigned int size; - unsigned int offset; + unsigned int roffset; + unsigned int woffset; }; void memset(unsigned char* dest, unsigned char value, unsigned int n); |