genode/repos/base/include/base
Norman Feske 9d67f9fc8e Remove Allocator_guard
This patch removes old 'Allocator_guard' utility and replaces its use
with the modern 'Constrained_ram_allocator'.

The adjustment of core in this respect has the side effect of a more
accurate capability accounting in core's CPU, TRACE, and RM services.
In particular, the dataspace capabilities needed for core-internal
allocations via the 'Sliced_heap' are accounted to the client now.
The same goes for nitpicker and nic_dump as other former users of the
allocator guard. Hence, the patch also touches code at the client and
server sides related to these services.

The only remaining user of the 'Allocator_guard' is the Intel GPU
driver. As the adaptation of this component would be too invasive
without testing, this patch leaves this component unchanged by keeping a
copy of the 'allocator_guard.h' locally at the component.

Fixes #3750
2020-05-18 10:16:12 +02:00
..
trace trace: redirect logs to trace based on policy 2020-04-17 12:47:48 +02:00
affinity.h base/affinity.h: simplify member initialization 2020-02-04 15:51:08 +01:00
alarm.h base: use Mutex/Blockade 2020-04-17 12:40:12 +02:00
allocator_avl.h Refinements for updated "Genode Foundations" book 2019-05-27 14:52:53 +02:00
allocator.h base/os: remove deprecated APIs 2019-02-26 14:44:15 +01:00
attached_dataspace.h base/os: remove deprecated APIs 2019-02-26 14:44:15 +01:00
attached_io_mem_dataspace.h base/os: remove deprecated APIs 2019-02-26 14:44:15 +01:00
attached_ram_dataspace.h base/os: remove deprecated APIs 2019-02-26 14:44:15 +01:00
attached_rom_dataspace.h Never throw in 'Attached_rom_dataspace::size' 2020-02-04 15:51:10 +01:00
blockade.h base: add blockade as derivate of lock 2020-02-20 12:11:22 +01:00
blocking.h Adjust file headers to refer to the AGPLv3 2017-02-28 12:59:29 +01:00
buffered_output.h base/buffered_output.h: flush at destruction time 2020-02-20 12:08:16 +01:00
cache.h Adjust file headers to refer to the AGPLv3 2017-02-28 12:59:29 +01:00
cancelable_lock.h base: avoid wrong warning by Mutex::acquire 2020-02-27 14:46:57 +01:00
capability.h Cleanup Call_return encapsulation in call() 2017-05-02 15:28:52 +02:00
child.h base: use Mutex/Blockade 2020-04-17 12:40:12 +02:00
component.h Adjust file headers to refer to the AGPLv3 2017-02-28 12:59:29 +01:00
connection.h Remove Allocator_guard 2020-05-18 10:16:12 +02:00
console.h Adjust file headers to refer to the AGPLv3 2017-02-28 12:59:29 +01:00
debug.h Adjust file headers to refer to the AGPLv3 2017-02-28 12:59:29 +01:00
duration.h timeout: use uint64_t for all plain time values 2019-05-06 16:15:26 +02:00
entrypoint.h base: use Mutex/Blockade 2020-04-17 12:40:12 +02:00
env.h base/os: remove deprecated APIs 2019-02-26 14:44:15 +01:00
exception.h Adjust file headers to refer to the AGPLv3 2017-02-28 12:59:29 +01:00
heap.h base: use mutex in heap 2020-02-20 12:11:22 +01:00
id_space.h base: use Mutex/Blockade 2020-04-17 12:40:12 +02:00
ipc_msgbuf.h base: avoid null pointer reference warning 2019-01-07 12:25:45 +01:00
ipc.h Follow practices suggested by "Effective C++" 2018-01-17 12:14:35 +01:00
local_connection.h base: fix quota transfer to async env services 2018-06-12 12:11:47 +02:00
lock_guard.h Adjust file headers to refer to the AGPLv3 2017-02-28 12:59:29 +01:00
lock.h Adjust file headers to refer to the AGPLv3 2017-02-28 12:59:29 +01:00
log.h base: use Mutex/Blockade 2020-04-17 12:40:12 +02:00
mutex.h base: add mutex as derivate of lock 2020-02-20 12:11:22 +01:00
native_capability.h core: avoid null pointer reference warning 2019-01-07 12:25:44 +01:00
object_pool.h base: use Mutex/Blockade 2020-04-17 12:40:12 +02:00
output.h Follow practices suggested by "Effective C++" 2018-01-17 12:14:35 +01:00
quota_guard.h Remove replenish error message from quota guard 2018-02-28 11:05:04 +01:00
quota_transfer.h base/os: remove deprecated APIs 2019-02-26 14:44:15 +01:00
ram_allocator.h Remove Allocator_guard 2020-05-18 10:16:12 +02:00
registry.h base/registry.h: remove misleading comment 2020-04-17 12:40:13 +02:00
rpc_args.h base/os: remove deprecated APIs 2019-02-26 14:44:15 +01:00
rpc_client.h base/os: remove deprecated APIs 2019-02-26 14:44:15 +01:00
rpc_server.h Remove Rpc_entrypoint::Native_context 2020-04-21 16:50:37 +02:00
rpc.h Follow practices suggested by "Effective C++" 2018-01-17 12:14:35 +01:00
semaphore.h base: use Mutex/Blockade 2020-04-17 12:40:12 +02:00
service.h base/os: remove deprecated APIs 2019-02-26 14:44:15 +01:00
session_label.h base: add copy constructor to 'Genode::Session_label' 2019-05-27 14:46:54 +02:00
session_object.h Follow practices suggested by "Effective C++" 2018-01-17 12:14:35 +01:00
session_state.h base/os: remove deprecated APIs 2019-02-26 14:44:15 +01:00
shared_object.h ldso: Dynamic_linker::respawn mechanism 2019-08-28 14:18:45 +02:00
signal.h base: use Mutex/Blockade 2020-04-17 12:40:12 +02:00
slab.h base/os: remove deprecated APIs 2019-02-26 14:44:15 +01:00
sleep.h Adjust file headers to refer to the AGPLv3 2017-02-28 12:59:29 +01:00
snprintf.h Follow practices suggested by "Effective C++" 2018-01-17 12:14:35 +01:00
stdint.h Adjust file headers to refer to the AGPLv3 2017-02-28 12:59:29 +01:00
synced_allocator.h base: use Mutex/Blockade 2020-04-17 12:40:12 +02:00
synced_interface.h base: use Mutex/Blockade 2020-04-17 12:40:12 +02:00
thread_state.h base/os: remove deprecated APIs 2019-02-26 14:44:15 +01:00
thread.h trace: redirect logs to trace based on policy 2020-04-17 12:47:48 +02:00
tslab.h base: construct 'Tslab' with allocator reference 2017-05-31 13:16:03 +02:00
weak_ptr.h base: use Mutex/Blockade 2020-04-17 12:40:12 +02:00