📄 xllp_arm_primitives.h
字号:
#ifndef _XLLP_ARM_PRIMITIVES_INCLUDED
#define _XLLP_ARM_PRIMITIVES_INCLUDED 1
/******************************************************************************
* COPYRIGHT (C) 2005 Intel Corporation.
*
* This software as well as the software described in it is furnished under
* license and may only be used or copied in accordance with the terms of the
* license. The information in this file is furnished for informational use
* only, is subject to change without notice, and should not be construed as
* a commitment by Intel Corporation. Intel Corporation assumes no
* responsibility or liability for any errors or inaccuracies that may appear
* in this document or any software that may be provided in association with
* this document.
*
* Except as permitted by such license, no part of this document may be
* reproduced, stored in a retrieval system, or transmitted in any form or by
* any means without the express written consent of Intel Corporation.
*
*******************************************************************************
*/
// ARM processor primitives (register access, etc.)
// current program status register.
extern unsigned long Xllp_Get_ARM_CPSR(void);
extern unsigned long Xllp_Set_ARM_CPSR(unsigned long CPSR_value);
// saved program status register.
extern unsigned long Xllp_Get_ARM_SPSR(void);
extern unsigned long Xllp_Set_ARM_SPSR(unsigned long SPSR_value);
// Stack Pointer
extern unsigned long Xllp_Get_ARM_SP(void);
extern unsigned long Xllp_Set_ARM_SP(unsigned long SP_value);
// Co-Processor Access Register
extern unsigned long Xllp_Get_ARM_CPAR(void);
extern unsigned long Xllp_Set_ARM_CPAR(unsigned long CPAR_value);
extern void XllpCpuIdle(void);
extern void XllpCpuStandby(void);
#endif // _XLLP_ARM_PRIMITIVES_INCLUDED
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -