coreboot-kgpe-d16/payloads
Jeremy Compostella 54db255529 libpayload: Support unaligned pointers for memset
The optimization of the memset() function introduced by commit
dbadb1dd63 (libpayload: Reorder default
memcpy, speed up memset and memcmp) is provoking an issue on x86
platform when compiling without the CONFIG_GPL option.

GCC is making use of the movdqa instruction to copy words.  This
instruction can raise a "General Protection Fault Exception" when it
is called on a non-aligned address argument.

Change-Id: I73382a76a4399d8e78244867f2ebb1dca176a6bf
Signed-off-by: Jeremy Compostella <jeremy.compostella@intel.com>
Reviewed-on: https://review.coreboot.org/20524
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Julius Werner <jwerner@chromium.org>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
2017-07-12 10:58:55 +00:00
..
bayou payloads: change coreboot to lowercase 2017-06-07 12:08:55 +02:00
coreinfo coreinfo: Use regular `if` over `#if` for `IS_ENABLED` 2017-06-27 17:16:03 +00:00
external payloads: change coreboot to lowercase 2017-06-07 12:08:55 +02:00
libpayload libpayload: Support unaligned pointers for memset 2017-07-12 10:58:55 +00:00
nvramcui nvramcui: Use regular `if` over `#if` for `IS_ENABLED` 2017-06-06 23:34:19 +02:00
Kconfig payloads/Kconfig: Add NO_DEFAULT_PAYLOAD 2017-06-07 13:10:48 +02:00
Makefile.inc