Searched hist:11180 (Results 1 - 2 of 2) sorted by relevance

/gem5/src/systemc/ext/utils/
H A Dsc_report_handler.hh12875:13f9e1b80121 Wed Jun 13 21:25:00 EDT 2018 Gabe Black <gabeblack@google.com> systemc: Turn some macros into enums to fix regression test building.

The spec defines these constants to be macros, but the regression test
refers to them using the sc_core namespace. That breaks things because
the macros don't expand to an identifier, they expand to an expression.

This change converts the macros into enums like in the Accellera
implementation to get the regression tests to build.

Change-Id: I3db7dc87a7a597907df658624a7343bc6ca1734e
Reviewed-on: https://gem5-review.googlesource.com/11180
Reviewed-by: Gabe Black <gabeblack@google.com>
Maintainer: Gabe Black <gabeblack@google.com>
/gem5/src/dev/arm/
H A Dflash_device.cc11180:406240a8e7ef Thu Oct 29 08:48:00 EDT 2015 Sascha Bischoff <sascha.bischoff@ARM.com> dev: Fix segfault in flash device

Fix a bug in which the flash device would write out of bounds and
could either trigger a segfault and corrupt the memory of other
objects. This was caused by using pageSize in the place of
pagesPerBlock when running the garbage collector.

Also, added an assert to flag this condition in the future.

Completed in 11 milliseconds