diff options
author | Richard Braun <rbraun@sceen.net> | 2017-09-05 22:04:21 +0200 |
---|---|---|
committer | Richard Braun <rbraun@sceen.net> | 2017-09-05 22:04:21 +0200 |
commit | 8b1b21a33dbe4b114400090ff385c4bf8daea0c8 (patch) | |
tree | 3aa9f196f4e3ad4c59507a7f9b884d9bf078c7e9 /kern/xcall.h | |
parent | 1d6ea814d13a05fd4d64e0764acf667f67679092 (diff) |
kern/xcall: make sure functions are always run from interrupt context
Diffstat (limited to 'kern/xcall.h')
-rw-r--r-- | kern/xcall.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/kern/xcall.h b/kern/xcall.h index 27b6af25..df364870 100644 --- a/kern/xcall.h +++ b/kern/xcall.h @@ -36,7 +36,8 @@ typedef void (*xcall_fn_t)(void *arg); * has finished running on the target processor, with the side effects of * the function visible. * - * The function is run in interrupt context. + * The function is run in interrupt context. Interrupts must be enabled + * when calling this function. */ void xcall_call(xcall_fn_t fn, void *arg, unsigned int cpu); |