offer the interface for the patch function based on the FPB of the cortex arm-m4; More...
Go to the source code of this file.
Macros | |
#define | PATCH_ENABLE_FLAG(BIT) (1<<BIT) |
#define | MANDATORY_PATCH (PATCH_ENABLE_FLAG(BIT_LLC_REM_ENCRYPT_PROC_CONTINUE)) |
#define | OPTIMIZING_PATCH 0 |
Functions | |
void | set_patch_flag (uint32_t patch_flag) |
The enable of the patch featurn based on the FPB of the Cortex ARM-m4. More... | |
void | fpb_register_patch_function (int patch_index, uint32_t func_addr) |
Register the path function to the hardware patch. More... | |
offer the interface for the patch function based on the FPB of the cortex arm-m4;
Copyright(C) 2016-2018, Shenzhen Goodix Technology Co., Ltd All Rights Reserved
Definition in file patch.h.
#define MANDATORY_PATCH (PATCH_ENABLE_FLAG(BIT_LLC_REM_ENCRYPT_PROC_CONTINUE)) |
anonymous enum |
void fpb_register_patch_function | ( | int | patch_index, |
uint32_t | func_addr | ||
) |
Register the path function to the hardware patch.
patch_index | the patch index. |
func_addr | the address of the patch function. |
None |
void set_patch_flag | ( | uint32_t | patch_flag | ) |
The enable of the patch featurn based on the FPB of the Cortex ARM-m4.
patch_flag | the flag used to control the function to be selected as the patch function,one bit for one function. This parameter can be a combiantion of the following values:
|
None |