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

📄 sec.h

📁 RMI的处理器au1200系列所用的BOOTLOAD,包括SD卡启动USB启动硬盘启动网络启动,并初始化硬件的所有参数,支持内核调试.
💻 H
字号:
/** * \file * general definitions for security system. *  * * \version $Revision$ $State$ *  * \date $Date$ * * \author $Author$ *  * \par Last changed by: * $Author$ * *****************************************************************************//* * Copyright 2002 ADVANCED MICRO DEVICES, INC. All Rights Reserved. *  * This software and any related documentation (the "Materials") are the * confidential proprietary information of AMD. Unless otherwise provided * in an agreement specifically licensing the Materials, the Materials are * provided in confidence and may not to be used, distributed, modified, or * reproduced in whole or in part by any means. *  * LIMITATION OF LIABILITY: THE MATERIALS ARE PROVIDED "AS IS" WITHOUT ANY * EXPRESS OR IMPLIED WARRANTY OF ANY KIND, INCLUDING BUT NOT LIMITED TO * WARRANTIES OF MERCHANTABILITY, NONINFRINGEMENT, TITLE, FITNESS FOR ANY * PARTICULAR PURPOSE, OR WARRANTIES ARISING FORM CONDUCT, COURSE OF * DEALING, OR USAGE OF TRADE.  IN NO EVENT SHALL AMD OR ITS LICENSORS BE * LIABLE FOR ANY DAMAGES WHATSOEVER (INCLUDING, WITHOUT LIMITATION, * DAMAGES FOR LOSS OF PROFITS, BUSINESS INTERRUPTION, OR LOSS OF * INFORMATION) ARISING OUT OF THE USE OF OR INABILITY TO USE THE * MATERIALS, EVEN IF AMD HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH * DAMAGES.  BECAUSE SOME JURISDICTIONS PROHIBIT THE EXCLUSION OR * LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES, THE * ABOVE LIMITATION MAY NOT APPLY TO YOU. *  * AMD does not assume any responsibility for any errors which may appear * in the Materials nor any responsibility to support or update the * Materials.  AMD retains the right to modify the Materials at any time, * without notice, and is not obligated to provide such modified Materials * to you. *  * NO SUPPORT OBLIGATION: AMD is not obligated to furnish, support, or make * any further information, software, technical information, know-how, or * show-how available to you. *  *****************************************************************************/#ifndef SEC_H#define SEC_H/* security.h defines the structures */#include "hss_types.h"#include "security.h"/******************************************************************************  Constants*****************************************************************************//* magic numbers are ASCII values for _sec, _ssf, _sps, _sis */#define SEC_MAGIC (0x5F736563)#define SSF_MAGIC (0x5f737366)#define SPS_MAGIC (0x5F737073)#define SIS_MAGIC (0x5F736973)#define SNV_MAGIC (0x5F736E76)/* magic numbers are ASCII values for _sec, _ssf, _sps, _sis */#define SEC_ERROR_BASE (0x1000)#define SSF_ERROR_BASE (0x1100)#define SPS_ERROR_BASE (0x1200)#define SIS_ERROR_BASE (0x1300)#define SNV_ERROR_BASE (0x1400)#define SECHAL_ERROR_BASE (0x2000)/* trace mask *//******************************************************************************  Types*****************************************************************************//******************************************************************************  Macros*****************************************************************************/#ifndef USE_TDDFW_ENVIRONMENT/*    #include "amd_trace.h"    #define DP0(x)  if (TraceFilter & 0x01000000) printf x */#define DP0(x) hss_printf x#else    /*#define DP0(x) printf x   */#define DP0(x)#endif#if 1/* we enable full mode */#define SechalReadSecurityPin() FALSE#endif/******************************************************************************  Classes*****************************************************************************//******************************************************************************  Data*****************************************************************************/#ifdef __cplusplusextern "C" {#endif#ifdef __cplusplus}				/* extern "C" */#endif/******************************************************************************  Functions*****************************************************************************/#ifdef __cplusplusextern "C" {#endif    void hss_printf(char *fmt, ...);#ifdef __cplusplus}				/* extern "C" */#endif/******************************************************************************  Inline Functions*****************************************************************************/#endif				/* #ifndef SEC_H */

⌨️ 快捷键说明

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