Fix the CYGWIN GCC build issue.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3721 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
klu2 2007-08-28 03:59:37 +00:00
parent 30143b1581
commit a02c7e152d
4 changed files with 7 additions and 5 deletions

View File

@ -55,8 +55,10 @@ SERIAL_DEV gSerialDevTempate = {
{ {
MESSAGING_DEVICE_PATH, MESSAGING_DEVICE_PATH,
MSG_UART_DP, MSG_UART_DP,
(UINT8) (sizeof (UART_DEVICE_PATH)), {
(UINT8) ((sizeof (UART_DEVICE_PATH)) >> 8), (UINT8) (sizeof (UART_DEVICE_PATH)),
(UINT8) ((sizeof (UART_DEVICE_PATH)) >> 8)
}
}, },
0, 0,
FixedPcdGet64 (PcdUartDefaultBaudRate), FixedPcdGet64 (PcdUartDefaultBaudRate),

View File

@ -29,4 +29,4 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
/// ///
#define EFI_STATUS_CODE_DATA_MAX_SIZE 200 #define EFI_STATUS_CODE_DATA_MAX_SIZE 200
#endif //_FRAMEWORK_MODULE_BASE_H_ #endif //_FRAMEWORK_MODULE_BASE_H_

View File

@ -23,4 +23,4 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#include <FrameworkModuleBase.h> #include <FrameworkModuleBase.h>
#endif //_FRAMEWORK_MODULE_DXE_H_ #endif //_FRAMEWORK_MODULE_DXE_H_

View File

@ -23,4 +23,4 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#include <FrameworkModuleBase.h> #include <FrameworkModuleBase.h>
#endif //_FRAMEWORK_MODULE_PEI_H_ #endif //_FRAMEWORK_MODULE_PEI_H_