/** * \file * \brief A struct for all shared data between the kernels */ /* * Copyright (c) 2008, 2010 ETH Zurich * All rights reserved. * * This file is distributed under the terms in the attached LICENSE file. * If you do not find this file, copies can be found by writing to: * ETH Zurich D-INFK, Universitaetstrasse 6, CH-8092 Zurich. Attn: Systems Group. */ #ifndef KERNEL_ARCH_AARCH64_GLOBAL_H #define KERNEL_ARCH_AARCH64_GLOBAL_H #include #include /** * \brief Struct passed to app_cores during boot. * Contains information that the bsp_kernel wants to pass to the app_kernels. */ struct global { /// Shared locks between the kernels struct { spinlock_t print; ///< Lock for printing } locks; uint32_t tickspersec; genpaddr_t notify[MAX_COREID]; }; extern struct global *global; // XXX: check this #define GLOBAL_VBASE 0x21000 #endif