docs: better inline comment

main
Sean McBride 5 years ago
parent 5327e6d18b
commit 94f69a912c

@ -23,6 +23,7 @@ typedef struct arch_context arch_context_t;
extern void __attribute__((noreturn)) worker_thread_sandbox_switch_preempt(void); extern void __attribute__((noreturn)) worker_thread_sandbox_switch_preempt(void);
extern __thread arch_context_t worker_thread_base_context; extern __thread arch_context_t worker_thread_base_context;
// Initialized a context, zeroing out registers and setting the Instruction and Stack pointers
static inline void static inline void
arch_context_init(arch_context_t *actx, reg_t ip, reg_t sp) arch_context_init(arch_context_t *actx, reg_t ip, reg_t sp)
{ {

Loading…
Cancel
Save