FreeCalypso > hg > fc-magnetite
changeset 205:1b9df37ab303
src/condat2/frame/config/gprscomp.c: support UPM with -DFF_UPM
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Fri, 14 Oct 2016 06:41:54 +0000 |
parents | e2714de970a4 |
children | 6aadfa0d10c4 |
files | src/condat2/frame/config/gprscomp.c |
diffstat | 1 files changed, 20 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/condat2/frame/config/gprscomp.c Fri Oct 14 06:21:03 2016 +0000 +++ b/src/condat2/frame/config/gprscomp.c Fri Oct 14 06:41:54 2016 +0000 @@ -107,6 +107,9 @@ #endif /* FF_TCP_IP */ #endif /* _TARGET_ */ +#ifdef FF_UPM +extern SHORT upm_pei_create (T_PEI_INFO const **Info); +#endif #ifdef FF_GPF_TCPIP extern SHORT tcpip_pei_create (T_PEI_INFO const **Info); @@ -294,6 +297,14 @@ }; #endif /* #ifdef FF_PSI */ +#ifdef FF_UPM +const T_COMPONENT_ADDRESS upm_list[] = +{ + { upm_pei_create, NULL, ASSIGNED_BY_TI }, + { NULL, NULL, 0 } +}; +#endif /* #ifdef FF_UPM */ + #ifdef FF_EOTD const T_COMPONENT_ADDRESS eotd_list[] = { @@ -412,6 +423,9 @@ #ifdef FF_PSI psi_list, #endif +#ifdef FF_UPM + upm_list, +#endif #ifndef FF_ATI_BAT #ifdef FF_BAT gdd_dio_list, @@ -493,9 +507,15 @@ #else /*WIN32*/ +#ifdef FF_UPM +#define PRIMPOOL_0_PARTITIONS (190 + PRIMPOOL_0_MUX_ADDITION + 20) +#define PRIMPOOL_1_PARTITIONS 110 +#define PRIMPOOL_2_PARTITIONS ( 50 + PRIMPOOL_2_MPDP_ADDITION + PRIMPOOL_2_MUX_ADDITION + 5) +#else #define PRIMPOOL_0_PARTITIONS (190 + PRIMPOOL_0_MUX_ADDITION) #define PRIMPOOL_1_PARTITIONS 110 #define PRIMPOOL_2_PARTITIONS ( 50 + PRIMPOOL_2_MPDP_ADDITION + PRIMPOOL_2_MUX_ADDITION) +#endif #define PRIMPOOL_3_PARTITIONS 7 #endif /*WIN32*/