mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-20 06:07:59 +00:00
a96130f20b
When using the Allocator interface, one can't tell which alignment resulting allocations fulfill. However, at least on ARM, given the architectural alignment requirements of ARM memory accesses, one wants memory allocations (what allocators are for in most cases) to be word aligned automatically. Previously, at least the AVL allocator simply called alloc_aligned without defining align in its alloc implementation. This led to unaligned access faults (the default was 0) when using the AVL allocator as Allocator (as done in the metadata management of a SLAB of an AVL that uses the AVL as backing store). To avoid such pitfalls in the future, we force users of alloc_aligned to always specify align (why use alloc_aligned without align anyway). Ref #1941 |
||
---|---|---|
.. | ||
etc | ||
include | ||
lib | ||
mk | ||
run | ||
src | ||
README |
This is generic part of the Genode implementation. It consists of two parts: :_Core_: is the ultimate root of the Genode application tree and provides abstractions for the lowest-level hardware resources such as RAM, ROM, CPU, and generic device access. All generic parts of Core can be found here - for system-specific implementations refer to the appropriate 'base-<system>' directory. :_Base libraries and protocols_: that are used by each Genode component to interact with other components. This is the glue that holds everything together.