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
|