> No, I don't think those should be SimObjects since they're really just > handy abstractions for use internal to the I8042 (PS/2 keyboard and > mouse controller). It would be reasonable, though, to still put > serialization methods on them the I8042 could call so they manage their > own data. The Channel structs of the IDE controller work like that I think.
Unfortunately, serializing sub objects is a pain in the butt. Look at how it is done in the various ethernet objects (like PacketFifo and EtherPacket, etc.) Nate _______________________________________________ m5-dev mailing list [email protected] http://m5sim.org/mailman/listinfo/m5-dev
