Defines
contract_osal.h File Reference

This is a very slim consumer framework library implementation. More...

#include <ti/instrumentation/traceframework/tf_types.h>

Defines

#define TF_CONTRACT_osalMemAlloc   Osal_contract_MemAlloc
 The macro is used by the trace framework Library to allocate the memory.
#define TF_CONTRACT_osalMemFree   Osal_contract_MemFree
 The macro is used by the trace framework Library to free the memory.
#define TF_CONTRACT_osalBeginMemAccess   Osal_contract_BeginMemAccess
 The macro is used by the producer/consumer Library to indicate that memory access has been accessed & updated . If the values are in cached memory the implementation should invalidate the contents of the cache.
#define TF_CONTRACT_osalEndMemAccess   Osal_contract_EndMemAccess
 The macro is used by the producer/consumer Library to indicate that memory access has been completed. If the values are in cached memory the implementation should writeback the contents of the contents.
#define TF_CONTRACT_osalEnter   Osal_contract_Enter
 The macro is used by the contract to indicate that memory access needs to be protected.
#define TF_CONTRACT_osalExit   Osal_contract_Exit
 The macro is used by the contract to indicate that memory access needs to be protected.
#define TF_CONTRACT_osalMmap   Osal_contract_mmap
 The macro is used by the trace framework Library to get the virtual address from Physical address (Applicable for ARM user mode library only)
#define TF_CONTRACT_osalUnmap   Osal_contract_unmap
 The macro is used by the trace framework Library to get the physical address from virtual address (Applicable for ARM user mode library only)

Detailed Description

This is a very slim consumer framework library implementation.

============================================================================
(C) Copyright 2012, Texas Instruments, Inc.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.

Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

Neither the name of Texas Instruments Incorporated nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.


Copyright 2014, Texas Instruments Incorporated