Il 14/09/2012 16:37, Stefan Weil ha scritto: > Here are some more ideas: > > * Move the target-xxx directories (currently 15) to target/xxx.
Yes, of course. > * Add host/xxx for host specific files (xxx = posix, wxx). > Here the currently used win32 might be replaced by either > wxx or by win as most of it also applies to w64. > An alternative solution would add host specific subdirectories > to include/qemu and util. This makes sense, though it becomes more problematic as the host files are scattered around the tree. > * Move machine implementations (code which calls machine_init) > to the respective architecture directories (hw/arm, ...). > Meanwhile we have more than 50 machine implementations in hw. > We could also replace hw/alpha, hw/arm, hw/cris, ... to > hw/arch/alpha and so on. > > * Move hardware implementations which are architecture specific > to the architecture directories. This is sometimes less obvious > than the machine implementations. This I left out purposedly. :) Paolo