coreboot/util
Julius Werner 3369ea0dda UPSTREAM: cbmem: Add custom aligned memcpy() implementation
On some architectures (like AArch64), /dev/mem mappings outside of the
area marked as normal RAM use a memory type that does not support
unaligned accesses. The libc memcpy() implementation on these
architectures may not know or expect that and make an unaligned access
for certain source/dest/length alignments. Add a custom memcpy()
implementation that takes these restrictions into account and use it
anywhere we copy straight out of /dev/mem memory.

BUG=none
BRANCH=none
TEST=none

Change-Id: Ia5b395d84a3279913432045d97a32eabaad8da8f
Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Original-Commit-Id: 127a79e0b6
Original-Change-Id: I03eece380a14a69d4be3805ed72fba640f6f7d9c
Original-Signed-off-by: Julius Werner <jwerner@chromium.org>
Original-Reviewed-on: https://review.coreboot.org/18300
Original-Tested-by: build bot (Jenkins)
Original-Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/480107
2017-04-18 13:18:57 -07:00
..
abuild UPSTREAM: abuild: add timeless build command line parameter 2017-04-05 16:30:07 -07:00
acpi
amdfwtool UPSTREAM: util/amdfwtool: Add fanless SMU firmware options 2017-03-30 05:30:05 -07:00
amdtools
archive
arm_boot_tools/mksunxiboot
autoport UPSTREAM: util/autoport: Create superiotool logs 2017-03-16 00:11:36 -07:00
bimgtool
blobtool UPSTREAM: util/blobtool: Add new tool for compiling/decompiling data blobs 2017-02-06 10:37:43 -08:00
board_status UPSTREAM: board_status/towiki.sh: Fix Socket for Sandy and Ivy Bridge 2017-03-14 07:25:39 -07:00
broadcom UPSTREAM: util/broadcom: Check for successful file access 2016-12-19 09:54:20 -08:00
cbfstool UPSTREAM: cbfstool/ifwitool: Remove unnecessary assignment 2017-03-30 05:30:09 -07:00
cbmem UPSTREAM: cbmem: Add custom aligned memcpy() implementation 2017-04-18 13:18:57 -07:00
checklist UPSTREAM: util/checklist: Place tables in proper boot order 2016-08-11 03:14:32 -07:00
chromeos UPSTREAM: util/chromeos: Make scripts executable 2016-08-04 23:36:47 -07:00
crossgcc UPSTREAM: crossgcc/Dockerfile: Add gnat to build the Ada toolchain 2017-03-25 10:22:55 -07:00
docker UPSTREAM: util/docker: Update makefile for servers and local use 2017-04-04 03:02:42 -07:00
dtd_parser
ectool UPSTREAM: ectool: Support OpenBSD 2017-02-03 09:08:55 -08:00
exynos
futility UPSTREAM: util/futility/Makefile: Update clean target 2017-03-30 05:30:07 -07:00
fuzz-tests
genbuild_h
genprof
gitconfig UPSTREAM: Rename and move util/gitconfig/rebase.sh 2016-10-25 14:46:55 -07:00
ifdfake UPSTREAM: util/ifdfake: Add number of regions 2016-12-16 07:51:49 -08:00
ifdtool UPSTREAM: ifdtool: Add SPI_FREQUENCY_50MHZ_30MHZ as a valid freq 2017-03-10 10:54:49 -08:00
intelmetool UPSTREAM: util/intelmetool: Check for NULL return from pci_lookup_name 2017-04-07 07:03:31 -07:00
inteltool UPSTREAM: util/inteltool: Add ICH6-10 to BIOS_CNTL list 2017-01-05 11:01:06 -08:00
intelvbttool UPSTREAM: intelvbttool: cope with errors in open() 2016-08-04 23:37:52 -07:00
ipqheader
k8resdump
kconfig UPSTREAM: Kconfig: Change symbol override from warning to notice 2016-12-13 17:49:40 -08:00
lint UPSTREAM: util/lint: Show an error if a symbol is created in two choice blocks 2017-03-29 11:42:14 -07:00
marvell
me_cleaner UPSTREAM: util/me_cleaner: Pull the latest changes from upstream 2017-03-06 07:04:35 -08:00
mma
msrtool UPSTREAM: util/msrtool: Use tabs for indents 2016-10-19 14:06:44 -07:00
mtkheader
nvidia
nvramtool UPSTREAM: nvramtool: Don't consider reserved regions to be "out of range" 2016-08-04 23:37:39 -07:00
optionlist
post
release UPSTREAM: util/release/build-release: Update tar command 2016-10-11 14:31:59 -07:00
riscvtools UPSTREAM: RISCV: change make-spike-elf to use the coreboot toolchain. 2016-10-18 22:14:47 -07:00
rockchip
romcc UPSTREAM: util/romcc: Don't reference a variable after checking it for NULL 2017-02-13 10:01:10 -08:00
sconfig UPSTREAM: sconfig: Add a new "SPI" device type 2017-02-18 03:10:55 -08:00
scripts UPSTREAM: util/scripts/get_maintainer.pl: Remove linux tree check 2017-03-07 14:15:56 -08:00
showdevicetree
spkmodem_recv
superiotool UPSTREAM: util/superiotool: Add support for Fintek F71808A 2017-03-14 07:25:23 -07:00
uio_usbdebug
vgabios UPSTREAM: Remove extra newlines from the end of all coreboot files. 2016-08-04 23:36:56 -07:00
viatool UPSTREAM: viatool/quirks: Add newline to end of file 2016-08-02 14:29:22 -07:00
xcompile UPSTREAM: util/xcompile: parallelize compiler checks 2017-01-31 17:07:38 -08:00