diff options
author | dzwdz | 2021-08-22 16:08:17 +0200 |
---|---|---|
committer | dzwdz | 2021-08-22 16:08:17 +0200 |
commit | 6d0a0443fecef518e4a01af5d6dad5a098999560 (patch) | |
tree | 1541d8fd7020804551345cec85f5164e3bb16efd /src/kernel/mem.h | |
parent | e2075e56f875e077cd5c3d6e3c85368c1087654f (diff) |
virt_iter: count bytes that were already iterated over
Diffstat (limited to 'src/kernel/mem.h')
-rw-r--r-- | src/kernel/mem.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/kernel/mem.h b/src/kernel/mem.h index d8496fd..c8192fd 100644 --- a/src/kernel/mem.h +++ b/src/kernel/mem.h @@ -19,6 +19,7 @@ void kfree(void *ptr); struct virt_iter { void *frag; size_t frag_len; + size_t prior; // sum of all prior frag_lens bool error; void *_virt; |