mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-07-01 01:45:51 +08:00
sim: hw: localize init callback
Now that we don't need to hardcode the module init list in a single place, move the hw init logic out to the sim-hw file.
This commit is contained in:
@ -25,10 +25,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */
|
||||
#include "sim-options.h"
|
||||
#include "sim-assert.h"
|
||||
|
||||
#if WITH_HW
|
||||
#include "sim-hw.h"
|
||||
#endif
|
||||
|
||||
#include "libiberty.h"
|
||||
|
||||
#include <stdlib.h>
|
||||
@ -52,9 +48,6 @@ static MODULE_INSTALL_FN * const early_modules[] = {
|
||||
#if WITH_SCACHE
|
||||
scache_install,
|
||||
#endif
|
||||
#if WITH_HW
|
||||
sim_hw_install,
|
||||
#endif
|
||||
};
|
||||
static int early_modules_len = ARRAY_SIZE (early_modules);
|
||||
|
||||
|
Reference in New Issue
Block a user