2019-12-12 14:29:37 +00:00
|
|
|
/*
|
2020-01-24 10:10:40 +00:00
|
|
|
* Copyright (c) 2018-2020 Atmosphère-NX
|
2019-12-12 14:29:37 +00: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 09:21:43 +00:00
|
|
|
#include "mesosphere/kern_initial_process.hpp"
|
|
|
|
|
2019-12-17 08:37:55 +00:00
|
|
|
/* Core pre-initialization includes. */
|
|
|
|
#include "mesosphere/kern_select_cpu.hpp"
|
|
|
|
|
2019-12-13 09:21:43 +00: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 08:47:43 +00:00
|
|
|
#include "mesosphere/init/kern_init_arguments_select.hpp"
|
2019-12-12 14:29:37 +00:00
|
|
|
|
|
|
|
/* Core functionality. */
|
2019-12-13 09:21:43 +00:00
|
|
|
#include "mesosphere/kern_select_interrupts.hpp"
|
2019-12-12 14:29:37 +00:00
|
|
|
#include "mesosphere/kern_select_k_system_control.hpp"
|
2020-01-18 06:02:45 +00:00
|
|
|
|
|
|
|
/* Supervisor Calls. */
|
|
|
|
#include "mesosphere/kern_svc.hpp"
|