2019-12-12 15:29:37 +01:00
|
|
|
/*
|
2020-01-24 11:10:40 +01:00
|
|
|
* Copyright (c) 2018-2020 Atmosphère-NX
|
2019-12-12 15:29:37 +01:00
|
|
|
*
|
|
|
|
* 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_panic.hpp"
|
|
|
|
|
|
|
|
/* Primitive types. */
|
|
|
|
#include "mesosphere/kern_k_typed_address.hpp"
|
2019-12-13 10:21:43 +01:00
|
|
|
#include "mesosphere/kern_initial_process.hpp"
|
|
|
|
|
2019-12-17 09:37:55 +01:00
|
|
|
/* Core pre-initialization includes. */
|
|
|
|
#include "mesosphere/kern_select_cpu.hpp"
|
2020-01-29 07:09:47 +01:00
|
|
|
#include "mesosphere/kern_select_k_system_control.hpp"
|
2019-12-17 09:37:55 +01:00
|
|
|
|
2019-12-13 10:21:43 +01:00
|
|
|
/* Initialization headers. */
|
|
|
|
#include "mesosphere/init/kern_init_elf.hpp"
|
|
|
|
#include "mesosphere/init/kern_init_layout.hpp"
|
|
|
|
#include "mesosphere/init/kern_init_page_table_select.hpp"
|
2020-01-24 09:47:43 +01:00
|
|
|
#include "mesosphere/init/kern_init_arguments_select.hpp"
|
2020-01-29 07:09:47 +01:00
|
|
|
#include "mesosphere/kern_k_memory_layout.hpp"
|
2019-12-12 15:29:37 +01:00
|
|
|
|
|
|
|
/* Core functionality. */
|
2020-01-29 23:26:24 +01:00
|
|
|
#include "mesosphere/kern_select_interrupt_manager.hpp"
|
|
|
|
#include "mesosphere/kern_k_spin_lock.hpp"
|
2020-01-29 10:49:04 +01:00
|
|
|
#include "mesosphere/kern_k_page_heap.hpp"
|
|
|
|
#include "mesosphere/kern_k_memory_manager.hpp"
|
2020-01-29 23:26:24 +01:00
|
|
|
#include "mesosphere/kern_k_interrupt_task_manager.hpp"
|
|
|
|
#include "mesosphere/kern_k_core_local_region.hpp"
|
|
|
|
#include "mesosphere/kern_kernel.hpp"
|
2020-01-18 07:02:45 +01:00
|
|
|
|
|
|
|
/* Supervisor Calls. */
|
|
|
|
#include "mesosphere/kern_svc.hpp"
|
2020-01-29 07:09:47 +01:00
|
|
|
|
|
|
|
/* Main functionality. */
|
|
|
|
#include "mesosphere/kern_main.hpp"
|