mirror of
https://github.com/genodelabs/genode.git
synced 2025-04-14 06:27:06 +00:00
Normally, Interface::send always takes the base and size of the RAM region where a packet was composed and copies this finished packet at once into the packet stream RAM. But we want to be able to also compose packets directly in the packet stream RAM, so that no memcpy is needed. Thus, Interface::send now takes a functor that describes how to compose the packet, then allocates the packet stream RAM and applies the functor to this RAM. there is also a version of Interface::send that provides the old behavior but with the new back end. This way, we stay backwards-compatible. Issue #2626
This source-code repository contains genuine low-level OS components and interfaces of Genode. It solely depends on the framework's base API.