gpt4 book ai didi

memory - 操作系统在内存中的位置

转载 作者:行者123 更新时间:2023-12-02 05:10:15 25 4
gpt4 key购买 nike

高尔文说:

We may place operating system in either low memory or high memory. The major factor affecting this decision is the location of interrupt vector. Since the interrupt vector is usually in low memory, programmers usually place operating system in low memory as well.

我不太确定中断向量的位置如何影响操作系统在内存中的位置。我试着用谷歌搜索,但找不到令我满意的东西。有人可以澄清一下吗。

最佳答案

主存主要有两部分:

  1. 具有低内存和中断向量的驻留操作系统,其中“中断向量是中断处理程序的内存地址”,即它是最低级别的内存之一。
  2. 内存中的用户进程

现在,为什么操作系统处于低内存状态?
当您在内存中走得不高时,每字节的成本就会增加,并且由于操作系统需要快速访问内存,因此它应该排在最低位。

因此,中断向量的位置不是操作系统放置的直接原因,而是内存要求低。我们知道,中断向量会放在那里,所以OS也放在那里。

关于memory - 操作系统在内存中的位置,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6320691/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com