什么是OS'哈尔?
硬件抽象层(HAL)是计算系统中最低级别的软件。因此,它是否以汇编语言(特定于特定处理器为特定)实现的功能是由安装“ Over”它的某些例程调用的?如果是这样,那么谁是提供它的人?硬件制造商?或者,无论它不是与操作系统分开,OS开发人员如何知道全世界所有处理器的所有特殊性,如果OS开发人员必须为每个OS编写HAL,其目的是什么?
The hardware abstraction layer (HAL) is (AFAIK) the lowest level software within a computing system. Thus, is it a set of functions implemented in assembly language (specific for a particular processor) which are called by some routines from the OS installed "over" it? If it is so, then, who is the one who provides it? The hardware manufacturer? Or, whether it is not separate from the OS, then, how does the OS developer know all the particularities of all the processors from the entire world and what is its purpose if the OS developer has to write a HAL for every OS?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我相信,将HAL大致认为是您的CPU的I/O驱动程序是安全的。在任何合理的情况下,您都应该期望I/O设备的制造商为您提供其驱动程序。同样,CPU及其HAL。
您问:
这实际上就是HAL打算解决的问题。有一次,大约期望操作系统处理所有内容。但是,随着硬件变得更加复杂,引入了额外的抽象层。
I believe it's safe to think of the HAL roughly as an I/O driver for your CPU. In any reasonable circumstance, you should expect the manufacturer of an I/O device to provide you with its driver. The same applies to a CPU and its HAL.
You asked:
This is actually what the HAL is intended to address. At one point, the OS was roughly expected to handle everything. But, as hardware became more complex, an additional abstraction layer was introduced.