diff options
author | xli24 <xli24@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-01-29 06:09:43 +0000 |
---|---|---|
committer | xli24 <xli24@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-01-29 06:09:43 +0000 |
commit | 963cbacb5f911b31b0ea4c9610750c4b20ba14f3 (patch) | |
tree | 04e220ca90b47f5f25960984bd535261f12ca2e7 /EdkModulePkg/Library/DxeDebugLibSerialPort/DebugLib.c | |
parent | 2c9b03f219d7ebececf0a8e86019fe622ac0cc42 (diff) | |
download | edk2-platforms-963cbacb5f911b31b0ea4c9610750c4b20ba14f3.tar.xz |
Further check-in to smooth Intel IPF compiler building.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2332 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'EdkModulePkg/Library/DxeDebugLibSerialPort/DebugLib.c')
-rw-r--r-- | EdkModulePkg/Library/DxeDebugLibSerialPort/DebugLib.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/EdkModulePkg/Library/DxeDebugLibSerialPort/DebugLib.c b/EdkModulePkg/Library/DxeDebugLibSerialPort/DebugLib.c index 45fbcf4777..cf3ac787bd 100644 --- a/EdkModulePkg/Library/DxeDebugLibSerialPort/DebugLib.c +++ b/EdkModulePkg/Library/DxeDebugLibSerialPort/DebugLib.c @@ -65,7 +65,7 @@ DebugPrint ( //
// Send the print string to a Serial Port
//
- SerialPortWrite (Buffer, AsciiStrLen(Buffer));
+ SerialPortWrite ((UINT8 *) Buffer, AsciiStrLen(Buffer));
}
@@ -110,7 +110,7 @@ DebugAssert ( //
// Send the print string to the Console Output device
//
- SerialPortWrite (Buffer, AsciiStrLen(Buffer));
+ SerialPortWrite ((UINT8 *) Buffer, AsciiStrLen(Buffer));
//
// Generate a Breakpoint, DeadLoop, or NOP based on PCD settings
@@ -176,7 +176,7 @@ DebugAssertEnabled ( VOID
)
{
- return ((PcdGet8(PcdDebugPropertyMask) & DEBUG_PROPERTY_DEBUG_ASSERT_ENABLED) != 0);
+ return (BOOLEAN) ((PcdGet8(PcdDebugPropertyMask) & DEBUG_PROPERTY_DEBUG_ASSERT_ENABLED) != 0);
}
@@ -197,7 +197,7 @@ DebugPrintEnabled ( VOID
)
{
- return ((PcdGet8(PcdDebugPropertyMask) & DEBUG_PROPERTY_DEBUG_PRINT_ENABLED) != 0);
+ return (BOOLEAN) ((PcdGet8(PcdDebugPropertyMask) & DEBUG_PROPERTY_DEBUG_PRINT_ENABLED) != 0);
}
@@ -218,7 +218,7 @@ DebugCodeEnabled ( VOID
)
{
- return ((PcdGet8(PcdDebugPropertyMask) & DEBUG_PROPERTY_DEBUG_CODE_ENABLED) != 0);
+ return (BOOLEAN) ((PcdGet8(PcdDebugPropertyMask) & DEBUG_PROPERTY_DEBUG_CODE_ENABLED) != 0);
}
@@ -239,5 +239,5 @@ DebugClearMemoryEnabled ( VOID
)
{
- return ((PcdGet8(PcdDebugPropertyMask) & DEBUG_PROPERTY_CLEAR_MEMORY_ENABLED) != 0);
+ return (BOOLEAN) ((PcdGet8(PcdDebugPropertyMask) & DEBUG_PROPERTY_CLEAR_MEMORY_ENABLED) != 0);
}
|