📄 memory.h
字号:
/******************************************************************************
**
** COPYRIGHT (C) 2000, 2001 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.
**
** FILENAME: memory.h
**
** PURPOSE: This file contains the Power-On Self Test definitions for
** the memory tests.
**
** LAST MODIFIED: $Modtime: 10/01/01 4:50p $
******************************************************************************/
#ifndef _memory_h_
#define _memory_h_
#define DM_PAGSIZ 8192
#define BLOCK_SIZE 1024
// Memory patter for Ones Sum tests.
#define ONES_PATTERN 0x11111111
// Address stepping for sum tests.
#define PARTIAL_STEP 0x20 // Every 32 bytes
#define FULL_STEP 4 // Every location
PVOID DM_GetPage(int nunPage);
VOID MemoryTest(VOID);
#endif // _memory_h_
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -