Paging in Hardware

  • Paging Unit: Translates linear addresses into physical addresses.  Before that it needs to verify the requesting process is allowed to access that memory.  If not issue a page fault exception
  • Paging can be turned on by setting the PG flag to 1 in cr0; the control register 0.

Data Layout

  • Linear addresses are grouped into fixed length intervals called Pages (groups of data) which are mapped to contiguous blocks of physical memory called page frame (phyiscal addresses stored in main memory) 
  • Data structures mapping linear to physical addresses are called page tables stored in main memory

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s