1 // Copyright 2016 The Fuchsia Authors 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 <zircon/compiler.h> 13 14 __BEGIN_CDECLS 15 16 struct thread; 17 18 void arch_thread_initialize(struct thread *, vaddr_t entry_point); 19 void arch_context_switch(struct thread *oldthread, struct thread *newthread); 20 void arch_thread_construct_first(struct thread *); 21 void* arch_thread_get_blocked_fp(struct thread *); 22 23 __END_CDECLS 24