audk/EmbeddedPkg/Library
Ard Biesheuvel 02ec23abeb EmbeddedPkg/GdbSerialLib: avoid left shift of negative quantity
Clang complains about left shifting a negative value being undefined.

  EmbeddedPkg/Library/GdbSerialLib/GdbSerialLib.c:151:30:
  error: shifting a negative signed value is undefined [-Werror,-Wshift-negative-value]
  OutputData = (UINT8)((~DLAB<<7)|((BreakSet<<6)|((Parity<<3)|((StopBits<<2)| Data))));

Redefine all bit pattern constants as unsigned to work around this.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
2018-06-19 00:05:26 +02:00
..
AcpiLib EmbeddedPkg/AcpiLib: Introduced LocateAndInstallAcpiFromFvConditional() 2015-05-29 14:39:41 +00:00
AndroidBootImgLib EmbeddedPkg: AndroidBootApp: fix clang compilation 2017-12-06 21:39:51 +00:00
CoherentDmaLib EmbeddedPkg/CoherentDmaLib: add support for non-1:1 DMA translation 2017-08-30 14:13:20 +01:00
DebugAgentTimerLibNull EmbeddedPkg: Rectify file modes 2016-02-02 11:42:51 +00:00
DxeDtPlatformDtbLoaderLibDefault EmbeddedPkg: add base DtPlatformDtbLoaderLib implementation 2017-03-31 13:17:55 +01:00
FdtLib EmbeddedPkg/FdtLib: incorporate missing overlay support 2018-02-21 10:53:08 +00:00
GdbDebugAgent EmbeddedPkg/GdbDebugAgent: fix VOID* cast of incorrect size 2016-10-28 13:51:41 +01:00
GdbSerialDebugPortLib EmbeddedPkg: Fix typos in comments 2016-10-19 16:31:58 +01:00
GdbSerialLib EmbeddedPkg/GdbSerialLib: avoid left shift of negative quantity 2018-06-19 00:05:26 +02:00
NonCoherentDmaLib EmbeddedPkg: implement NonCoherentDmaLib based on ArmDmaLib 2017-08-30 14:13:30 +01:00
NorFlashInfoLib EmbeddedPkg: add mx66u1g45g nor flash info 2017-11-16 16:28:55 +00:00
NvVarStoreFormattedLib EmbeddedPkg: introduce NvVarStoreFormattedLib 2018-04-12 21:24:30 +02:00
PlatformHasAcpiLib MdeModulePkg: move PlatformHasAcpiGuid from EmbeddedPkg 2017-04-05 16:59:13 +01:00
PrePiExtractGuidedSectionLib EmbeddedPkg: Correct the way of handling sections with a large size 2018-03-13 15:26:09 +00:00
PrePiHobLib EmbeddedPkg PrePiHobLib: Implement BuildFv3Hob 2017-10-10 20:54:47 +08:00
PrePiLib EmbeddedPkg/PrePiLib: add support for v2 sections 2017-12-12 10:43:28 +00:00
PrePiMemoryAllocationLib EmbeddedPkg: make PrePiMemoryAllocationLib a SEC type library 2016-08-03 15:45:23 +02:00
TemplateRealTimeClockLib ARM Packages: Removed trailing spaces 2014-08-19 13:29:52 +00:00
TemplateResetSystemLib ARM Packages: Removed trailing spaces 2014-08-19 13:29:52 +00:00
TimeBaseLib EmbeddedPkg/TimeBaseLib: Add function to get Week day. 2018-06-05 16:18:21 +01:00