Statistics
| Branch: | Revision:

root / module.h @ 9a85d394

History | View | Annotate | Download (1.1 kB)

# Date Author Comment
f80f9ec9 05/21/2009 04:47 pm Anthony Liguori

Convert machine registration to use module init functions

This cleans up quite a lot of #ifdefs, extern variables, and other ugliness.

Signed-off-by: Anthony Liguori <>

f7897430 05/15/2009 02:06 am Anthony Liguori

Fix module initialization when more than 1 class is in use

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....

0bfe3ca5 05/14/2009 09:29 pm Anthony Liguori

Constructor support

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 <>...