vapours: cleanup svc includes

This commit is contained in:
Michael Scire 2020-02-22 19:54:50 -08:00
parent eb75d54b2b
commit 9572fb2ce3
18 changed files with 41 additions and 42 deletions

View file

@ -14,7 +14,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once
#include "svc_codegen_impl_common.hpp"
#include <vapours/svc/codegen/impl/svc_codegen_impl_common.hpp>
namespace ams::svc::codegen::impl {

View file

@ -14,12 +14,12 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once
#include "svc_codegen_impl_common.hpp"
#include "svc_codegen_impl_parameter.hpp"
#include "svc_codegen_impl_layout.hpp"
#include "svc_codegen_impl_meta_code.hpp"
#include "svc_codegen_impl_layout_conversion.hpp"
#include "svc_codegen_impl_code_generator.hpp"
#include <vapours/svc/codegen/impl/svc_codegen_impl_common.hpp>
#include <vapours/svc/codegen/impl/svc_codegen_impl_parameter.hpp>
#include <vapours/svc/codegen/impl/svc_codegen_impl_layout.hpp>
#include <vapours/svc/codegen/impl/svc_codegen_impl_meta_code.hpp>
#include <vapours/svc/codegen/impl/svc_codegen_impl_layout_conversion.hpp>
#include <vapours/svc/codegen/impl/svc_codegen_impl_code_generator.hpp>
namespace ams::svc::codegen::impl {

View file

@ -14,8 +14,8 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once
#include "svc_codegen_impl_common.hpp"
#include "svc_codegen_impl_parameter.hpp"
#include <vapours/svc/codegen/impl/svc_codegen_impl_common.hpp>
#include <vapours/svc/codegen/impl/svc_codegen_impl_parameter.hpp>
namespace ams::svc::codegen::impl {

View file

@ -14,10 +14,10 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once
#include "svc_codegen_impl_common.hpp"
#include "svc_codegen_impl_parameter.hpp"
#include "svc_codegen_impl_layout.hpp"
#include "svc_codegen_impl_meta_code.hpp"
#include <vapours/svc/codegen/impl/svc_codegen_impl_common.hpp>
#include <vapours/svc/codegen/impl/svc_codegen_impl_parameter.hpp>
#include <vapours/svc/codegen/impl/svc_codegen_impl_layout.hpp>
#include <vapours/svc/codegen/impl/svc_codegen_impl_meta_code.hpp>
namespace ams::svc::codegen::impl {

View file

@ -14,7 +14,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once
#include "svc_codegen_impl_common.hpp"
#include <vapours/svc/codegen/impl/svc_codegen_impl_common.hpp>
namespace ams::svc::codegen::impl {

View file

@ -14,7 +14,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once
#include "svc_codegen_impl_common.hpp"
#include <vapours/svc/codegen/impl/svc_codegen_impl_common.hpp>
namespace ams::svc::codegen::impl {

View file

@ -14,7 +14,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once
#include "svc_codegen_impl_kernel_svc_wrapper.hpp"
#include <vapours/svc/codegen/impl/svc_codegen_impl_kernel_svc_wrapper.hpp>
namespace ams::svc::codegen {

View file

@ -16,8 +16,8 @@
#pragma once
/* NOTE: This header must not be included by svc.hpp. */
#include "svc_common.hpp"
#include "svc_types.hpp"
#include "svc_definitions.hpp"
#include <vapours/svc/svc_common.hpp>
#include <vapours/svc/svc_types.hpp>
#include <vapours/svc/svc_definitions.hpp>
#include "codegen/svc_codegen_kernel_svc_wrapper.hpp"
#include <vapours/svc/codegen/svc_codegen_kernel_svc_wrapper.hpp>

View file

@ -15,8 +15,8 @@
*/
#pragma once
#include "svc_common.hpp"
#include "svc_types.hpp"
#include <vapours/svc/svc_common.hpp>
#include <vapours/svc/svc_types.hpp>
#define AMS_SVC_KERN_INPUT_HANDLER(TYPE, NAME) TYPE NAME
#define AMS_SVC_KERN_OUTPUT_HANDLER(TYPE, NAME) TYPE *NAME

View file

@ -15,11 +15,11 @@
*/
#pragma once
#include "svc_common.hpp"
#include <vapours/svc/svc_common.hpp>
#if defined(ATMOSPHERE_BOARD_NINTENDO_NX)
#include "board/nintendo/nx/svc_device_name.hpp"
#include <vapours/svc/board/nintendo/nx/svc_device_name.hpp>
namespace ams::svc {
using namespace ams::svc::board::nintendo::nx;
}

View file

@ -15,11 +15,11 @@
*/
#pragma once
#include "svc_common.hpp"
#include <vapours/svc/svc_common.hpp>
#if defined(ATMOSPHERE_BOARD_NINTENDO_NX)
#include "board/nintendo/nx/svc_hardware_constants.hpp"
#include <vapours/svc/board/nintendo/nx/svc_hardware_constants.hpp>
namespace ams::svc {
using namespace ams::svc::board::nintendo::nx;
}

View file

@ -15,10 +15,10 @@
*/
#pragma once
#include "svc_common.hpp"
#include "svc_tick.hpp"
#include "svc_types_common.hpp"
#include "svc_types_base.hpp"
#include "svc_types_dd.hpp"
#include "svc_types_dmnt.hpp"
#include "svc_types_priv.hpp"
#include <vapours/svc/svc_common.hpp>
#include <vapours/svc/svc_tick.hpp>
#include <vapours/svc/svc_types_common.hpp>
#include <vapours/svc/svc_types_base.hpp>
#include <vapours/svc/svc_types_dd.hpp>
#include <vapours/svc/svc_types_dmnt.hpp>
#include <vapours/svc/svc_types_priv.hpp>

View file

@ -14,7 +14,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once
#include "svc_types_common.hpp"
#include <vapours/svc/svc_types_common.hpp>
namespace ams::svc {

View file

@ -13,9 +13,8 @@
* 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
#include "svc_common.hpp"
#include <vapours/svc/svc_common.hpp>
namespace ams::kern::svc::impl {
@ -240,7 +239,7 @@ namespace ams::svc {
static_assert(sizeof(ThreadContext) == 0x320);
#else
#error "Unknown Architecture for ams::svc::ThreadContext"
#error >Unknown Architecture for ams::svc::ThreadContext>
#endif
enum ThreadSuspend : u32 {

View file

@ -14,9 +14,9 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once
#include "svc_types_common.hpp"
#include "svc_select_hardware_constants.hpp"
#include "svc_select_device_name.hpp"
#include <vapours/svc/svc_types_common.hpp>
#include <vapours/svc/svc_select_hardware_constants.hpp>
#include <vapours/svc/svc_select_device_name.hpp>
namespace ams::svc {

View file

@ -14,7 +14,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once
#include "svc_types_common.hpp"
#include <vapours/svc/svc_types_common.hpp>
namespace ams::svc {

View file

@ -14,7 +14,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once
#include "svc_types_common.hpp"
#include <vapours/svc/svc_types_common.hpp>
namespace ams::svc {