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

📄 mmumap.inc

📁 CIRRUS 公司EP93XX系列CPU的WINCE下的BSP
💻 INC
字号:
;**********************************************************************
;                                                                      
; Filename: mmumap.inc
;                                                                      
; Description: Physical to virtual memory map for Nexus.
;
; THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
; ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
; THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
; PARTICULAR PURPOSE.
;
; Use of this source code is subject to the terms of the Cirrus end-user
; license agreement (EULA) under which you licensed this SOFTWARE PRODUCT.
; If you did not accept the terms of the EULA, you are not authorized to 
; use this source code. For a copy of the EULA, please see the 
; LICENSE.RTF on your install media.
;
; Copyright(c) Cirrus Logic Corporation 2002, All Rights Reserved                       
;                                                                      
;**********************************************************************
;
; 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.
;
; WARNING: The above comments regarding address (0xA0000000) don't match our code.
;
;
; 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.
;

    EXPORT      OEMAddressTable[DATA]

OEMAddressTable
        ;
        ; TODO - This needs to be changed.
        ;
        ;;;-------------------------------------------------------------
        ;;; Virt Addr   Phys Addr   MB
        ;;;-------------------------------------------------------------

        DCD 0x80000000, 0xF0000000, 64  ; 64 MB DRAM
        DCD 0x88000000, 0x00000000, 32  ; 32 Mb of Intel J3 flash
        DCD 0x8A000000, 0x10000000, 16  ; 16 Mb of AMD flash
        DCD 0x8B000000, 0x60000000, 1   ; 512K of battery backed SRAM.
        DCD 0x90000000, 0x80000000, 16  ; 16 MB of System ASIC regs etc.
        DCD 0x91000000, 0x40000000, 192 ; 192 Meg of PCMCIA space
        DCD 0x00000000, 0x00000000, 0   ; End of Table (MB MUST BE ZERO!)
        END

⌨️ 快捷键说明

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