summaryrefslogtreecommitdiff
path: root/Src/modentry.c
diff options
context:
space:
mode:
Diffstat (limited to 'Src/modentry.c')
-rw-r--r--Src/modentry.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/Src/modentry.c b/Src/modentry.c
index 87c89e0d7..ea2ca6656 100644
--- a/Src/modentry.c
+++ b/Src/modentry.c
@@ -8,7 +8,7 @@ int modentry _((int boot, Module m));
/**/
int
-modentry(int boot, Module m)
+modentry(int boot, Module m, void *ptr)
{
switch (boot) {
case 0:
@@ -27,6 +27,14 @@ modentry(int boot, Module m)
return finish_(m);
break;
+ case 4:
+ return features_(m, (char ***)ptr);
+ break;
+
+ case 5:
+ return enables_(m, (int **)ptr);
+ break;
+
default:
zerr("bad call to modentry");
return 1;