__PHYSICAL_MEMORY_EXTENSION__

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
samiam95124
Posts: 9
Joined: Sun Sep 11, 2016 12:54 pm

__PHYSICAL_MEMORY_EXTENSION__

Post by samiam95124 »

Hi,

Can someone tell me what:

__PHYSICAL_MEMORY_EXTENSION__

Does in the APIC example code? Is that the same as PAE? And why would the APIC care about that?

Thanks,

Scott Franco
User avatar
BrightLight
Member
Member
Posts: 901
Joined: Sat Dec 27, 2014 9:11 am
Location: Maadi, Cairo, Egypt
Contact:

Re: __PHYSICAL_MEMORY_EXTENSION__

Post by BrightLight »

In the provided example code, the system is assumed to be in 32-bit mode with a 32-bit address bus. That code checks if the system is using PAE paging, thus a 36-bit address bus. If so, it supports relocating the local APIC to addresses to higher memory locations than 4 GB, the maximum address on a system with a 32-bit address bus.
P.S:
Beginner Mistakes wrote:This may look like a set of tutorials to copy & paste, plus a forum to ask your questions whenever you get stuck. This is not so.
You know your OS is advanced when you stop using the Intel programming guide as a reference.
Post Reply