Alex Rivera | Logout

how does the OS know the real size of the physical memory?

Asked 2012-04-26T16:07:23.157
9

When the OS is loaded at the moment the computer is started, how does the OS know the hardware information, is there some io instruction or the booter program get information from the bios.??

Edit
Report

1 Answer

7

An OS that boot from a BIOS-based system query the Query System Address Map function using INT 0x15, AX=0xE820.

A UEFI-based OS would typically get the physical memory map using the GetMemoryMap() interface.

answered 2012-07-25T19:37:53.617

Your Answer