Paolo Bonzini <pbonz...@redhat.com> writes: > Il 10/04/2013 15:41, guang li ha scritto: >> Yes, you're right. >> The motivation is I want to implement a device >> called EC which is a notion from laptop for QEMU, >> EC has some main functions, like keyboard, mouse, >> low-speed device control(I2C), special ACPI space, >> i8042 and ps2 mouse has been done, power control >> was left, so I tried to add this. > > Do you have a datasheet? Have you looked at hw/acpi/?
http://www.coreboot.org/Embedded_controller Has more than you probably ever wanted to know about ECs. I don't see much reason to model an EC in QEMU. It's only visible to firmware (at least on the PC) so there's little benefit to modeling. Regards, Anthony Liguori > > Paolo