BIOS được lưu trữ ở đâu?

Mục lục:

BIOS được lưu trữ ở đâu?
BIOS được lưu trữ ở đâu?

Video: BIOS được lưu trữ ở đâu?

Video: BIOS được lưu trữ ở đâu?
Video: 5 ứng dụng độc hại không nên cài trên smartphone Android | Thế giới di động - YouTube 2024, Tháng tư
Anonim
Đối với những người mới học về máy tính, BIOS có vẻ hơi “bí ẩn” đối với một số cá nhân và tạo ra các câu hỏi như “BIOS ở đâu và như thế nào được lưu trữ trên máy tính của tôi?” những câu hỏi này.
Đối với những người mới học về máy tính, BIOS có vẻ hơi “bí ẩn” đối với một số cá nhân và tạo ra các câu hỏi như “BIOS ở đâu và như thế nào được lưu trữ trên máy tính của tôi?” những câu hỏi này.

Phiên Hỏi & Đáp hôm nay đến với chúng tôi theo lịch sự của SuperUser - một phân khu của Stack Exchange, một nhóm các trang web Hỏi & Đáp do cộng đồng điều hành.

Ảnh chụp màn hình lịch sự của Richard Masoner / Cyclelicious (Flickr).

Câu hỏi

Người đọc SuperUser T… muốn biết BIOS được lưu trữ ở đâu:

From the Wikipedia Article on BIOS:

BIOS software is stored on a non-volatile ROM chip on the motherboard. … In modern computer systems, the BIOS contents are stored on a flash memory chip so that the contents can be rewritten without removing the chip from the motherboard. This allows BIOS software to be easily upgraded to add new features or fix bugs, but can make the computer vulnerable to BIOS rootkits.

ROM is read only, so why can the BIOS contents be rewritten? Does the “flash memory chip” mean the same thing as the “non-volatile ROM”, both meaning where BIOS is stored?

Chính xác, đây là thỏa thuận ở đây? BIOS có được lưu trữ trên hai phương tiện 'khác nhau' hay chỉ một phương tiện duy nhất không?

Câu trả lời

Người đóng góp của SuperUser Varaquilex có câu trả lời cho chúng tôi:

ROM is read only, so why can the BIOS contents be rewritten?

The BIOS program itself is stored in an EEPROM (which can be [E]lectrically [E]rasable and [P]rogrammable [R]ead [O]nly [M]emory) or flash-memory. So the read-only here is about the chip being non-volatile. The contents of the memory stays when the power is cut off, unlike volatile RAM. The ROM being EEP means that the BIOS can be re-written or updated. For such operations in the past, you had to remove the BIOS chip from the board, put a new one in (if it was not PROM or EPROM), or if it was EPROM, you had to get it to the manufacturer and let them re-program the chip, then re-attach it to the board. After current advances, thanks to EEPROMs, you do not have to remove chip to do such operations, you just make the computer do the job electrically.

Does the “flash memory chip” mean the same as the “non-volatile ROM”, both meaning where BIOS is stored?

from Wikipedia:

  • Flash memory is an electronic non-volatile computer storage medium that can be electrically erased and reprogrammed.
  • Flash memory was developed from EEPROM (electrically erasable programmable read-only memory). There are two main types of flash memory, which are named after the NAND and NOR logic gates. The internal characteristics of the individual flash memory cells exhibit characteristics similar to those of the corresponding gates. Whereas EPROMs had to be completely erased before being rewritten, NAND type flash memory may be written and read in blocks (or pages) which are generally much smaller than the entire device. NOR type flash allows a single machine word (byte) to be written-to an erased location-or read independently.

EEPROM and flash memory do not refer to same thing. They are two similar memory types as one is developed from the other, and contain different types/configurations of MOS transistors. However, they are the memory where the BIOS program resides.

To address another misconception, I want to mention this CMOS-BIOS relationship:

The BIOS settings are stored in the CMOS chip (which is kept powered up via the battery on the motherboard). That is why the BIOS is reset when you remove the battery and re-attach it. The same program runs, but the settings are defaulted. See this answer for a detailed view of memories used during the booting process.

To extend the CMOS-BIOS topic, thanks to @Andon M. Coleman, I want to add his comment to the answer:

It is worth mentioning that the BIOS settings do not have to be stored in volatile CMOS memory. There are plenty of embedded systems that store their settings in NVRAM. The only reason PCs have gotten away with using volatile CMOS all these years is that they already had a battery to keep the internal real-time clock ticking while the power is off (recall that when you pressed the power switch on a PC-AT, it literally cut all power off to the motherboard). This meant that cheaper volatile memory could be used to store system settings. So it is mostly for historical purposes.

Có cái gì để thêm vào lời giải thích? Tắt âm thanh trong các ý kiến. Bạn muốn đọc thêm câu trả lời từ những người dùng Stack Exchange có hiểu biết công nghệ khác? Xem toàn bộ chuỗi thảo luận tại đây.

Đề xuất: