controlbuffer.h

来自「realview22.rar」· C头文件 代码 · 共 33 行

H
33
字号
/*
 * controlbuffer.h
 * C definitions for control buffer structure and allocation
 * see also controlbuffer_h.s
 * Copyright (C) ARM Limited, 2002. All rights reserved.
 */

#ifndef controlbuffer_h_included
#define controlbuffer_h_included

/* these are non-ATPCS entry points: we only need the address here */
typedef void (*ReturnAddress)(void);

#define CONTROL_BUFFER_MAX_DATA_WORDS 34

typedef struct ControlBuffer ControlBuffer;
struct ControlBuffer
{
    ReturnAddress PC;
    unsigned PSR;
    unsigned R14;
    unsigned data[CONTROL_BUFFER_MAX_DATA_WORDS];
};

typedef struct ARM_RegDump ARM_RegDump;

ControlBuffer *GetControlBuffer(
    ARM_RegDump *regdump, ReturnAddress target, unsigned size);

#endif /* controlbuffer_h_included */

/* end of controlbuffer.h */

⌨️ 快捷键说明

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