📄 xllp_suspendresume.h
字号:
#ifndef _XLLP_SUSPENDRESUNME_INCLUDED
#define _XLLP_SUSPENDRESUNME_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.
*
*******************************************************************************
*/
// structure to pass addresses to XllpSuspendResume
// This could possibly be done better by letting Xllp call OSD_Map... routines but...
// The physical addresses are currently defined in an OS specific header file.
typedef struct
{
// register addresses
// Note that although register physical addresses are fixed they are not defined in Xllp.
// Also... XllpSuspendResume doesn't currently need the physical addresses - they're included for completeness.
unsigned long RTCRegsPA;
void *pRTCRegs;
unsigned long OSTRegsPA;
void *pOSTRegs;
unsigned long GPIORegsPA;
void *pGPIORegs;
unsigned long INTCRegsPA;
void *pINTCRegs;
unsigned long PWRRegsPA;
void *pPWRRegs;
unsigned long CLKRegsPA;
void *pCLKRegs;
unsigned long MEMCRegsPA;
void *pMEMCRegs;
unsigned long I2CRegsPA;
void *pI2CRegs;
unsigned long BCRegsPA;
void *pBCRegs;
// restart data structure addresses
// XllpSuspendResume does need the physical address of this and it is truly OS dependent.
unsigned long RestartDataPA;
void *pRestartData;
} XLLP_SR_OSD_ADDRESSES_T;
extern unsigned long Xllp_SuspendAndResume(XLLP_SR_OSD_ADDRESSES_T *pOSDAddr);
#endif // _XLLP_SUSPENDRESUNME_INCLUDED
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -