Windows CE Kernel And Memory Architecture

本文介绍了基于Windows CE系统的内存架构。ROM存储操作系统和应用程序,压缩模块需解压后分页到RAM,读写数据也加载到RAM。RAM分为对象存储区和程序内存区,对象存储区类似永久虚拟磁盘,数据在系统暂停时保留。3.0版本后,RAM文件系统和对象存储区有新限制,二者边界可移动。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

   In a Windows CE-based system, the ROM stores the entire operating system, as well as the applications that come with the system. If the program module is not compressed, ROM-based programs are executed in-place. If the ROM-based module is compressed, it is decompressed and then paged into RAM. All Read/Write data is loaded into RAM. Compression in ROM is controlled by the OEM. Executing programs directly from ROM saves program RAM and reduces the time needed to start an application because the program does not have to be copied into RAM before it is launched. Programs that are not in ROM but are contained in the object store or on a flash-memory storage card are not executed in place; they are paged into the RAM and then executed. Depending on the OEM and the driver options on a specific Windows CE-based platform, that module can be paged on-demand; one page can be brought in at a time, or the entire module can be loaded into ROM at once. The RAM on a Windows CE device, is divided into two areas: the object store and the program memory. The object store resembles a permanent, virtual RAM disk. Data in the object store is retained when the system is suspended, and devices typically have a backup power supply for the RAM, to preserve data if the main power supply is interrupted temporarily. When operation is resumed the system looks for a previously created object store in RAM and uses it if one is found. The remaining RAM is devoted to program memory. Program memory works like the RAM in personal computersit stores the heaps and stacks for the applications that are running. Effective with version 3.0, the maximum size for the RAM file system is 256 MB, with a maximum size of 32 MB for a single file. In earlier versions of Windows CE, the limit for both the RAM system and a single file is 16 MB. Also effective with version 3.0, the maximum number of objects in the object store is increased from 65,536 to approximately 4,000,000. The boundary between the object store and the program RAM is movable. The user can move the dividing line between object store and program RAM by using the System Control Panel applet if the platform provides this option. On some Windows CE –based platforms, the system, under low memory conditions, might ask the user for permission to take some object store RAM for use as program RAM to satisfy an application's RAM needs.

转载于:https://www.cnblogs.com/LeighSword/archive/2004/05/25/11269.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值