On 02/10/2011 09:47 AM, Anthony Liguori wrote:
So very concretely, I'm suggesting we do the following to target-i386:
1) make the i440fx device have an embedded ide controller, piix3, and
usb controller that get initialized automatically. The piix3 embeds
the PCI-to-ISA bridge along with all of the default ISA devices (rtc,
serial, etc.).
This I like.
2) get rid of the entire concept of machines. Creating a i440fx is
essentially equivalent to creating a bare machine.
No, it's not. The 440fx does not include an IOAPIC, for example. There
may be other optional components, or differences in wiring, that make
two machines with i440fx not identical.
4) model the CPUs as devices that take a pointer to a host controller,
for x86, the normal case would be giving it a pointer to i440fx.
Surely the connection is via a bus? An x86 cpu talks to the bus, and
there happens to be an 440fx north bridge at the end of it. It could
also be a Q35 or something else.
--
error compiling committee.c: too many arguments to function