Samer,

The Tiano SMBIOS scheme used the overly complicated data hub abstractions to 
generate table entries and only created the tables via a ReadyToBootEvent, but 
the new PI 1.2 Smbios protocol scheme does not require an event an the tables 
can get built in real time. 

So it is probably more of an issue needing the newer PI 1.2 implementation to 
get the correct behavior. 

The only way to work around the ReadyToBoot sequencing issue you mention is to 
register you ReadyToBoot event a last as possible (for example in your driving 
binding Start function). This is really a hack as the UEFI architecture does 
not guarantee order of event callback, but all the implementations I know about 
call back in order of registration. 

Andrew Fish

https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2/MdePkg/Include/Protocol/Smbios.h
https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2/MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.c


On Jul 23, 2012, at 12:47 PM, El-Haj-Mahmoud, Samer wrote:

> Andrew,
> 
> This topic came up before on this list. While waiting for the ReadyToBoot 
> event seems to be the best possible option available today, it is not 
> standard, and may not work on all systems. There is no guarantee that the 
> SMBIOS table will be completed before the driver's ReadyToBoot event 
> notification callback function is called.
> 
> We should probably define a new standard event for this purpose.
> 
> Thanks,
> --Samer
> 
> 
> -----Original Message-----
> From: Andrew Fish [mailto:[email protected]] 
> Sent: Monday, July 23, 2012 11:43 AM
> To: [email protected]
> Subject: Re: [edk2] How to get PCI Slot number in UEI Driver.
> 
> You could try to create an EFI_EVENT_GROUP_READY_TO_BOOT event and check the 
> SMBIOS info there? 
> 
> Andrew Fish
> 
> 
> On Jul 23, 2012, at 8:59 AM, Prakash, Sathya wrote:
> 
>> Any help on this?
>> 
>> -----Original Message-----
>> From: Prakash, Sathya [mailto:[email protected]]
>> Sent: Friday, July 20, 2012 3:53 PM
>> To: [email protected]
>> Subject: [edk2] How to get PCI Slot number in UEI Driver.
>> 
>> I need to get the information of the slot in which my controller is 
>> connected and what I was trying is to use SMBIOS system configuration table. 
>> But when my driver is loaded from OptionROM the table was not populated, but 
>> If I load the driver from shell I am able to get the information. Do any of 
>> you know another method to get PCI Slot information from boot services 
>> driver?
>> 
>> Thanks
>> Sathya
>> 
>> ----------------------------------------------------------------------
>> --------
>> Live Security Virtual Conference
>> Exclusive live event will cover all the ways today's security and 
>> threat landscape has changed and how IT managers can respond. 
>> Discussions will include endpoint security, mobile security and the 
>> latest in malware threats. 
>> http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>> _______________________________________________
>> edk2-devel mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/edk2-devel
>> 
>> ----------------------------------------------------------------------
>> --------
>> Live Security Virtual Conference
>> Exclusive live event will cover all the ways today's security and 
>> threat landscape has changed and how IT managers can respond. 
>> Discussions will include endpoint security, mobile security and the 
>> latest in malware threats. 
>> http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>> _______________________________________________
>> edk2-devel mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/edk2-devel
> 
> 
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and threat 
> landscape has changed and how IT managers can respond. Discussions will 
> include endpoint security, mobile security and the latest in malware threats. 
> http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> edk2-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/edk2-devel
> 
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and 
> threat landscape has changed and how IT managers can respond. Discussions 
> will include endpoint security, mobile security and the latest in malware 
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> edk2-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/edk2-devel


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to