/*1* Copyright (c) 2018 M4xw2* Copyright (c) 2018 CTCaer3*4* This program is free software; you can redistribute it and/or modify it5* under the terms and conditions of the GNU General Public License,6* version 2, as published by the Free Software Foundation.7*8* This program is distributed in the hope it will be useful, but WITHOUT9* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or10* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for11* more details.12*13* You should have received a copy of the GNU General Public License14* along with this program. If not, see <http://www.gnu.org/licenses/>.15*/1617#ifndef IANOS_H18#define IANOS_H1920#include <utils/types.h>2122typedef enum23{24DRAM_LIB = 0, // DRAM library.25EXEC_ELF = 1, // Executable elf that does not return.26DR64_LIB = 2, // AARCH64 DRAM library.27AR64_ELF = 3, // Executable elf that does not return.28KEEP_IN_RAM = (1 << 31) // Shared library mask.29} elfType_t;3031uintptr_t ianos_loader(char *path, elfType_t type, void* config);3233#endif3435