mirror of
https://github.com/genodelabs/genode.git
synced 2025-02-03 09:40:44 +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
This directory contains include files of interfaces that are exported by components to be used by other components. Each subdirectory corresponds to the component exporting the interface.