mirror of
https://github.com/genodelabs/genode.git
synced 2025-06-17 06:38:28 +00:00
committed by
Christian Helmuth
parent
7bed3967ae
commit
e370e08e01
@ -405,7 +405,7 @@ extern "C" int pci_mapreg_map(struct pci_attach_args *pa,
|
||||
Platform::Device::ACCESS_16BIT); },
|
||||
[&] () {
|
||||
char quota[32];
|
||||
Genode::snprintf(quota, sizeof(quota), "ram_quota=%zd",
|
||||
Genode::snprintf(quota, sizeof(quota), "ram_quota=%ld",
|
||||
donate);
|
||||
drv->env().parent().upgrade(drv->pci().cap(), quota);
|
||||
donate *= 2;
|
||||
|
Reference in New Issue
Block a user