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 16struct thread; 17 18void arch_thread_initialize(struct thread *, vaddr_t entry_point); 19void arch_context_switch(struct thread *oldthread, struct thread *newthread); 20void arch_thread_construct_first(struct thread *); 21void* arch_thread_get_blocked_fp(struct thread *); 22 23__END_CDECLS 24