]> git.ipfire.org Git - people/ms/u-boot.git/commit
efi_loader: make pool allocations cacheline aligned
authorRob Clark <robdclark@gmail.com>
Wed, 13 Sep 2017 22:05:36 +0000 (18:05 -0400)
committerAlexander Graf <agraf@suse.de>
Wed, 20 Sep 2017 08:48:09 +0000 (10:48 +0200)
commit946160f334ddaf2dd0dfd4bc72485f9ce39dc2cd
tree3aa3178232473b99931ff1b77987b7f356bbf01b
parent838ee4b4798629ed88254e431cf17d4955b793bf
efi_loader: make pool allocations cacheline aligned

This avoids printf() spam about file reads (such as loading an image)
into unaligned buffers (and the associated memcpy()).  And generally
seems like a good idea.

Signed-off-by: Rob Clark <robdclark@gmail.com>
[agraf: use __aligned]
Signed-off-by: Alexander Graf <agraf@suse.de>
lib/efi_loader/efi_memory.c