FreeCalypso > hg > freecalypso-sw
view gsm-fw/riviera/rvf/rvf_cust.h @ 884:353daaa6014d
gsm-fw/gpf/conf/gsmcomp.c: increased max partition in the voice-only config
The code we got from TCS211 had the maximum prim pool partition size set to
900 bytes in the voice-only config (no FAX_AND_DATA, no GPRS) and to 1600 bytes
in every other config. As it turns out, this "minimized" config breaks when
the AT command interface is used with %CPI enabled, as the responsible code in
ATI does an ACI_MALLOC of 1012 bytes. TI may have considered this case to be
unsupported usage (perhaps they didn't care about the combination of a
voice-only PS with AT command control), but we do want this use case to work
without crashing. Solution: I made the largest prim pool the same as it is
with FAX_AND_DATA: 3 partitions of 1600 bytes.
author | Space Falcon <falcon@ivan.Harhan.ORG> |
---|---|
date | Sat, 27 Jun 2015 07:31:30 +0000 |
parents | afceeeb2cba1 |
children |
line wrap: on
line source
/****************************************************************************/ /* */ /* Name rvf_cust.h */ /* */ /* Function this file contains rvf cust definitions */ /* */ /* Version 0.1 */ /* */ /* Date Modification */ /* ------------------------------------ */ /* 29/11/2002 Create */ /* */ /* Author Stephanie Gerthoux(s-gerthoux@ti.com) */ /* */ /* (C) Copyright 2002 by Texas Instruments Incorporated, All Rights Reserved*/ /****************************************************************************/ #ifndef _RVF_CUST_H #define _RVF_CUST_H #include "../rv/general.h" /* RVF will managed at most 2 pools of memory for dynamic allocation */ /* buffer pool structure*/ typedef struct _t_rvf_pool { void * start_address; /* address of the beginnig of the pool */ UINT32 pool_size; /* total size of the pool */ } T_RVF_POOL; /* RVF function prototypes */ void _rvf_init_free_queue (UINT8 id, UINT32 size, void *p_mem); #endif /* _RVF_I_H */