Main Page | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals | Related Pages

hal.h File Reference

Defines interface exposed by HAL sub-component. More...

#include <dsplink.h>
#include <_dspdefs.h>

Include dependency graph for hal.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  HAL_Interface_tag

HAL_Interface

Interface functions exported by the DSP subcomponent.

============================================================================

Parameters:
phyInit Function pointer to Initializes physical interface function for the DSP.
phyExit Function pointer to Finalizes physical interface function for the DSP.
bootCtrl Function pointer to boot control function for the DSP.
intCtrl Function pointer to intterrupt control function for the DSP.
mapCtrl Function pointer to map control function for the DSP.
pwrCtrl Function pointer to power control function for the DSP.
read Function pointer to read memory function for the DSP.
write Function pointer to write memory function for the DSP.
readDMA Function pointer to read DMA function for the DSP.
writeDMA Function pointer to write DMA function for the DSP. ============================================================================


typedef HAL_Interface_tag HAL_Interface

Defines

#define HAL_H

Typedefs

typedef DSP_STATUS(* FnPhyInit )(IN Void *halObject)
typedef DSP_STATUS(* FnPhyExit )(IN Void *halObject)
typedef DSP_STATUS(* FnBootCtrl )(IN Void *halObject, IN DSP_BootCtrlCmd cmd, IN OUT Pvoid arg)
typedef DSP_STATUS(* FnIntCtrl )(IN Void *halObject, IN DSP_IntCtrlCmd cmd, IN Uint32 intId, IN OUT Pvoid arg)
typedef DSP_STATUS(* FnMmuCtrl )(IN Void *halObject, IN DSP_MmuCtrlCmd cmd, IN LINKCFG_MemEntry *memTable, IN Uint32 memEntries, IN ProcMemMapInfo *mmuInfo)
typedef DSP_STATUS(* FnMapCtrl )(IN Void *halObject, IN DSP_MapCtrlCmd cmd, IN Uint32 dspBufAddr, IN Uint32 size, OUT Uint32 *bufVirtPtr, OUT Uint32 *bufPhysAddr, OUT Uint32 *mappedSize)
typedef DSP_STATUS(* FnPwrCtrl )(IN Void *halObject, IN DSP_PwrCtrlCmd cmd, IN OUT Pvoid arg)
typedef DSP_STATUS(* FnRead )(IN Void *halObject, IN Uint32 dspAddr, IN Uint32 cBytes, OUT Char8 *readBuffer)
typedef DSP_STATUS(* FnWrite )(IN Void *halObject, IN Uint32 dspAddr, IN Uint32 cBytes, IN Char8 *writeBuffer)
typedef DSP_STATUS(* FnReadDMA )(IN Void *halObject, IN Uint32 srcAddr, IN Uint32 dstAddr, IN Uint32 size)
typedef DSP_STATUS(* FnWriteDMA )(IN Void *halObject, IN Uint32 srcAddr, IN Uint32 dstAddr, IN Uint32 size)


Detailed Description

Defines interface exposed by HAL sub-component.

============================================================================

Path:
/db/swcoe_asp/DSPLINK_Build/dsplink_linux_1_65_00_03/dsplink/gpp/inc/sys/arch/
Version:
1.65.00.03 ============================================================================
Copyright:
Copyright (C) 2002-2009, Texas Instruments Incorporated - http://www.ti.com/
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. ============================================================================

Definition in file hal.h.


Define Documentation

#define HAL_H
 

Definition at line 44 of file hal.h.


Typedef Documentation

typedef DSP_STATUS(* FnBootCtrl)(IN Void *halObject, IN DSP_BootCtrlCmd cmd, IN OUT Pvoid arg)
 

Definition at line 126 of file hal.h.

typedef DSP_STATUS(* FnIntCtrl)(IN Void *halObject, IN DSP_IntCtrlCmd cmd, IN Uint32 intId, IN OUT Pvoid arg)
 

Definition at line 157 of file hal.h.

typedef DSP_STATUS(* FnMapCtrl)(IN Void *halObject, IN DSP_MapCtrlCmd cmd, IN Uint32 dspBufAddr, IN Uint32 size, OUT Uint32 *bufVirtPtr, OUT Uint32 *bufPhysAddr, OUT Uint32 *mappedSize)
 

Definition at line 232 of file hal.h.

typedef DSP_STATUS(* FnMmuCtrl)(IN Void *halObject, IN DSP_MmuCtrlCmd cmd, IN LINKCFG_MemEntry *memTable, IN Uint32 memEntries, IN ProcMemMapInfo *mmuInfo)
 

Definition at line 191 of file hal.h.

typedef DSP_STATUS(* FnPhyExit)(IN Void *halObject)
 

Definition at line 99 of file hal.h.

typedef DSP_STATUS(* FnPhyInit)(IN Void *halObject)
 

Definition at line 76 of file hal.h.

typedef DSP_STATUS(* FnPwrCtrl)(IN Void *halObject, IN DSP_PwrCtrlCmd cmd, IN OUT Pvoid arg)
 

Definition at line 265 of file hal.h.

typedef DSP_STATUS(* FnRead)(IN Void *halObject, IN Uint32 dspAddr, IN Uint32 cBytes, OUT Char8 *readBuffer)
 

Definition at line 297 of file hal.h.

typedef DSP_STATUS(* FnReadDMA)(IN Void *halObject, IN Uint32 srcAddr, IN Uint32 dstAddr, IN Uint32 size)
 

Definition at line 363 of file hal.h.

typedef DSP_STATUS(* FnWrite)(IN Void *halObject, IN Uint32 dspAddr, IN Uint32 cBytes, IN Char8 *writeBuffer)
 

Definition at line 330 of file hal.h.

typedef DSP_STATUS(* FnWriteDMA)(IN Void *halObject, IN Uint32 srcAddr, IN Uint32 dstAddr, IN Uint32 size)
 

Definition at line 396 of file hal.h.

typedef struct HAL_Interface_tag HAL_Interface
 


Generated on Fri Jul 16 14:34:07 2010 for DSP/BIOSLink by  doxygen 1.4.4