usb: fix storage with IOMMU enabled

Fixes #747
This commit is contained in:
Alexander Boettcher 2013-10-08 15:58:51 +02:00 committed by Norman Feske
parent 73cff5c996
commit d1c0258301
1 changed files with 3 additions and 2 deletions

View File

@ -17,6 +17,7 @@
#include "signal.h"
#include "platform/lx_mem.h"
/**
* Session components that overrides signal handlers
@ -122,8 +123,8 @@ class Packet_session_component : public RPC
}
return new (ROOT_COMPONENT::md_alloc())
SESSION_COMPONENT(env()->ram_session()->alloc(tx_buf_size, CACHED),
env()->ram_session()->alloc(rx_buf_size, CACHED),
SESSION_COMPONENT(Backend_memory::alloc(tx_buf_size, CACHED),
Backend_memory::alloc(rx_buf_size, CACHED),
_ep, _sig_rec, _device);
}