What is linear address? How is it different from physical address?
Linear address is generated after before page
table mapping. Physical addres is
generated before after page table mapping(ie
paging).
Linear Adress,created by adding logical address to the base of segment, CS,DS,ES,SS,FSor GS.
When Paging is enabled, the page tables are used to translate linear address to physical address.
On the Other Hand, Physical Address is nothing but, the address value that appears on pins of processor during a memory read/memory write operations.
InShort, we can say if paging is disabled linear address = physical address
The Linear Address is the virtual Address; the address a process uses (pre-translated). The physical address is the post-translated address, its an address of some page in physical memory.
Note that Sankar's answer
Linear address is generated after page table mapping. Physical addres is generated before page table mapping(ie paging).
is was wrong, he has had these backwards (fixed now). The Linear Address is before the page table mapping, and the physical address is the address that comes from the page table mapping.
© 2022 - 2024 — McMap. All rights reserved.