u-boot-brain/arch/sandbox
Simon Glass 613185023f sandbox: Align RAM buffer to the machine page size
At present the sandbox RAM buffer is not aligned to any particular
address boundary. This makes the internal pointers somewhat random with
respect to the associated RAM buffer addresses.

Align the buffer to the page size of the machine to help with this. Note
that there is a header at the start of the allocated pointer. To avoid
returning a pointer which is not aligned to a page boundary, we waste
almost an entire page of memory for each allocation.

Signed-off-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Alexander Graf <agraf@suse.de>
2018-09-23 21:55:30 +02:00
..
cpu sandbox: Align RAM buffer to the machine page size 2018-09-23 21:55:30 +02:00
dts test: Add tests for CPU uclass 2018-09-18 08:12:21 -06:00
include/asm arch: types.h: factor out fixed width typedefs to int-ll64.h 2018-09-10 20:48:16 -04:00
lib efi: sandbox: Add required linker sections 2018-06-03 15:27:21 +02:00
config.mk sandbox: Build with -fPIC 2018-09-18 00:01:18 -06:00
Kconfig sandbox: Add 64-bit sandbox 2018-02-18 15:53:48 -07:00
Makefile SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00