Re: [Edk2 Dev] Why does MdePkg/Include/Pi/PiBootMode.h include #include

Subject: Re: [Edk2 Dev] Why does MdePkg/Include/Pi/PiBootMode.h include #include

From: "Andrew J. Fish" <afish@apple.com>

To: dev@edk2.tianocore.org

Date: 2009-05-15 03:03:59

Liming,

Looks like there may be a few other places that need to be looked at =20
too:

/Users/fish/work/edk2/MdePkg/Include/Pi/PiBootMode.h:21:  #include =20

/Users/fish/work/edk2/MdePkg/Include/Pi/PiFirmwareFile.h:22:  #include =20

/Users/fish/work/edk2/MdePkg/Include/Pi/PiFirmwareVolume.h:21:  =20
#include 
/Users/fish/work/edk2/MdePkg/Include/Pi/PiHob.h:21:  #include =20

/Users/fish/work/edk2/MdePkg/Include/Protocol/DebugSupport.h:22:  =20
#include 
/Users/fish/work/edk2/MdePkg/Include/Protocol/SimpleTextIn.h:21:  =20
#include 
/Users/fish/work/edk2/MdePkg/Include/Protocol/SimpleTextInEx.h:21:  =20
#include 
/Users/fish/work/edk2/MdePkg/Include/Uefi/UefiMultiPhase.h:18:  =20
#include 
/Users/fish/work/edk2/UnixPkg/Sec/Stack.S:31:  #include =20


Andrew Fish

NOT A CONTRIBUTION!



On May 14, 2009, at 6:39 PM, Gao, Liming wrote:

> Andrew:
>  Thanks you point this. I think it is not necessary to include =20
> ProcessorBind.h into the Pi/PiBootMode.h.
>
>  If users want to use Pi and Uefi definition, they can directly =20
> include PiPei.h, PiDxe.h and Uefi.h files in Include root directory. =20
> They don't need to care their internal relationships specified in =20
> Include/Pi and Include/Uefi directory. That means the headers in Pi =20
> and Uefi directory can be regarded as the internal header files.
>
> Thanks
> Liming
> -----Original Message-----
> From: Andrew J. Fish [mailto:afish@apple.com]
> Sent: 2009=E5=B9=B45=E6=9C=8815=E6=97=A5 0:57
> To: dev@edk2.tianocore.org
> Subject: [Edk2 Dev] Why does MdePkg/Include/Pi/PiBootMode.h include =20
> #include 
>
> I noticed MdePkg/Include/Pi/PiBootMode.h includes ProcessorBind.h. Why
> is this?
>
> Andrew Fish
>
> ------------------------------------------------------
> https://edk2.tianocore.org/ds/viewMessage.do?dsForumId=3D135&dsMessageId=
=3D41756
>
> To unsubscribe from this discussion, please e-mail [unsubscribeURL]
>
> ------------------------------------------------------
> https://edk2.tianocore.org/ds/viewMessage.do?dsForumId=3D135&dsMessageId=
=3D41792
>
> To unsubscribe from this discussion, please e-mail [unsubscribeURL]

------------------------------------------------------
https://edk2.tianocore.org/ds/viewMessage.do?dsForumId=3D135&dsMessageId=3D=
41794

To unsubscribe from this discussion, please e-mail [unsubscribeURL]