📄 myglobals.h
字号:
// 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -