mirror of
https://github.com/rvtr/ctr_eFuse.git
synced 2025-11-02 00:11:04 -04:00
git-svn-id: file:///Volumes/Transfer/gigaleak_20231201/2020-09-30%20-%20paladin.7z/paladin/ctr_eFuse@113 ff987cc8-cf2f-4642-8568-d52cce064691
31 lines
623 B
C
31 lines
623 B
C
/*
|
|
* my_hsm_alloc.h
|
|
*/
|
|
|
|
#ifndef MY_HSM_ALLOC_H
|
|
#define MY_HSM_ALLOC_H
|
|
|
|
#include "nfastapp.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
extern const NFast_MallocUpcalls my_hsm_malloc_upcalls;
|
|
|
|
void *my_hsm_malloc( size_t nbytes,
|
|
struct NFast_Call_Context *cctx, struct NFast_Transaction_Context *tctx );
|
|
|
|
void *my_hsm_realloc( void *ptr, size_t nbytes,
|
|
struct NFast_Call_Context *cctx, struct NFast_Transaction_Context *tctx );
|
|
|
|
void my_hsm_free( void *ptr,
|
|
struct NFast_Call_Context *cctx, struct NFast_Transaction_Context *tctx );
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif // MY_HSM_ALLOC_H
|
|
|