WinCE ROM vs RAM

In a Microsoft? Windows CE .NET–based system, the ROM stores the entire operating system, as well as the applications that come with the system. If a module is not compressed, ROM-based modules 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. The option to enable 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, the program 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 or soft-reset, 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. Devices that do not have battery-backed RAM can use the hive-based registry to preserve data across boots.

转载于:https://www.cnblogs.com/midshipman/archive/2008/03/07/1684706.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值