| commit | 1c636da093f335cd57e7fca0fc25ae9f9e849264 | [log] [tgz] |
|---|---|---|
| author | Mike Frysinger <vapier@gentoo.org> | Mon Jun 28 21:42:56 2021 -0400 |
| committer | Mike Frysinger <vapier@gentoo.org> | Wed Jun 30 01:52:51 2021 -0400 |
| tree | e33d33c678ae988d2ad31027bb2b23c8f009e34e | |
| parent | f8261de1b22cc1a72ae18a2300df8b2cf7f027db [diff] |
sim: namespace sim_machs We want to do a single build with all arches in one binary which means we need to namespace sim_machs on a per-arch basis. Move it from a global variable to the sim description structure so it can be setup at runtime. Changing the SIM_MODEL->num from an enum to an int is unfortunate, but we specifically don't want to maintain a centralized list anymore, and this was never used directly in common code, just passed to per-arch callbacks.