myglobals.h

来自「dsp DM642 pci 详细的开发例程」· C头文件 代码 · 共 91 行

H
91
字号
// MyGlobals.h
//////////////////////////////////////////////////////////////////////////////
////
////  Copyright (c) 2003, Valley Technologies, Inc.
////  All rights reserved.
////
//////////////////////////////////////////////////////////////////////////////
////
////  $Header $
////
////  $ReleaseClass: src $
////
////  Original Author                 : ebersole
////  Most Recent Contributing $Author: ebersole $
////
//////////////////////////////////////////////////////////////////////////////
////
////  This file contains the constants, typedef's, function prototypes,
////    etc. shared by the files in the Dm642App program/project.  These are
////    NOT shared with the "outside world", however.  [IE, they are used
////    only by the file in the App-project and nowhere else.]
////
//////////////////////////////////////////////////////////////////////////////


//############################################################################


#ifndef _MYGLOBALS_H_
#define _MYGLOBALS_H_


//############################################################################
//                             Include Files
//############################################################################


#include <std.h>

#include <log.h>
#include <buf.h>
#include <gio.h>

#include "Dm642Appcfg.h"

#include <c64xx_pci.h>


//############################################################################
//                           Structs and typedefs
//############################################################################


struct mypcixferinfo
{
    Ptr   pDspTxAddr;
    Ptr   pDspRxAddr;
    Ptr   pPciAddr;
    MdUns nCountB;
};
typedef struct mypcixferinfo tMyPciXferInfo;

struct mybufinfo
{
	MdUns      nBufSizeB;
	BUF_Handle hBufPool;
};
typedef struct mybufinfo tMyBufInfo;


//############################################################################
//                             Global Variables
//############################################################################


extern tMyPciXferInfo g_oXferInfo;
extern tMyBufInfo     g_oBufInfo;

extern Ptr            g_pMyGio;


//############################################################################


#endif


//############################################################################
//                             End-Of-File
//############################################################################

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?