Windows CE休眠 [英] Windows CE hibernation

查看:133
本文介绍了Windows CE休眠的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在WinCE中实现休眠。

I am trying to implement hibernation in WinCE.

以下是所遵循的程序,

1。保存所有ARM寄存器内容(也可能需要保存中断控制寄存器,在挂起操作期间保存)。

1. Save all ARM register contents(Also may need to save interrupt control register, which are saved during suspend operation).

2。保存整个RAM区域。

2. Save entire RAM area.

3。创建snapshot.bin文件(RAM内容+寄存器内容)

3. Create snapshot.bin file (RAM contents + register contents)

4。闪存快照映像到NAND falsh(闪存大小为2GB)

4. Flash snapshot image on to NAND falsh (flash size is 2GB)

5。修改诊断代码以将快照映像复制到RAM。

5. Modify diagnostics code to copy snapshot image on to RAM.

6。重新加载ARM寄存器(重新加载PC)

6. Reload the ARM register (reload PC)

在步骤4之后可能需要最少的硬件初始化。

May be minimal hardware initialization needed after step 4.

请给我你宝贵的意见。是否有可能通过这种方法实现休眠。

Please give me your valuable inputs on this. Is it possible to achieve hibernation with this method.

谢谢,

JK

推荐答案

在没有操作系统支持的情况下,它似乎充其量是有问题的。 您正在系统运行时保存系统状态,因此您的快照将不一致。当你重新加载并跳转到它时,你可能会遇到问题。

It seems problematic at best, without support from the OS.  You are saving the state of the system while the system is running, so your snapshot won't be consistent. When you reload and jump to it, you're likely to have problems.

如果这不是通用设备,也许你可以安排你的应用程序保存它们的状态,然后重新加载启动状态?

If this is not a general purpose device, maybe you can arrange to have your applications save their state, then reload that state at boot?


这篇关于Windows CE休眠的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆