📄 tx_black.h
字号:
/**************************************************************************/
/* */
/* Copyright (c) 1996-2004 by Express Logic Inc. */
/* */
/* This software is copyrighted by and is the sole property of Express */
/* Logic, Inc. All rights, title, ownership, or other interests */
/* in the software remain the property of Express Logic, Inc. This */
/* software may only be used in accordance with the corresponding */
/* license agreement. Any unauthorized use, duplication, transmission, */
/* distribution, or disclosure of this software is expressly forbidden. */
/* */
/* This Copyright notice may not be removed or modified without prior */
/* written consent of Express Logic, Inc. */
/* */
/* Express Logic, Inc. reserves the right to modify this software */
/* without notice. */
/* */
/* Express Logic, Inc. */
/* 11423 West Bernardo Court info@expresslogic.com */
/* San Diego, CA 92127 http://www.expresslogic.com */
/* */
/* */
/**************************************************************************/
/**************************************************************************/
/**************************************************************************/
/** */
/** ThreadX Component */
/** */
/** Port Specific */
/** */
/**************************************************************************/
/**************************************************************************/
/**************************************************************************/
/* */
/* PORT SPECIFIC ASM INFORMATION RELEASE */
/* */
/* tx_black.h BLACKFIN561/VisualDSP */
/* 4.0 */
/* */
/* AUTHOR */
/* */
/* William E. Lamie, Express Logic, Inc. */
/* */
/* DESCRIPTION */
/* */
/* This file contains data type definitions that make the ThreadX */
/* real-time kernel function identically on a variety of different */
/* processor architectures. For example, the size or number of bits */
/* in an "int" data type vary between microprocessor architectures and */
/* even C compilers for the same microprocessor. ThreadX does not */
/* directly use native C data types. Instead, ThreadX creates its */
/* own special types that can be mapped to actual data types by this */
/* file to guarantee consistency in the interface and functionality. */
/* */
/* RELEASE HISTORY */
/* */
/* DATE NAME DESCRIPTION */
/* */
/* 07-15-2005 Karl Homer Initial BLACKFIN561/VisualDSP */
/* version 4.0 */
/* */
/**************************************************************************/
#ifndef TX_BLACKFIN
#define TX_BLACKFIN
/* Define various assembly constants for the port. */
// These defines cannot be modified without corresponding changes to ASM files.
#define INTERRUPT_STACK_SIZE 184 // Interrupt Stack frame size
#define LINK_STACK_SIZE (INTERRUPT_STACK_SIZE - 8) // minus FP/RTS
// Threads run at Level 15 while the scheduler uses level 14.
#define INTERRUPT_RETURN_LEVEL 14
#define INTERRUPT_LEVEL 0x3fe0 (Z) // Initial thread interrupt level
#define INTERRUPT_MASK 0x1f (Z) // Preserve these from current imask
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -