1 /* 2 * Copyright (c) 2008 Travis Geiselbrecht 3 * 4 * Use of this source code is governed by a MIT-style 5 * license that can be found in the LICENSE file or at 6 * https://opensource.org/licenses/MIT 7 */ 8 #pragma once 9 10 // give the arch code a chance to declare the arch_thread struct 11 #include <arch/arch_thread.h> 12 #include <lk/compiler.h> 13 14 __BEGIN_CDECLS 15 16 struct thread; 17 18 void arch_thread_initialize(struct thread *); 19 void arch_context_switch(struct thread *oldthread, struct thread *newthread); 20 21 __END_CDECLS 22