blob: 22c1f16433481b149c146fc13995cdd13165eff1 [file] [log] [blame]
// Copyright 2016 The Fuchsia Authors
//
// Use of this source code is governed by a MIT-style
// license that can be found in the LICENSE file or at
// https://opensource.org/licenses/MIT
#ifndef ZIRCON_KERNEL_INCLUDE_LK_MAIN_H_
#define ZIRCON_KERNEL_INCLUDE_LK_MAIN_H_
#include <sys/types.h>
#include <zircon/compiler.h>
__BEGIN_CDECLS
// main entry point from boot assembly
void lk_main(void) __NO_RETURN __EXTERNALLY_VISIBLE;
void lk_secondary_cpu_entry(void);
void lk_init_secondary_cpus(uint secondary_cpu_count);
// Returns true if global ctors have been called.
bool lk_global_constructors_called(void);
__END_CDECLS
#endif // ZIRCON_KERNEL_INCLUDE_LK_MAIN_H_