冷暖复位 [英] cold and warm reset

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

问题描述

您好我们正在为我们的项目使用三星S3C6410处理器。问题是我不知道如何实现热启动。当前重置它就像冷启动,即。一切都被清理,图像作为一个新的加载。例如,如果我将文件存储在
"文档和设置"中。文件夹,重置后文件不存在。

Hi we are using Samsung S3C6410 processor for our project.The problem is i dono how to implement Warm boot in that.With the current reset it is like cold boot , ie. everything is cleaned and image is loaded as a fresh one.For ex if i store a document in "Document and Settings" folder ,after reset the file is not there.

       那么在重置之间维护数据的过程是什么。是否有任何注册表设置来进行热启动?

        So what is the procedure to maintain the data between resets.Is there any registry settings to do a Warm boot ?

 

问候

RA

推荐答案

热重置需要硬件支持,以便在执行时不会破坏硬件RAM内容。 通常有一个特定的复位引脚用于此目的,或者CPU可能支持软复位指令。 

Warm reset requires support from the hardware such that when executed it does not corrupt the RAM contents.  Often there is a particular reset pin that serves this purpose, or there might be a soft reset instruction supported by the CPU. 

一旦达到该阈值,那么您还必须不要在你的OEMInit()例程中调用NKForceCleanBoot()。 通常,如果您要支持热重置的概念,那么您的引导加载程序必须检测到重置是非破坏性的,并且
将该信息传递给WinCE映像,其中OEMInit可以确定是否调用NKForceCleanBoot( 。) 您的引导加载程序也会使用此信息来适当地初始化RAM控制器,而不是运行破坏性RAM测试等。

Once you've met that threshold, then you also must not call NKForceCleanBoot() in your OEMInit() routine.  Typically, if you are going to support the concept of a warm reset then your bootloader must detect that the reset was a non destructive one and pass that information to the WinCE image where OEMInit can determine whether or not to call NKForceCleanBoot().  Your bootloader would also use this information to initialize the RAM controller appropriately, not run a destructive RAM Test etc.

如果有任何关于RAM完整性的问题(如果你不知道是否一个重启是温暖的还是冷的),然后你必须假设冷复位并调用NKForceCleanBoot()。 不这样做会导致系统不稳定。

If there is any question about RAM integrity (if you can't tell whether a reboot was warm or cold), then you must assume a cold reset and call NKForceCleanBoot().  Failure to do that will cause system instability.


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

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