FreeCalypso > hg > fc-magnetite
comparison src/condat2/frame/config/gprscomp.c @ 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 | 93999a60b835 |
children | 8a2aa6b8aed8 |
comparison
equal
deleted
inserted
replaced
204:e2714de970a4 | 205:1b9df37ab303 |
---|---|
105 #ifdef FF_TCP_IP | 105 #ifdef FF_TCP_IP |
106 extern SHORT aaa_pei_create (T_PEI_INFO const **Info); | 106 extern SHORT aaa_pei_create (T_PEI_INFO const **Info); |
107 #endif /* FF_TCP_IP */ | 107 #endif /* FF_TCP_IP */ |
108 #endif /* _TARGET_ */ | 108 #endif /* _TARGET_ */ |
109 | 109 |
110 #ifdef FF_UPM | |
111 extern SHORT upm_pei_create (T_PEI_INFO const **Info); | |
112 #endif | |
110 | 113 |
111 #ifdef FF_GPF_TCPIP | 114 #ifdef FF_GPF_TCPIP |
112 extern SHORT tcpip_pei_create (T_PEI_INFO const **Info); | 115 extern SHORT tcpip_pei_create (T_PEI_INFO const **Info); |
113 #endif /* FF_TCP_IP */ | 116 #endif /* FF_TCP_IP */ |
114 | 117 |
291 { | 294 { |
292 { psi_pei_create, NULL, ASSIGNED_BY_TI }, | 295 { psi_pei_create, NULL, ASSIGNED_BY_TI }, |
293 { NULL, NULL, 0 } | 296 { NULL, NULL, 0 } |
294 }; | 297 }; |
295 #endif /* #ifdef FF_PSI */ | 298 #endif /* #ifdef FF_PSI */ |
299 | |
300 #ifdef FF_UPM | |
301 const T_COMPONENT_ADDRESS upm_list[] = | |
302 { | |
303 { upm_pei_create, NULL, ASSIGNED_BY_TI }, | |
304 { NULL, NULL, 0 } | |
305 }; | |
306 #endif /* #ifdef FF_UPM */ | |
296 | 307 |
297 #ifdef FF_EOTD | 308 #ifdef FF_EOTD |
298 const T_COMPONENT_ADDRESS eotd_list[] = | 309 const T_COMPONENT_ADDRESS eotd_list[] = |
299 { | 310 { |
300 { lc_pei_create, NULL, ASSIGNED_BY_TI }, | 311 { lc_pei_create, NULL, ASSIGNED_BY_TI }, |
410 pktio_list, | 421 pktio_list, |
411 #endif | 422 #endif |
412 #ifdef FF_PSI | 423 #ifdef FF_PSI |
413 psi_list, | 424 psi_list, |
414 #endif | 425 #endif |
426 #ifdef FF_UPM | |
427 upm_list, | |
428 #endif | |
415 #ifndef FF_ATI_BAT | 429 #ifndef FF_ATI_BAT |
416 #ifdef FF_BAT | 430 #ifdef FF_BAT |
417 gdd_dio_list, | 431 gdd_dio_list, |
418 #endif /* FF_BAT */ | 432 #endif /* FF_BAT */ |
419 #endif | 433 #endif |
491 #define PRIMPOOL_2_PARTITIONS 20 | 505 #define PRIMPOOL_2_PARTITIONS 20 |
492 #define PRIMPOOL_3_PARTITIONS 20 | 506 #define PRIMPOOL_3_PARTITIONS 20 |
493 | 507 |
494 #else /*WIN32*/ | 508 #else /*WIN32*/ |
495 | 509 |
510 #ifdef FF_UPM | |
511 #define PRIMPOOL_0_PARTITIONS (190 + PRIMPOOL_0_MUX_ADDITION + 20) | |
512 #define PRIMPOOL_1_PARTITIONS 110 | |
513 #define PRIMPOOL_2_PARTITIONS ( 50 + PRIMPOOL_2_MPDP_ADDITION + PRIMPOOL_2_MUX_ADDITION + 5) | |
514 #else | |
496 #define PRIMPOOL_0_PARTITIONS (190 + PRIMPOOL_0_MUX_ADDITION) | 515 #define PRIMPOOL_0_PARTITIONS (190 + PRIMPOOL_0_MUX_ADDITION) |
497 #define PRIMPOOL_1_PARTITIONS 110 | 516 #define PRIMPOOL_1_PARTITIONS 110 |
498 #define PRIMPOOL_2_PARTITIONS ( 50 + PRIMPOOL_2_MPDP_ADDITION + PRIMPOOL_2_MUX_ADDITION) | 517 #define PRIMPOOL_2_PARTITIONS ( 50 + PRIMPOOL_2_MPDP_ADDITION + PRIMPOOL_2_MUX_ADDITION) |
518 #endif | |
499 #define PRIMPOOL_3_PARTITIONS 7 | 519 #define PRIMPOOL_3_PARTITIONS 7 |
500 | 520 |
501 #endif /*WIN32*/ | 521 #endif /*WIN32*/ |
502 | 522 |
503 #define PRIM_PARTITION_0_SIZE 60 | 523 #define PRIM_PARTITION_0_SIZE 60 |