📄 mdocldr.bib
字号:
;
; 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 OR INDEMNITIES.
;
;******************************************************************************
; TITLE: MDOCLDR.BIB
;
; MDOC LDR
;
;******************************************************************************
MEMORY
; Name Start Size Type
; ------- -------- -------- ----
;
MDOCLDR 00000000 00001800 RAMIMAGE ; 6K (4K for extra romimage page + 2K actual MDOCLDR code. Comments below)
RAM 80000000 00040000 RAM ;romimage wants a RAM section even though we will not use it
; just specify 256K
CONFIG
AUTOSIZE=OFF
COMPRESSION=OFF
PROFILE=OFF
KERNELFIXUPS=ON
;ROM* creates mdocldr.nb0 file
;Notes:
; 1) romimage always adds a 4K page to the beginning of file. To get rid of this 4K page
; we'll specify additional 4K space for RAMIMAGE (above) and then cut it off from
; mdocldr.nb0 by specifying romstart at an offset of 4k.
; 2) since RAMIMAGE compiles with range 0x0->0x01800 and we chop off first 4K,
; and flash the remaining 2K at 0x00 on flash; it means we can't have
; absolute addressing in MDOCLDR code. Only relative addresses should be used.
; 2) if mdocldr.nb1 is generated you can safely ignore it IFF it contains only
; pTOC and other debugging data since we don't need them. Look at the generated
; file mdocldr.map to make sure that your code does not overflow beyond 2k boundary.
;
ROMSTART=00001000 ;chop off first 4K specified in RAMIMAGE above.
ROMWIDTH=32
ROMSIZE=00000800 ;MDOCLDR is 2KB.
; ROMOFFSET adjusts the .bin file record headers to that they lie in flash
; (this tells the bootloader already on the device to store the image in flash).
;
; 00000000 + AA70000 = AA700000 (virtual uncached) = 00000000 (physical)
; (starting address of bootloader in flash as defined in image_cfg.h)
;
ROMOFFSET=AA700000
MODULES
; Name Path Memory Type
; ------ ---------------------------------------------- -----------
nk.exe $(_TARGETPLATROOT)\target\$(_TGTCPU)\$(WINCEDEBUG)\mdocldr.exe MDOCLDR
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -