diff options
author | Michael Neuling <mikey@neuling.org> | 2018-06-28 12:02:54 +1000 |
---|---|---|
committer | Alistair Popple <alistair@popple.id.au> | 2018-07-12 13:07:07 +1000 |
commit | a31ceb742eed60694cd7c9d9cfde3639c29d76a7 (patch) | |
tree | feff04ff4eb7a6a9cf9f71e7e2560f6e5f547f08 /src/htm.c | |
parent | 4a2d564c7e2b085e35e0dac42a2b95523dcac07d (diff) | |
download | pdbg-a31ceb742eed60694cd7c9d9cfde3639c29d76a7.tar.gz pdbg-a31ceb742eed60694cd7c9d9cfde3639c29d76a7.zip |
htm: Fix ability to use arbitray buffer sizes
Add some buffer size checks, use the P8 bit definitions (we don't
support P9 currently and simplify the algorithm to calculate
HTM_MEM_SIZE.
Signed-off-by: Michael Neuling <mikey@neuling.org>
Diffstat (limited to 'src/htm.c')
0 files changed, 0 insertions, 0 deletions