1
0
Fork 0
mirror of https://github.com/Atmosphere-NX/Atmosphere.git synced 2024-12-02 00:32:19 +00:00
Atmosphere/fusee/fusee-secondary/src/chainloader.h

14 lines
310 B
C
Raw Normal View History

#ifndef FUSEE_CHAINLOADER_H
#define FUSEE_CHAINLOADER_H
#include <stddef.h>
#include <stdint.h>
#define PAYLOAD_ARG_DATA_MAX_SIZE 0x1000
extern uint8_t g_payload_arg_data[PAYLOAD_ARG_DATA_MAX_SIZE];
void relocate_and_chainload(uintptr_t load_address, uintptr_t src_address, size_t size, int argc);
#endif