OSDev.org

The Place to Start for Operating System Developers
It is currently Sat Apr 27, 2024 11:49 am

All times are UTC - 6 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: What is the AP Reset Vector / Recovery Startup AP Data
PostPosted: Sun Jun 25, 2023 5:32 am 
Offline

Joined: Sat Jun 24, 2023 6:30 pm
Posts: 1
Hi!

I am modifying a PEI firmware volume that contains "Startup AP data" at the end. Which is just a jump instruction to F000:FFD0 in a padding file.
See the relevant code in edk2: https://github.com/tianocore/edk2/blob/ ... Lib.c#L127

Do any of you know more about this and could point me to a specification I could read more about?
I tried to search for this address in the UEFI PI and Intel MP Specifications as well as the Intel 64 and IA-32 Architectures Software Developer’s Manual but was not successful.
And the array is there since the very first commit to edk2's buildtools back in 2007, so I was not able to find any info in the log.

PS: It's my first time here, so please tell me if I disregarded any best-practices or similar!


Top
 Profile  
 
 Post subject: Re: What is the AP Reset Vector / Recovery Startup AP Data
PostPosted: Mon Jun 26, 2023 7:59 am 
Offline
Member
Member

Joined: Mon Mar 25, 2013 7:01 pm
Posts: 5146
There's nothing special about 0xF000:FFD0, it was arbitrarily chosen because it's convenient to place AP startup code near the reset vector inside the Volume Top File. In fact, EDK2 has several different Volume Top Files, and only one of them actually places code at that address. For example, OVMF places a GUID there and has the AP startup code at 0xF000:FFE0 instead.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: No registered users and 6 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group