mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2024-11-06 04:01:44 +00:00
30 lines
No EOL
951 B
C
30 lines
No EOL
951 B
C
/*
|
|
* 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/>.
|
|
*/
|
|
|
|
#ifndef EXOSPHERE_SMC_AMS_H
|
|
#define EXOSPHERE_SMC_AMS_H
|
|
|
|
#include "smc_api.h"
|
|
|
|
uint32_t ams_iram_copy(smc_args_t *args);
|
|
uint32_t ams_write_address(smc_args_t *args);
|
|
|
|
uint32_t ams_get_emummc_config(smc_args_t *args);
|
|
|
|
void ams_map_irampage(uintptr_t iram_address);
|
|
void ams_unmap_irampage(void);
|
|
|
|
#endif |