📄 sc_sys.h
字号:
/*-----------------------------------------------------------------------------
$File: //tdi_sw/tdi/source/common/sc_sys.h $
$DateTime: 2004/12/20 19:06:16 $
$Revision: #3 $
Purpose: Common system functions used by the PCDs and HCDs
CONFIDENTIAL AND PROPRIETARY INFORMATION OF SOFTCONNEX TECHNOLOGIES, INC.
Copyright (c) 1999 - 2004 by SoftConnex Technologies, Inc.
This software is protected by copyright laws and international copyright
treaties, as well as other intellectual property laws and treaties. This
software is a CONFIDENTIAL, unpublished work of authorship, and with portions
constituting TRADE SECRETS of SoftConnex Technologies, Inc., a Delaware USA
corporation. Any unauthorized use, disclosure, and/or reproduction of this
software, or any part of this software; or distribution of this software in any
form or by any means; or storage of this software in any database or retrieval
system, without the express written consent of, and license from, SoftConnex
Technologies, Inc. is strictly prohibited. This software is protected under the
copyright and/or trade secret laws in other countries in addition to USA. All
Rights Reserved. Failure to abide by the use, disclosure and/or reproduction
restrictions may result in civil and /or criminal penalties, and will be
prosecuted to the maximum extent of the law.
-----------------------------------------------------------------------------*/
#ifndef _TDI_SYS_H_
#define _TDI_SYS_H_
extern void SYS_DisableInterrupts(U32 irq);
extern void SYS_EnableInterrupts(U32 irq);
extern void SYS_Write1120Reg(U32 *baseAddress, U32 offset, U32 value);
extern U32 SYS_Read1120Reg(U32 *baseAddress, U32 offset);
extern void* SYS_Malloc(U32 size);
extern void SYS_Free(void *buffer);
extern void* SYS_MallocNoncached(U32 size);
extern void SYS_FreeNoncached(void *buffer);
extern U32 SYS_GetAlignedAddress(void *buffer, U32 alignmentBytes);
extern void* SYS_MemSet(void *ptr, U8 val, U32 len);
extern SctStatus SYS_MemMove(void *dest, void *src, U32 len);
#endif /* ifndef _TDI_SYS_H_ */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -