summaryrefslogtreecommitdiffstats
path: root/loader2/moduleinfo.h
diff options
context:
space:
mode:
Diffstat (limited to 'loader2/moduleinfo.h')
-rw-r--r--loader2/moduleinfo.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/loader2/moduleinfo.h b/loader2/moduleinfo.h
index becee0e74..8c6bd3966 100644
--- a/loader2/moduleinfo.h
+++ b/loader2/moduleinfo.h
@@ -33,7 +33,14 @@ struct moduleBallLocation {
char * path; /* path to module ball that this driver is from. if NULL,
* implies /modules/modules.cgz */
char * title; /* title used for driver disk -- may be NULL */
+ int version; /* module ball version, used to determine layout */
};
+#define CURRENT_MODBALLVER 1
+
+/* valid moduleball versions
+ * 0: old single-arch module ball, modules are in uname.release
+ * 1: multi-arch, modules are in uname.release/arch
+ */
typedef struct moduleInfoSet_s * moduleInfoSet;