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

📄 mapx20t.inc

📁 ARM9基于WINDOWSCE的BSP源代码
💻 INC
字号:
;   The content of this file or document is CONFIDENTIAL and PROPRIETARY
;   to Jade Technologies Co., Ltd.  It is subjected to the terms of a
;   License Agreement between Licensee and Jade Technologies Co., Ltd.
;   restricting among other things, the use, reproduction, distribution
;   and transfer.  Each of the embodiments, including this information 
;   and any derivative work shall retain this copyright notice.
; 
;   Copyright (c) 2004 - 2005 Jade Technologies Co., Ltd. 
;   All rights reserved.
; ----------------------------------------------------------------
; File:     mapx20t.inc,v
; Revision: 1.0
; ----------------------------------------------------------------
; $
;
; Module Name:
;
;    mapx20t.inc
;
; Abstract:
;
;   This module contains the OEM memory map 
;
;--

;
; OEMAddressTable defines the mapping from the 4GB physical address space
; to the kernel's 512MB "un-mapped" spaces.  The kernel will create two ranges
; of virtual addresses from this table. One from 0x80000000 to 0x9FFFFFFF which
; has caching & buffering enabled and one from 0xA0000000 to 0xBFFFFFFF which
; has the cache & buffering disabled.
;
; Each entry in the table consists of the Virtual Base Address to map to,
; the Physical Base Address to map from, and the number of megabytes to map.
;
; The order of the entries is arbitrary, but DRAM should be placed first for
; optimal performance. The table is zero-terminated, so the last entry MUST
; be all zeroes.
;
;
        INCLUDE platform.inc

;
; Note these Windows CE virtual addresses are replicated in platform.h for
; use with C and C++.
;
; Remember that bits[31:29] of these entries are ignored by KernelStart(),
; but we keep this file consistent with the defines made in platform.[h|s]
;

; Size of SDRAM must match config.bib settings and so be large enough to
; incorporate all RAM areas.

; **********************************************************************

    EXPORT      OEMAddressTable[DATA]

OEMAddressTable
    ;;;------------------------------------------------------------------------------
    ;;; Virt Addr         Phys Addr               MB           Virtual A / Physical A
    ;;;------------------------------------------------------------------------------
    DCD VA_RAM_BASE,      PHYS_RAM_BASE,          64       ; 0x88000000 / 0x00000000
    DCD VA_FLASH_BASE,    PHYS_FLASH_BASE,         64       ; 0x80000000 / 0xc4000000

    DCD VA_HDR_BASE,      PHYS_SYS_REGISTER_BASE,   1       ; 0xa2000000 / 0x20000000
    DCD VA_CLCD_BUFF_BASE, PHYS_CLCD_BUFF_BASE,     1       ; 0xa6000000 / 0x03F00000

;
; End of Table (MUST BE ZERO!)
;
    DCD 0,                0,                        0

    END

; EOF mapx20t.inc

⌨️ 快捷键说明

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