memory.h
来自「pxa270 的bootloader源码」· C头文件 代码 · 共 41 行
H
41 行
/******************************************************************************
**
** 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 + =
减小字号Ctrl + -
显示快捷键?