Loops over all entries in the accelerator map, and execute foreach_func on each.
The signature of foreach_func is that of AccelMapForeach, the
changed parameter indicates whether this accelerator was changed during runtime (thus, would need saving during an
accelerator map dump).
| data |
data to be passed into |
| foreach_func |
function to be executed for each accel map entry |