/******************************************************************************12� 1995-2003, 2004, 2005-2011 Freescale Semiconductor, Inc.3All rights reserved.45This is proprietary source code of Freescale Semiconductor Inc.,6and its use is subject to the NetComm Device Drivers EULA.7The copyright notice above does not evidence any actual or intended8publication of such source code.910ALTERNATIVELY, redistribution and use in source and binary forms, with11or without modification, are permitted provided that the following12conditions are met:13* Redistributions of source code must retain the above copyright14notice, this list of conditions and the following disclaimer.15* Redistributions in binary form must reproduce the above copyright16notice, this list of conditions and the following disclaimer in the17documentation and/or other materials provided with the distribution.18* Neither the name of Freescale Semiconductor nor the19names of its contributors may be used to endorse or promote products20derived from this software without specific prior written permission.2122THIS SOFTWARE IS PROVIDED BY Freescale Semiconductor ``AS IS'' AND ANY23EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED24WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE25DISCLAIMED. IN NO EVENT SHALL Freescale Semiconductor BE LIABLE FOR ANY26DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES27(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;28LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND29ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT30(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS31SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.32*3334**************************************************************************/35#ifndef __MEM_H36#define __MEM_H3738#include "error_ext.h"39#include "std_ext.h"40#include "list_ext.h"414243#define __ERR_MODULE__ MODULE_MEM4445464748/**************************************************************************//**49@Description Memory allocation owner.50*//***************************************************************************/51typedef enum e_MemAllocOwner52{53e_MEM_ALLOC_OWNER_LOCAL,54e_MEM_ALLOC_OWNER_LOCAL_SMART,55e_MEM_ALLOC_OWNER_EXTERNAL56} e_MemAllocOwner;575859#ifdef DEBUG_MEM_LEAKS6061/**************************************************************************//**62@Description MEM block information for leaks detection.63*//***************************************************************************/64typedef struct t_MemDbg65{66uintptr_t ownerAddress;6768} t_MemDbg;6970#endif /* DEBUG_MEM_LEAKS */717273#endif /* __MEM_H */747576