FreeCalypso > hg > fc-tourmaline
comparison src/cs/riviera/rvf/rvf_env.h @ 0:4e78acac3d88
src/{condat,cs,gpf,nucleus}: import from Selenite
| author | Mychaela Falconia <falcon@freecalypso.org> |
|---|---|
| date | Fri, 16 Oct 2020 06:23:26 +0000 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:4e78acac3d88 |
|---|---|
| 1 /****************************************************************************/ | |
| 2 /* */ | |
| 3 /* Name rvf_env.h */ | |
| 4 /* */ | |
| 5 /* Function this file contains rvf definitions specific for the RVM. */ | |
| 6 /* */ | |
| 7 /* Version 0.1 */ | |
| 8 /* */ | |
| 9 /* Date Modification */ | |
| 10 /* ------------------------------------ */ | |
| 11 /* 28/01/2000 Create */ | |
| 12 /* */ | |
| 13 /* Author David Lamy-Charrier (dlamy@tif.ti.com) */ | |
| 14 /* */ | |
| 15 /* (C) Copyright 2000 by Texas Instruments Incorporated, All Rights Reserved*/ | |
| 16 /****************************************************************************/ | |
| 17 | |
| 18 #ifndef _RVF_ENV_H | |
| 19 #define _RVF_ENV_H | |
| 20 | |
| 21 #include "rvf/rvf_api.h" | |
| 22 | |
| 23 | |
| 24 | |
| 25 | |
| 26 /* return the size of the available memory in bytes */ | |
| 27 T_RVF_RET rvf_get_available_mem( UINT32 * total_size, UINT32 * used_size ); | |
| 28 | |
| 29 /* get the parameters of a specific memory bank */ | |
| 30 T_RVF_RET rvf_get_mb_param( T_RVF_MB_NAME mb_name, T_RVF_MB_PARAM * param); | |
| 31 | |
| 32 /* change the parameters of a specific memory bank */ | |
| 33 T_RVF_RET rvf_set_mb_param( T_RVF_MB_NAME mb_name, T_RVF_MB_PARAM * param); | |
| 34 | |
| 35 /* retrieve the amount of memory available before the memory bank size */ | |
| 36 UINT32 rvf_get_mb_unused_mem(T_RVF_MB_ID mb_id); | |
| 37 | |
| 38 /* retrieve the amount of memory available before the memory bank watermark */ | |
| 39 UINT32 rvf_get_mb_unused_green_mem(T_RVF_MB_ID mb_id); | |
| 40 | |
| 41 | |
| 42 | |
| 43 | |
| 44 | |
| 45 #endif /* _RVF_ENV_H */ | |
| 46 |
