⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 xllp_checksum.h

📁 Intel PXA270底层设备驱动代码
💻 H
字号:
#ifndef _XLLP_CHECKSUM_INCLUDED
#define _XLLP_CHECKSUM_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. 
 *
 *******************************************************************************
 */
        
// Calculate a simple checksum on a buffer.
// Note this function will destroy r0-r4 if SP is zero when called.
// It will probably crash if SP is not zero but does not contain a valid address.
// If SP is non-zero and valid all registers (except r0) are preserved.
extern unsigned long Xllp_SimpleChecksum(unsigned long *pBuffer, unsigned long words);

#endif // _XLLP_CHECKSUM_INCLUDED

⌨️ 快捷键说明

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