Martin Stein
709afcd945
nic_router: overwritable reference wrapper
...
While references are const and always valid, this wrapper is like a reference
that is only always valid and can be overwritten.
Ref #2670
2018-03-29 15:32:39 +02:00
Martin Stein
119b9f9c2c
nic_router: alloc specific bits at bit allocator
...
Method to allocate specific bits at a Bit_allocator_dynamic
Ref #2670
2018-03-29 15:32:39 +02:00
Martin Stein
03062b83b6
nic_router: alloc specific port at port allocators
...
Methods to allocate a specific port at Port_allocator and
Port_allocator_guard.
Ref #2670
2018-03-29 15:30:20 +02:00
Martin Stein
e0081cfc29
nic_router: safe pointer class for const objects
...
Const_pointer class that enables the use of the pointer wrapper for
const ojects.
Ref #2670
2018-03-29 15:30:03 +02:00
Martin Stein
5926261e08
nic_router: Avl_tree wrapper with destroy_each
...
AVL tree wrapper with method to destruct and deallocate each item of the
tree.
Ref #2670
2018-03-29 15:30:03 +02:00
Martin Stein
44dd55a268
nic_router: destroy_each for domain tree
...
List method to destruct and deallocate each item of a domain tree.
Ref #2670
2018-03-29 15:24:02 +02:00
Martin Stein
d5f645ee69
nic_router: destroy_each for list wrapper
...
List method to destruct and deallocate each item of a list.
Ref #2670
2018-03-29 15:23:31 +02:00
Martin Stein
8fff7df438
nic_router: safe pointers that are valid and const
...
Add safe pointer constructor that takes a reference as argument to enable the
use of the safe pointer wrapper as const object.
Ref #2670
2018-03-29 15:22:52 +02:00
Martin Stein
2c2037952d
nic_router: support interfaces without a domain
...
Clients can connect at any time to the NIC router. The interfaces (sessions)
get attached to the appropriate domain as soon as it appears. This implies
that interfaces can also be detached from a domain without beeing destructed
when the domain disappears. All user dependent states of an interface such as
the link states, DHCP allocations and ARP information get lost when the
interface gets detached.
Ref #2670
2018-03-29 15:22:34 +02:00
Martin Stein
63de13b50e
nic_router: conform domain labeling in log
...
Adapt domain labeling of packet receive/send messages in log to other domain
specific log messages.
Ref #2670
2018-03-29 15:21:07 +02:00
Martin Stein
2a77976164
nic_router: add verbose_packets per domain
...
A domain logs its packets if one of the global 'verbose_packets' or its local
'verbose_packets' is switched on.
Ref #2670
2018-03-29 15:20:20 +02:00
Martin Stein
bd16f89617
nic_router: add verbose_packets attribute
...
This separates the decision wether to log the received and sent packets
from the 'verbose' attribute. This information is now only logged if
'verbose_packets' is switched on. If 'verbose' is switched on, only
routing decisions and optional hints are printed.
Ref #2670
2018-03-29 15:20:15 +02:00
Martin Stein
b69134f1fe
nic_router.run: test DHCP server
...
Very basic test of the DHCP server functionality.
Ref #2670
2018-03-29 15:19:29 +02:00
Martin Stein
95005a0ae3
test/lwip/udp/client: deal with packet loss
...
Try it 10 times and expect 5 of them to succeed.
Ref #2670
2018-03-29 15:16:35 +02:00
Martin Stein
ff7c378ff9
bit_allocator: alloc specific block of bits
...
Method to try to allocate specific bits of the Bit_allocator_dynamic.
Ref #2670
2018-03-29 15:16:11 +02:00
Martin Stein
72036d3f88
test/lwip/http_clnt: don't succeed falsely
...
Ref #2670
2018-03-29 15:09:47 +02:00
Martin Stein
8c65219c96
util/string: add ascii_to for unsigned short
...
Ref #2670
2018-03-29 15:09:05 +02:00
Martin Stein
eb11e077fc
list_model: fix missing include
...
Ref #2670
2018-03-29 15:07:15 +02:00
Christian Helmuth
b07d6eced8
depot: update recipe hashes
2018-03-29 14:59:07 +02:00
Alexander Boettcher
26918b82b3
hw: provide svm/vmx features via platform_info
...
Issue #2710
2018-03-29 14:59:07 +02:00
Alexander Boettcher
a6a196f042
sel4: add tsc and svm/vmx feature to platform_info
...
Issue #2710
2018-03-29 14:59:07 +02:00
Alexander Boettcher
bc2a998261
demo: test demo scenario bootup by autopilot
2018-03-29 14:59:06 +02:00
Christian Helmuth
6151e1bbb2
Disable super-page I/O mappings on FOC and Fiasco
...
We disable super-page I/O mappings because our unmap code does not flush
local mappings from core and, thus, breaks later re-mappings of
different page size.
Issue #2547
2018-03-29 14:59:06 +02:00
Alexander Boettcher
5d1f08d512
seoul: update seoul-genode.run
...
Issue #2715
2018-03-29 14:59:06 +02:00
Alexander Boettcher
e51e3dcdbd
seoul: update disk backend
...
Fixes races in disk allocators, add more sanity checks and handles corner
case like alloc_packet failed in block packetstream.
Issue #2715
2018-03-29 14:59:05 +02:00
Alexander Boettcher
4b826d10ef
grub2: update to fix boots without using bender
...
Fixes #2727
2018-03-29 14:59:05 +02:00
Christian Helmuth
9242b4278c
Remove ATAPI from ahci_drv config in test
...
ATAPI does not work reliably on QEMU and is not tested by the run script
anyway.
2018-03-29 14:59:05 +02:00
Alexander Senier
ac42670a0e
Add fstatfs to libc ABI symbols
...
Fixes #2721
2018-03-29 14:59:05 +02:00
Reto Buerki
47724c68c2
platform_drv/x86: Switch to ECAM/MMCONF
...
Switch port I/O based PCI config space access to memory-mapped IO. The
base address of the PCI configuration space is acquired by mapping the
ACPI ROM and reading the first <bdf> node. An exception is thrown if the
first <bdf> node is not for PCI domain zero or if multiple <bdf> nodes
exist. This is to reduce complexity and also because multiple PCI
domains are rare.
The PCI configuration space is accessed via I/O mem dataspace which is
created in the platform_drv root and then passed on to the PCI session,
device components and finally to the actual PCI config access instances.
The memory access code is implemented in a way to make it work with Muen
subject monitor (SM) device emulation and also general x86 targets. On
Muen, the simplified device emulation code (which works also for Linux)
always returns 0xffff in EAX to indicate a non-existing device.
Therefore, EAX is enforced in the assembly templates.
Fixes #2547
2018-03-29 14:59:04 +02:00
Alexander Boettcher
661be648d5
pistachio: don't remove KIP range from io_mem alloc
...
The KIP address range resides in virtual memory while io_mem alloc
manages physical-address ranges.
The patch enables the use of ECAM/MMCONF for PCI configuration.
Issue #2547
2018-03-27 13:44:28 +02:00
Alexander Boettcher
77bbe87dc8
nova: avoid endless loop in core
...
Issue #2547
2018-03-27 13:44:28 +02:00
Alexander Boettcher
675aa2cd2f
okl4: leverage complete virtual address space
...
Issue #2547
2018-03-27 13:44:28 +02:00
Norman Feske
cb188f5f93
terminal: support Latin-1 subset of UTF-8
2018-03-27 13:44:28 +02:00
Emery Hemingway
219c2fa2e1
EGL api library
...
Library for EGL headers only. Useful for components that dynamically
load an EGL shared library.
Fix #2718
2018-03-27 13:44:27 +02:00
Emery Hemingway
c3b483d12a
Prepate_port: create directories when downloading bare files
...
Ref #2718
2018-03-27 13:44:27 +02:00
Emery Hemingway
b60fd14679
Depot: update pubkey for ehmry
...
Fix #2719
2018-03-27 13:44:27 +02:00
Norman Feske
d59d07b5e3
os: util/utf8.h for UTF-8 string handling
...
This patch adds a simple UTF-8 decoder at 'os/include/util/utf8.h'
along with a test at 'os/run/utf8.run'.
Fixes #2717 , related to issue #2716
2018-03-27 13:44:27 +02:00
Alexander Boettcher
57fcd5e0c4
seoul: adjust vga model to framebuffer host size
...
Configure the available vga/vesa memory based on the given Genode framebuffer
size and not the way around.
Issue #2715
2018-03-27 13:44:26 +02:00
Alexander Boettcher
bb768c2cab
seoul: adjust Intel network model to recent VM
...
Issue #2715
2018-03-27 13:44:26 +02:00
Alexander Boettcher
3bcb45b4e7
seoul: support g++ -Weffc++ option
...
Issue #2715
2018-03-27 13:43:10 +02:00
Alexander Boettcher
6e2bd945b1
ports: support g++ -Weffc++ for vmm utils
...
Issue #2715
2018-03-27 13:43:10 +02:00
Alexander Boettcher
ed320f6f03
seoul: support rtl8029 network model
...
Issue #2715
2018-03-27 13:43:10 +02:00
Alexander Boettcher
8e8878f187
seoul: show vga messages during early disc boot
...
Issue #2715
2018-03-27 13:43:10 +02:00
Alexander Boettcher
2403c32d4f
seoul: add top utility to seoul*.run scenarios
...
Issue #2715
2018-03-27 13:43:10 +02:00
Alexander Boettcher
05765cd25b
depot: public key of alex-ab
...
Issue #2715
2018-03-27 13:43:09 +02:00
Norman Feske
e5068fb469
gems: add cap quotas to decorator run scripts
2018-03-27 13:43:09 +02:00
Norman Feske
eaa412022f
tool/run: improve depot/create suggestion
...
When a pkg is missing, the user should create <arch>/pkg instead
of only the missing pkg. This way, all depending binaries are created in
one step. Otherwise the missing binaries are detected at the next time
the run script is executed. This patch relieves the user from iterating
manually.
2018-03-27 13:43:09 +02:00
Norman Feske
579ca1063c
os: support non-int coordinates in 'Point<>'
2018-03-27 13:43:09 +02:00
Alexander Boettcher
f7cacd16a0
vbox5: avoid assertion in DevHDA
...
seen with beginning of Virtualbox 5.1.34 update
Issue #2658
2018-03-27 13:43:08 +02:00
Christian Helmuth
f2b9a6238c
stdcxx: std::istream::ignore support
2018-03-27 13:43:08 +02:00