On 11/11/07, Paul Brook <[EMAIL PROTECTED]> wrote: > The attached patch starts splitting vl.h up a bit. > I've pulled out the i2c, disk and irq code. > > Because I picked some of the easier ones, they can also be built once, rather > than for every target. > > Obviously there's a lot left to do, but my grand plan is to get rid of vl.h > altogether. A few files will probably end up effectively including > everything, but hopefully most files should disentangle reasonably well. The > more gets split out, the better things should get. e.g. scsi-disk.c doesn't > need vl.h because I already split out the block API. > > I want to check this seems a reasonable approach before I go too much further. > Comments?
I understand Fabrice's concern about small files, but I think this is the right direction. In ide.c and esp.c there are TARGET_ and target_ dependencies, how do you plan to handle those?