mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-19 11:16:57 +00:00
acpi: Adjust device_pd quota for 64bit machines
This commit is contained in:
parent
839c0263c9
commit
c36909e5dc
@ -69,7 +69,7 @@ set config {
|
||||
<provides> <service name="Timer"/> </provides>
|
||||
</start>
|
||||
<start name="test-lwip_httpsrv">
|
||||
<resource name="RAM" quantum="2M"/>
|
||||
<resource name="RAM" quantum="3M"/>
|
||||
</start> }
|
||||
|
||||
append_if [have_spec omap4] config {
|
||||
@ -91,7 +91,7 @@ append_if [expr ![have_spec omap4]] config {
|
||||
|
||||
append_if [have_spec acpi] config {
|
||||
<start name="acpi">
|
||||
<resource name="RAM" quantum="5M"/>
|
||||
<resource name="RAM" quantum="6M"/>
|
||||
<binary name="acpi_drv"/>
|
||||
<provides>
|
||||
<service name="PCI"/>
|
||||
|
@ -80,8 +80,8 @@ int main(int argc, char **argv)
|
||||
* Initialize server entry point
|
||||
*/
|
||||
enum {
|
||||
STACK_SIZE = 2 * sizeof(addr_t)*1024,
|
||||
PCI_DEVICE_PD_RAM_QUOTA = 512 * 1024,
|
||||
STACK_SIZE = 2 * sizeof(addr_t)*1024,
|
||||
PCI_DEVICE_PD_RAM_QUOTA = sizeof(addr_t) * 128 * 1024,
|
||||
};
|
||||
|
||||
static Cap_connection cap;
|
||||
@ -93,7 +93,7 @@ int main(int argc, char **argv)
|
||||
static Rpc_entrypoint device_pd_ep(&cap, STACK_SIZE, "device_pd_slave");
|
||||
static Device_pd_policy device_pd_policy(device_pd_ep);
|
||||
static Genode::Slave device_pd_slave(device_pd_ep, device_pd_policy,
|
||||
PCI_DEVICE_PD_RAM_QUOTA);
|
||||
PCI_DEVICE_PD_RAM_QUOTA);
|
||||
session_dev_pd = Genode::Root_client(device_pd_policy.root()).session("");
|
||||
} catch (...) {
|
||||
PWRN("PCI device protection domain for IOMMU support is not available");
|
||||
|
Loading…
Reference in New Issue
Block a user