阅读:1375回复:5
各位大虾仗义援手:WICE设备RAM设定问题?
各位大虾好!!!!
鄙人有一事请教? 我用的是WINCE4。1 ,在RAM文件系统的环境下,如何设定程序空间和存储空间,默认的情况是程序空间和存储空间平分物理内存, 在WINCE设备的控制面板中可手工调节,我想把存储空间调小一点,在定制时应怎么办? 谢谢!! |
|
沙发#
发布于:2003-10-20 14:50
在PLATFORM。BIB中加入内存分配部分就可以了啊
RAM 80068000 00008000 RAM RAMIMAGE 80078000 00016000 RAMIMAGE |
|
板凳#
发布于:2003-10-21 09:52
RAM 80068000 00008000 RAM RAMIMAGE 80078000 00016000 RAMIMAGE 我曾做过类似的实验,好象是不行 这样分配的RAM中有NK.BIN的映象,默认NK.BIN占RAM的一半大小,我 想让NK.BIN占RAM的比例小一点 谢谢你 |
|
地板#
发布于:2003-11-03 16:23
修改注册表看看
|
|
地下室#
发布于:2003-11-10 14:06
You can modify the FSRAMPERCENT setting on Config.BIB file.
Example only use 1MB for the file system: FSRAMPERCENT=0x00000080 The below list the document from help: ;FSRAMPERCENT: ;This configuration option specifies the percentage of RAM allocated for the file system. ; ; FSRAMPERCENT = number ; ;Parameters ; number: A 4-byte hexadecimal number. Each byte represents the number of 4-KB blocks per ; MB allocated for the file system, as follows: ; byte 0 = # of 4-KB blocks per MB in the first two MB ; byte 1 = # of 4-KB blocks per MB in the second two MB ; byte 2 = # of 4-KB blocks per MB in the third two MB ; byte 3 = # of 4-KB blocks per MB in the remaining memory ;Remarks ; You can use FSRAMPERCENT to specify 0 to 255 4-KB blocks of memory. While the memory is ; calculated in 4-KB blocks, the actual allocation is a contiguous section of RAM. The ; default value is FSRAMPERCENT=0x80808080, which specifies 50 percent of RAM allocated for ; the file system. The OAL now provides the function pointer pOEMCalcFSPages to change the ; default number of pages assigned to the object store during a cold boot. ;) |
|
5楼#
发布于:2003-11-22 08:55
谢谢你
我现在出差,过年后才能回去,回去第一件事情就是按老兄的方法试一下 多谢多谢 |
|