📄 image_cfg.h
字号:
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//
// Use of this sample source code is subject to the terms of the Microsoft
// license agreement under which you licensed this sample source code. If
// you did not accept the terms of the license agreement, you are not
// authorized to use this sample source code. For the terms of the license,
// please see the license agreement between you and Microsoft or, if applicable,
// see the LICENSE.RTF on your install media or the root of your tools installation.
// THE SAMPLE SOURCE CODE IS PROVIDED "AS IS", WITH NO WARRANTIES.
//
//------------------------------------------------------------------------------
//
// File: image_cfg.h
//
// This file contains image layout definition. They should be consistent
// with *.bib files and addrtab_cfg.inc mapping table. Generally saying
// *.bib files constants should be determined from constants in this file
// and mapping file (*.bib file values are virtual cached addresses for
// Windows CE .Net OS, but physical address for IPL/EBOOT if they don't use
// MMU).
//
#ifndef __IMAGE_CFG_H
#define __IMAGE_CFG_H
//------------------------------------------------------------------------------
//
// Define: DEVICE_RAM/FLASH_xxx
//
#define DEVICE_RAM_PA 0x80000000
#define DEVICE_RAM_CA 0x80000000
#define DEVICE_RAM_SIZE 0x08000000
#define DEVICE_FLASH_CS0_PA 0x00000000
//------------------------------------------------------------------------------
//
// Define: IMAGE_SHARE_ARGS_xxx
//
// Following constants define location and maximal size of arguments shared
// between loader and kernel. For actual structure see args.h file.
//
#define IMAGE_SHARE_ARGS_PA 0x87FFF000
#define IMAGE_SHARE_ARGS_SIZE 0x00001000
//------------------------------------------------------------------------------
//
// Define: IMAGE_XLDRNAND_xxx
//
// Following constants define image layout for NAND X-Loader. Last three
// values define OMAP2420 NAND boot sector size, location and size image to
// download.
//
#define IMAGE_XLDR_CODE_PA 0x401FF000
#define IMAGE_XLDR_CODE_SIZE 0x00004000
//------------------------------------------------------------------------------
//
// Define: IMAGE_WINCE_xxx
//
// Following constants define Windows CE OS image layout.
//
#define IMAGE_WINCE_CODE_PA 0x80000000
#define IMAGE_WINCE_CODE_SIZE 0x01100000
//------------------------------------------------------------------------------
//
// Define: IMAGE_IPL_xxx
//
// Following constants define IPL image layout.
//
#define IMAGE_IPL_CODE_PA 0xA1B30000
#define IMAGE_IPL_CODE_SIZE 0x00020000
//------------------------------------------------------------------------------
//
// Define: IMAGE_EBOOT_xxx
//
// Following constants define EBOOT image layout. Note that data and stack
// locations are reused from IPL. The DATA segment must have at least 96KB
// because of KITL buffers with aprox 66KB size.
//
#define IMAGE_EBOOT_CODE_PA 0xA1B50000
#define IMAGE_EBOOT_CODE_SIZE 0x00020000
//------------------------------------------------------------------------------
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -