阅读:1005回复:6
SOURCE文件不明白之处
在NTDDK/src/general/portio/gpwrite中的SOURCE文件中有这样一行不明白是什么意思
TARGETNAME=gpdwrite TARGETPATH=obj TARGETTYPE=PROGRAM INCLUDES=..\\ SOURCES=gpdwrite.c UMTYPE=console UMBASE=0x400000-------》不明白 请指教 |
|
最新喜欢:Xman |
沙发#
发布于:2003-03-28 09:20
请看DDK的注释:
UMBASE The UMBASE macro can be used to set the base address for a program that you are creating. If UMBASE is omitted or left blank, the Build utility will assume that the target name in coffbase.txt is the name of your image. It will take the value of COFFBASE, if defined, as a key; otherwise, it will take \"usermode\" as the key. The target name in coffbase.txt plus this key will be used to choose the base address. When neither UMBASE nor COFFBASE is defined, the default base address of 0x01000000 will be used. It is very unlikely that your program would need a different base address than the default. If you are building a DLL, you should use the DLLBASE macro instead. |
|
板凳#
发布于:2003-03-28 09:37
我怎么没有看见啊?
|
|
地板#
发布于:2003-03-28 09:45
Thanks!
有个地方还是不明白,请指教 UMBASE这个宏是用来设置程序的基址。这个基址是指我的程序在内存中的地址吗?我是在DDK的portio中看到的,这是一个I/O程序。是指I/O的基址吗? |
|
地下室#
发布于:2003-03-28 09:51
楼上的,不是I/O的基址
|
|
5楼#
发布于:2003-03-28 09:52
我也没有搜索到,可以给我一份完整的吗?
|
|
6楼#
发布于:2003-03-28 09:56
那这个基址是做什么用的?
|
|