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

📄 image_cfg.h

📁 Windows CE documentation and examples from the Windows CE development manuals. There are lots of exa
💻 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
//
//  Defines configuration parameters used to create the NK and Bootloader
//  program images.
//
#ifndef __IMAGE_CFG_H
#define __IMAGE_CFG_H

#if __cplusplus
extern "C" {
#endif

//------------------------------------------------------------------------------
//  RESTRICTION
//
//  This file is a configuration file. It should ONLY contain simple #define 
//  directives defining constants. This file is included by other files that 
//  only support simple substitutions.
//
//------------------------------------------------------------------------------

//------------------------------------------------------------------------------
//  NAMING CONVENTION
//
//  The IMAGE_ naming convention ...
//
//  IMAGE_<NAME>_<SECTION>_<MEMORY_DEVICE>_[OFFSET|SIZE|START|END]
//
//      <NAME>          - WINCE, BOOT, SHARE
//      <SECTION>       - section name: user defined
//      <MEMORY_DEVICE> - the memory device the block resides on
//      OFFSET          - number of bytes from memory device start address
//      SIZE            - maximum size of the block
//      START           - start address of block    (device address + offset)
//      END             - end address of block      (start address  + size - 1)
//
//------------------------------------------------------------------------------

#define IMAGE_SHARE_ARGS_UA_START       0xA0020000
#define IMAGE_SHARE_ARGS_CA_START       0x80020000
#define IMAGE_SHARE_ARGS_SIZE           0x00000800

//------------------------------------------------------------------------------

#define IMAGE_FRAMEBUFFER_UA_BASE       0xA3F00000
#define IMAGE_FRAMEBUFFER_DMA_BASE      0x33F00000

//------------------------------------------------------------------------------

#define IMAGE_BOOT_CODE_CA_START	
//------------------------------------------------------------------------------


#define AMD_FLASH_START_UA          (UINT32)OALPAtoVA(BSP_BASE_REG_PA_AM29LV800, FALSE)
#define AMD_FLASH_START_CA          (UINT32)OALPAtoVA(BSP_BASE_REG_PA_AM29LV800, TRUE)
#define AMD_FLASH_SIZE              0x06000000 // 96mb


#define IMAGE_IPL_SIZE              0x00020000


#define EBOOT_CONFIG_OFFSET         0x000F0000                                      // Physical flash address byte offset 
#define EBOOT_CONFIG_SIZE           0x00010000

// Virtual address and length of extended RAM
#define	EXTENDED_RAM_BASE	    0x94000000 // This must match the "Extended RAM" entry in oemaddrtab_cfg.h
#define	EXTENDED_RAM_MEGS	    192        // 192 Megs


#if __cplusplus
}
#endif

#endif 

⌨️ 快捷键说明

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