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

📄 sec2notify.h

📁 freescale ppc sec2加解密单元驱动
💻 H
字号:
/**************************************************************************** * Sec2Notify.h - ISR register transfer definitions for the SEC2.x *                security core family **************************************************************************** * Copyright (c) Certicom Corp. 1996-2000.  All rights reserved * Copyright (c) 2003-2005 Freescale Semiconductor * All Rights Reserved. Proprietary and Confidential. * * NOTICE: The information contained in this file is proprietary * to Freescale Semiconductor, and is being made available to * Freescale's customers under strict license agreements. * Use or disclosure of this information is permissible only * under the terms of the existing license agreement. ***************************************************************************//* * Revision History: * 1.0   Aug 24,2003 dgs - adapted from the final version of mpc18x * 1.1.0 Nov 22,2004 sec - move GENERIC_REQ to global header out of necessity * 1.2   Jan 27,2005 */#ifndef SEC2NOTIFY_H#define SEC2NOTIFY_H#include "sec2.h"/*! \struct SEC2_STATUS_REQ    \brief structure used to indicate the state of the SEC2 as well as the    driver.  Returned as a pointer by sec2_GetStatus() and imbedded in all    requests.*/typedef struct{    unsigned long sec2_ChaAssignmentStatusRegister[2];   /*!< A copy of the contents of                                                    \b sec2_ChaAssignmentStatusRegister                                                    register in SEC2Driver.h                                                    */    unsigned long sec2_InterruptControlRegister[2];      /*!< A copy of the contents of                                                    \b sec2_InterruptControlRegister                                                    register in SEC2Driver.h                                                    */    unsigned long sec2_InterruptStatusRegister[2];       /*!< A copy of the contents of                                                    \b sec2_InterruptStatusRegister                                                    register in SEC2Driver.h                                                    */    unsigned long sec2_IdRegister;                       /*!< A copy of the contents of                                                    \b sec2_IdRegister                                                    register in SEC2Driver.h                                                    */    unsigned long ChannelStatusRegister[SEC2_NUM_CHANNELS][2]; /*!< A copy of the contents of                                                    the \b sec2_ChannelPointerStatusRegister"s"                                                    registers in SEC2Driver.h                                                    */    unsigned long ChannelConfigurationRegister[SEC2_NUM_CHANNELS][2]; /*!< A copy of the contents of                                                    the \b sec2_ChannelConfigRegister"s"                                                    registers in SEC2Driver.h                                                    */    unsigned long CHAInterruptStatusRegister[NUM_CHAS][2]; /*!< A copy of the contents of                                                    the \b Sec2ChaInterruptStatusRegister"s"                                                    registers in SEC2Driver.h                                                    */    unsigned long QueueEntryDepth;                  /*!< A copy of the                                                    \b QueueEntryDepth global                                                    in SEC2Driver.h                                                    */    unsigned long sec2_FreeChannels;                     /*!< A copy of the                                                    \b FreeChannels global                                                    in SEC2Driver.h                                                    */    unsigned long sec2_FreeRngas;                        /*!< A copy of the                                                    \b sec2_FreeRngas global                                                    in SEC2Driver.h                                                    */    unsigned long sec2_FreeAfhas;                        /*!< A copy of the                                                    \b sec2_FreeAfhas global                                                    in SEC2Driver.h                                                    */    unsigned long sec2_FreeDesas;                        /*!< A copy of the                                                    \b sec2_FreeDesas global                                                    in SEC2Driver.h                                                    */    unsigned long sec2_FreeMdhas;                        /*!< A copy of the                                                    \b sec2_FreeMdhas global                                                    in SEC2Driver.h                                                    */    unsigned long sec2_FreePkhas;                        /*!< A copy of the                                                    \b sec2_FreePkhas global                                                    in SEC2Driver.h                                                    */    unsigned long sec2_FreeAesas;                        /*!< A copy of the                                                    \b FreeAesa global                                                    in SEC2Driver.h                                                    */    unsigned long sec2_FreeKeas;                     /*!< A copy of the                                                    \b sec2_FreeKeas global                                                    in SEC2Driver.h                                                    */    unsigned long sec2_BlockSize;                        /*!< A copy of the                                                    \b sec2_BlockSize global                                                    in SEC2Driver.h                                                    */} SEC2_STATUS_REQ;typedef SEC2_STATUS_REQ SEC2_STATUS;typedef void* PSEC_NOTIFY_CTX;/*! \struct SEC_NOTIFY_ON_ERROR_CTX    \brief structure used in all requests to indicate the nature    of errors.*/typedef struct{    unsigned long errorcode;                        /*!< Error that                                                    the request generated                                                    */    void *request;                                  /*!< Pointer to                                                     original request                                                    */    SEC2_STATUS_REQ driverstatus;                        /*!< Detailed information                                                    as to the state of the                                                    hardware and the driver                                                    at the time of an error                                                    */} SEC_NOTIFY_ON_ERROR_CTX, *PSEC_NOTIFY_ON_ERROR_CTX;typedef void (*PSEC_NOTIFY_ROUTINE) (PSEC_NOTIFY_CTX pCtx);typedef void (*PSEC_NOTIFY_ON_ERROR_ROUTINE) (PSEC_NOTIFY_ON_ERROR_CTX pErrCtx);#endif

⌨️ 快捷键说明

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