summaryrefslogtreecommitdiff
path: root/libdiskfs/fsmutations.h
diff options
context:
space:
mode:
authorJustus Winter <4winter@informatik.uni-hamburg.de>2014-04-04 18:17:54 +0200
committerJustus Winter <4winter@informatik.uni-hamburg.de>2014-04-05 13:40:08 +0200
commite27425e63392683b85101961489a83e0abef133b (patch)
tree19f3df8c48ab61a069fa661c5973af8ee6925678 /libdiskfs/fsmutations.h
parentf274c66b2141aca0f332e272b77cd0a048cef7f6 (diff)
libdiskfs: fix receiver lookup
* libdiskfs/Makefile (exec_startup-MIGSFLAGS): New variable. * libdiskfs/diskfs.h (struct bootinfo): New struct declaration. (diskfs_begin_using_bootinfo_port): New function. (diskfs_end_using_bootinfo): Likewise. * libdiskfs/fsmutations.h: Add mutators for exec_startup_t. * libdiskfs/priv.h (bootinfo_t): New type declaration to appease mig. * libdiskfs/boot-start.c (S_exec_startup_get_info): Fix receiver lookup.
Diffstat (limited to 'libdiskfs/fsmutations.h')
-rw-r--r--libdiskfs/fsmutations.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/libdiskfs/fsmutations.h b/libdiskfs/fsmutations.h
index 68b6ae3c..6248708e 100644
--- a/libdiskfs/fsmutations.h
+++ b/libdiskfs/fsmutations.h
@@ -30,3 +30,10 @@
#define IO_IMPORTS import "priv.h";
#define FSYS_IMPORTS import "priv.h";
#define IFSOCK_IMPORTS import "priv.h";
+
+#define EXEC_STARTUP_INTRAN \
+ bootinfo_t diskfs_begin_using_bootinfo_port (exec_startup_t)
+#define EXEC_STARTUP_DESTRUCTOR \
+ diskfs_end_using_bootinfo (bootinfo_t)
+#define EXEC_STARTUP_IMPORTS \
+ import "priv.h";