From d819cfd58f8a82bd4b1bf072ac398f4add3813b5 Mon Sep 17 00:00:00 2001 From: TuxSH Date: Mon, 19 Jun 2017 15:21:15 +0200 Subject: [PATCH] Remove useless files --- .../rosalina/include/kernel_extension.h | 38 ------------------- .../rosalina/include/kernel_extension_setup.h | 30 --------------- 2 files changed, 68 deletions(-) delete mode 100644 sysmodules/rosalina/include/kernel_extension.h delete mode 100644 sysmodules/rosalina/include/kernel_extension_setup.h diff --git a/sysmodules/rosalina/include/kernel_extension.h b/sysmodules/rosalina/include/kernel_extension.h deleted file mode 100644 index 2e2afe5..0000000 --- a/sysmodules/rosalina/include/kernel_extension.h +++ /dev/null @@ -1,38 +0,0 @@ -/* -* This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH -* -* This program is free software: you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published by -* the Free Software Foundation, either version 3 of the License, or -* (at your option) any later version. -* -* This program is distributed in the hope that 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 . -* -* Additional Terms 7.b and 7.c of GPLv3 apply to this file: -* * Requiring preservation of specified reasonable legal notices or -* author attributions in that material or in the Appropriate Legal -* Notices displayed by works containing it. -* * Prohibiting misrepresentation of the origin of that material, -* or requiring that modified versions of such material be marked in -* reasonable ways as different from the original version. -*/ - -#pragma once - -#define PA_FROM_VA_PTR(addr) PA_PTR(convertVAToPA(addr)) - -#include "utils.h" - -Result svc0x2F(void *function, ...); // custom backdoor before kernel ext. is installed (and only before!) - -void *convertVAToPA(const void *VA); - -extern u8 kernel_extension[]; -extern u32 kernel_extension_size; diff --git a/sysmodules/rosalina/include/kernel_extension_setup.h b/sysmodules/rosalina/include/kernel_extension_setup.h deleted file mode 100644 index 5364df3..0000000 --- a/sysmodules/rosalina/include/kernel_extension_setup.h +++ /dev/null @@ -1,30 +0,0 @@ -/* -* This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH -* -* This program is free software: you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published by -* the Free Software Foundation, either version 3 of the License, or -* (at your option) any later version. -* -* This program is distributed in the hope that 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 . -* -* Additional Terms 7.b and 7.c of GPLv3 apply to this file: -* * Requiring preservation of specified reasonable legal notices or -* author attributions in that material or in the Appropriate Legal -* Notices displayed by works containing it. -* * Prohibiting misrepresentation of the origin of that material, -* or requiring that modified versions of such material be marked in -* reasonable ways as different from the original version. -*/ - -#pragma once -#include <3ds/types.h> - -void installKernelExtension(void);