audk/EmbeddedPkg
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
..
Application EmbeddedPkg: get rid of BdsLib dependency from Android*Boot 2017-11-25 19:01:09 +00:00
Drivers EmbeddedPkg/Drivers: add virtual keyboard driver 2018-04-30 17:58:14 +01:00
EmbeddedMonotonicCounter ARM Packages: Removed trailing spaces 2014-08-19 13:29:52 +00:00
GdbStub EmbeddedPkg: Fix typos in comments 2016-10-19 16:31:58 +01:00
Include EmbeddedPkg/TimeBaseLib: Add function to get Week day. 2018-06-05 16:18:21 +01:00
Library EmbeddedPkg/GdbSerialLib: avoid left shift of negative quantity 2018-06-19 00:05:26 +02:00
MetronomeDxe ARM Packages: Removed trailing spaces 2014-08-19 13:29:52 +00:00
RealTimeClockRuntimeDxe EmbeddedPkg/RealTimeClockRuntimeDxe: move common functionality into core 2017-11-13 13:33:26 +00:00
ResetRuntimeDxe ARM Packages: Removed trailing spaces 2014-08-19 13:29:52 +00:00
Scripts/LauterbachT32 EmbeddedPkg: Rectify file modes 2016-02-02 11:42:51 +00:00
SimpleTextInOutSerial ARM Packages: Removed trailing spaces 2014-08-19 13:29:52 +00:00
TemplateSec ARM Packages: Removed trailing spaces 2014-08-19 13:29:52 +00:00
Universal/MmcDxe SD : Updated CMD 6 implememtation. 2017-09-07 17:06:44 +01:00
EmbeddedPkg.dec EmbeddedPkg: add platform boot manager protocol 2018-06-05 15:43:15 +01:00
EmbeddedPkg.dsc Embedded/EmbeddedPkg.dsc: enable NOOPT build target 2018-06-18 19:35:34 +02:00