固件中启用的虚拟化否
At one time or another, all of us have had to force our computers to shut down by pushing and holding the power button down until they powered off. Is this mechanism hardware-based, firmware-based, or both? Today’s SuperUser Q&A post has the answer to a curious reader’s question.
一次或两次,我们所有人都必须通过按下并按住电源按钮直到计算机关闭来强制关闭计算机。 该机制是基于硬件的,基于固件的还是两者兼而有之? 今天的“超级用户问答”帖子回答了一个好奇的读者的问题。
Today’s Question & Answer session comes to us courtesy of SuperUser—a subdivision of Stack Exchange, a community-driven grouping of Q&A web sites.
今天的“问答”环节由SuperUser提供,它是Stack Exchange的一个分支,该社区是由社区驱动的Q&A网站分组。
问题 (The Question)
SuperUser reader user4493605 wants to know what firmware or hardware mechanisms enable forced shutdowns:
SuperUser阅读器user4493605想知道哪些固件或硬件机制可启用强制关机:
Although I am not entirely certain about this, I am pretty sure that pushing and holding the power button down on all computers will force them to shut down after varying lengths of time. This is particularly useful if the computer freezes or some other error necessitates a total reboot.
尽管我对此并不完全确定,但我可以肯定,在所有时间不同的情况下,按住所有计算机上的电源按钮都将使其关机。 如果计算机死机或某些其他错误需要完全重新引导,则此功能特别有用。
What I am interested in is whether this forced shutdown mechanism is hardcoded into the computer’s underlying firmware or built into the computer on a hardware level. If the mechanism is firmware-based, then it is logical to assume that a CPU-level error would prevent this mechanism from properly triggering, which leads me to believe that this is a hardware function.
我感兴趣的是,此强制关机机制是硬编码到计算机的基础固件中还是内置在硬件级别的计算机中。 如果该机制是基于固件的,则可以合理地假设CPU级别的错误将阻止该机制的正确触发,这使我相信这是硬件功能。
To summarise, is the universal forced shutdown mechanism built in at the hardware or firmware level? Can someone elaborate on the mechanism’s nature, variants, and general history.
总之,是否在硬件或固件级别上内置了通用强制关机机制? 有人可以详细说明该机制的性质,变体和一般历史吗?
What firmware or hardware mechanisms enable forced shutdowns?
哪些固件或硬件机制可以强制关机?
答案 (The Answer)
SuperUser contributor DavidPostill has the answer for us:
超级用户贡献者DavidPostill为我们提供了答案:
Is the universal forced shutdown mechanism built in at the hardware or firmware level?
通用强制关机机制是否内置在硬件或固件级别?
Both the motherboard (hardware) and the BIOS (firmware) are involved in the process.
此过程涉及主板(硬件)和BIOS(固件)。
Source: How Does the Power Button Work?
来源:电源按钮如何工作?
Source: How Do These Modern Power Buttons on Devices Work? (Answer by Olin Lathrop)
资料来源:设备上的这些现代电源按钮如何工作? (由Olin Lathrop回答)
Have something to add to the explanation? Sound off in the comments. Want to read more answers from other tech-savvy Stack Exchange users? Check out the full discussion thread here.
有什么补充说明吗? 在评论中听起来不错。 是否想从其他精通Stack Exchange的用户那里获得更多答案? 在此处查看完整的讨论线程。
Image Credit: Josh Swannack (Flickr)
图片来源: Josh Swannack(Flickr)
翻译自: https://www.howtogeek.com/301734/what-firmware-or-hardware-mechanisms-enable-forced-shutdowns/
固件中启用的虚拟化否