ctr_eFuse/cr_hsm_alloc.h
kubodera_yuichi b2d392fec9 コード修正
git-svn-id: file:///Volumes/Transfer/gigaleak_20231201/2020-09-30%20-%20paladin.7z/paladin/ctr_eFuse@126 ff987cc8-cf2f-4642-8568-d52cce064691
2009-12-29 04:05:25 +00:00

31 lines
623 B
C

/*
* cr_hsm_alloc.h
*/
#ifndef CR_HSM_ALLOC_H
#define CR_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 // CR_HSM_ALLOC_H