ctr_eFuse/trunk/cr_hsm_alloc.h
(no author) 577c5fc792 ツリー全体をtrunkフォルダに移動。
git-svn-id: file:///Volumes/Transfer/gigaleak_20231201/2020-09-30%20-%20paladin.7z/paladin/ctr_eFuse@176 ff987cc8-cf2f-4642-8568-d52cce064691
2010-01-12 08:55:42 +00:00

33 lines
664 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 );
int my_hsm_get_alloc_counter( void );
#ifdef __cplusplus
}
#endif
#endif // CR_HSM_ALLOC_H