Go to the documentation of this file.
47 #ifndef __GR55XX_FPB_H_
48 #define __GR55XX_FPB_H_
78 volatile uint32_t COMP[8];
85 #define FPB ((FPB_REG_TypeDef *) 0xE0002000UL)
void(* fun_t)(void)
FPB function.
void fpb_init(fpb_mode_t fpb_mode)
FPB init function.
int fun_replace_by_svc(uint32_t ori_func, uint32_t rep_func, uint8_t patch_table_num)
Replace old and new functions.
void fpb_load_state(fpb_state_t state)
load the FPB state
@ FPB_MODE_PATCH_AND_DEBUG
void svc_table_register(uint32_t *p_svc_table)
register sve table function
void fpb_enable(uint8_t index_start, uint8_t index_end)
Enabling patch function.
void fpb_register_user_space(uint32_t *user_fpb_space)
register fpb space from user layer
void fpb_register_patch_init_func(fun_t patch_enable_func)
Register FPB patch enable function.
fpb_state_t fpb_save_state(void)
save the FPB state
void svc_func_register(uint8_t svc_num, uint32_t func)
svc sub-function register
uint32_t SVC_handler_proc(uint32_t *svc_args)
SVC handler process function.