Contributed-under: TianoCore Contribution Agreement 1.1
Reported-by: Christian Ehrhardt <ehrhardt@genua.de>
Signed-off-by: Christian Ehrhardt <ehrhardt@genua.de>
Reviewed-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
Tested-by: Christian Ehrhardt <ehrhardt@genua.de>
SizeInBytes = WidthInBytes * Height;\r
if (SizeInBytes >= 8) {\r
SetMem32 (Destination, SizeInBytes & ~3, (UINT32) WideFill);\r
SizeInBytes = WidthInBytes * Height;\r
if (SizeInBytes >= 8) {\r
SetMem32 (Destination, SizeInBytes & ~3, (UINT32) WideFill);\r
+ Destination += SizeInBytes & ~3;\r
SizeInBytes &= 3;\r
}\r
if (SizeInBytes > 0) {\r
SizeInBytes &= 3;\r
}\r
if (SizeInBytes > 0) {\r
SizeInBytes = WidthInBytes;\r
if (SizeInBytes >= 8) {\r
SetMem64 (Destination, SizeInBytes & ~7, WideFill);\r
SizeInBytes = WidthInBytes;\r
if (SizeInBytes >= 8) {\r
SetMem64 (Destination, SizeInBytes & ~7, WideFill);\r
+ Destination += SizeInBytes & ~7;\r
SizeInBytes &= 7;\r
}\r
if (SizeInBytes > 0) {\r
SizeInBytes &= 7;\r
}\r
if (SizeInBytes > 0) {\r