hi, Elvin:

why not remove SMM_TABLE and SMM_ENTRY definitions to another file?

if i defined my own SMM_ENTRY struct in MyPlatform.h , and i included 
legacybios.h and MyPlatform.h in a C file at the same time.

could it produce a SMM_ENTRY redefinition error?

 

best wishes,

 

 

发件人: Li, Elvin [mailto:elvin...@intel.com]
发送时间: 2012年8月13日 17:45
收件人: edk2-devel@lists.sourceforge.net
主题: Re: [edk2] LegacyBios.h header file question

 

Hi:

         Framework spec defines SmmPort and SmmData size as a range from 1 byte 
to 8 bytes, which depends on SmmAttributes. You could defines your own 
SMM_TABLE in LegacyBiosPlatform module according to your platform 
SmmAttributes, then build your own SmmTable and finally assign its pointer to 
EFI_TO_COMPATIBILITY16_BOOT_TABLE->SmmTable.

 

Thanks

Elvin

 

From: nicolas [mailto:nicolas1...@163.com]
Sent: Monday, August 13, 2012 4:32 PM
To: edk2-devel@lists.sourceforge.net
Subject: [edk2] LegacyBios.h header file question

 

hi, experts:

SMM_ENTRY struct definition in IntelFrameworkPkg/Include/Protocol/LegacyBios.h.

SmmPort is defined to UINT8 type.(it seems CSM spec defined it to UINT16 length)

but some IHV's smm port is UINT16 length.

 

best wishes,

 
------------------------------------------------------------------------------
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
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to