mirror of
https://github.com/LumaTeam/Luma3DS.git
synced 2026-02-22 01:44:38 +00:00
25 lines
490 B
C
25 lines
490 B
C
#ifndef __firmcompat_h__
|
|
#define __firmcompat_h__
|
|
|
|
#include <stdint.h>
|
|
#include "appcompat.h"
|
|
|
|
struct firmware_offsets {
|
|
uint32_t kernel_patch_address;
|
|
uint32_t reboot_patch_address;
|
|
uint32_t reboot_func_address;
|
|
uint32_t jump_table_address;
|
|
uint32_t fcram_address;
|
|
uint32_t func_patch_address;
|
|
uint32_t func_patch_return;
|
|
uint32_t pdn_regs;
|
|
uint32_t pxi_regs;
|
|
uint32_t gpu_regs;
|
|
};
|
|
|
|
struct firmware_offsets *fw;
|
|
|
|
int set_firmware_offsets();
|
|
|
|
#endif
|