/* * Copyright (c) 2018-2020 Atmosphère-NX * * This program is free software; you can redistribute it and/or modify it * under the terms and conditions of the GNU General Public License, * version 2, as published by the Free Software Foundation. * * This program is distributed in the hope it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for * more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once /* All kernel code should have access to libvapours. */ #include <vapours.hpp> /* First, pull in core macros (panic, etc). */ #include <mesosphere/kern_common.hpp> #include <mesosphere/kern_panic.hpp> /* Primitive types. */ #include <mesosphere/kern_k_typed_address.hpp> #include <mesosphere/kern_initial_process.hpp> #include <mesosphere/kern_k_exception_context.hpp> /* Tracing functionality. */ #include <mesosphere/kern_k_trace.hpp> /* Core pre-initialization includes. */ #include <mesosphere/kern_select_cpu.hpp> #include <mesosphere/kern_select_system_control.hpp> #include <mesosphere/kern_k_target_system.hpp> /* Initialization headers. */ #include <mesosphere/init/kern_init_elf.hpp> #include <mesosphere/init/kern_init_layout.hpp> #include <mesosphere/init/kern_init_slab_setup.hpp> #include <mesosphere/init/kern_init_page_table_select.hpp> #include <mesosphere/init/kern_init_arguments_select.hpp> #include <mesosphere/kern_k_memory_layout.hpp> /* Core functionality. */ #include <mesosphere/kern_select_interrupt_manager.hpp> #include <mesosphere/kern_k_spin_lock.hpp> #include <mesosphere/kern_k_memory_manager.hpp> #include <mesosphere/kern_k_interrupt_task_manager.hpp> #include <mesosphere/kern_k_slab_heap.hpp> #include <mesosphere/kern_k_light_lock.hpp> #include <mesosphere/kern_k_dpc_manager.hpp> #include <mesosphere/kern_kernel.hpp> #include <mesosphere/kern_k_page_table_manager.hpp> #include <mesosphere/kern_select_page_table.hpp> #include <mesosphere/kern_k_dump_object.hpp> /* Miscellaneous objects. */ #include <mesosphere/kern_k_shared_memory_info.hpp> #include <mesosphere/kern_k_event_info.hpp> /* Auto Objects. */ #include <mesosphere/kern_k_auto_object.hpp> #include <mesosphere/kern_k_synchronization_object.hpp> #include <mesosphere/kern_k_readable_event.hpp> #include <mesosphere/kern_k_handle_table.hpp> #include <mesosphere/kern_k_event.hpp> #include <mesosphere/kern_k_interrupt_event.hpp> #include <mesosphere/kern_k_light_session.hpp> #include <mesosphere/kern_k_session.hpp> #include <mesosphere/kern_k_session_request.hpp> #include <mesosphere/kern_k_port.hpp> #include <mesosphere/kern_k_shared_memory.hpp> #include <mesosphere/kern_k_transfer_memory.hpp> #include <mesosphere/kern_k_code_memory.hpp> #include <mesosphere/kern_k_device_address_space.hpp> #include <mesosphere/kern_select_debug.hpp> #include <mesosphere/kern_k_process.hpp> #include <mesosphere/kern_k_resource_limit.hpp> #include <mesosphere/kern_k_alpha.hpp> #include <mesosphere/kern_k_beta.hpp> /* More Miscellaneous objects. */ #include <mesosphere/kern_k_object_name.hpp> #include <mesosphere/kern_k_unsafe_memory.hpp> #include <mesosphere/kern_k_scoped_resource_reservation.hpp> /* Supervisor Calls. */ #include <mesosphere/kern_svc.hpp> /* Main functionality. */ #include <mesosphere/kern_main.hpp>