diff options
author | Richard Braun <rbraun@sceen.net> | 2018-02-07 00:30:35 +0100 |
---|---|---|
committer | Richard Braun <rbraun@sceen.net> | 2018-02-12 21:08:46 +0100 |
commit | 0b295c78c3a878f8a58d944a6a84c3f8dd2cebba (patch) | |
tree | 6150c2bcad583670b96399bf066fb99731c030e8 /kern/xcall.h | |
parent | d25e6ff0c86a2a2cdb37bb836dc3849ad53eaa63 (diff) |
kern/xcall: declare the xcall_setup init operation
Diffstat (limited to 'kern/xcall.h')
-rw-r--r-- | kern/xcall.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/kern/xcall.h b/kern/xcall.h index df364870..0e954f97 100644 --- a/kern/xcall.h +++ b/kern/xcall.h @@ -24,6 +24,8 @@ #ifndef _KERN_XCALL_H #define _KERN_XCALL_H +#include <kern/init.h> + /* * Type for cross-call functions. */ @@ -48,4 +50,11 @@ void xcall_call(xcall_fn_t fn, void *arg, unsigned int cpu); */ void xcall_intr(void); +/* + * This init operation provides : + * - cross-calls are usable + * - module fully initialized + */ +INIT_OP_DECLARE(xcall_setup); + #endif /* _KERN_XCALL_H */ |