[srecord-users] [PATCH 0/4] Fixes near end of address space
Brought to you by:
pmiller,
scottfinneran
|
From: Markus H. <mar...@we...> - 2014-08-12 09:43:38
|
Hi,
I searched for related problems and found some, see the following patches.
I'm sorry the previous patch caused a regression that it was not possible to
use -generate up to the last address anymore because the end address was set to
0xFFFFFFFF instead of 0. This command for example only generates up to
0xFFFFFFFE inclusive:
srec_cat -generate 0xFFFFFF01 0x100000000 -constant 0
The funny thing is that only each 255th adress was usable because of the bug
fixed by the patch, so it wouldn't appear to be a critical regression because
the command was nearly unusable. Updated patch is PATCH 1/4.
Also interval::data_t instead of uint32_t is used now, I didn't get that it was
public yesterday.
Markus
Markus Heidelberg (4):
Fix endless loop in input generator if reaching end of address space
Fix endless loop in fill filter if reaching end of address space
Fix endless loop in random fill filter if reaching end of address
space
Fix -crop up to the last address
Makefile.in | 17 +++++++++++--
srecord/input/filter/crop.cc | 4 +--
srecord/input/filter/fill.cc | 2 ++
srecord/input/filter/random_fill.cc | 6 ++++-
srecord/input/generator.cc | 5 +++-
test/02/t0254a.sh | 42 +++++++++++++++++++++++++++++++
test/02/t0255a.sh | 44 +++++++++++++++++++++++++++++++++
test/02/t0256a.sh | 49 +++++++++++++++++++++++++++++++++++++
test/02/t0257a.sh | 43 ++++++++++++++++++++++++++++++++
9 files changed, 206 insertions(+), 6 deletions(-)
create mode 100644 test/02/t0254a.sh
create mode 100644 test/02/t0255a.sh
create mode 100644 test/02/t0256a.sh
create mode 100644 test/02/t0257a.sh
--
2.0.4
|