summaryrefslogtreecommitdiffstats
path: root/module.h
Commit message (Collapse)AuthorAgeFilesLines
* qapi: add module init types for qapiMichael Roth2011-07-211-0/+2
| | | | | Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com> Signed-off-by: Luiz Capitulino <lcapitulino@gmail.com>
* Convert machine registration to use module init functionsAnthony Liguori2009-05-211-0/+2
| | | | | | This cleans up quite a lot of #ifdefs, extern variables, and other ugliness. Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
* Fix module initialization when more than 1 class is in useAnthony Liguori2009-05-141-2/+3
| | | | | | | | | Now that we're using enums for module types, it makes no sense to bother keeping a list of module types when we know exactly how many they are. Switching to an array simplifies the code and eliminates the aforementioned bug. Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
* Constructor supportAnthony Liguori2009-05-141-0/+35
Allow devices/drivers to register themselves via constructors. Destructors are not needed (can be registered from a constructor) and "priority" has been renamed and changed to an enum for clarity. Signed-off-by: Paul Brook <paul@codesourcery.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
OpenPOWER on IntegriCloud