mirror of
https://github.com/genodelabs/genode.git
synced 2025-06-17 22:58:26 +00:00
base: remove integer return codes from PD-session
The return code of assign_parent remained unused. So this patch removes it. The bind_thread function fails only due to platform-specific limitations such as the exhaustion of ID name spaces, which cannot be sensibly handled by the PD-session client. If occurred, such conditions used to be reflected by integer return codes that were used for diagnostic messages only. The patch removes the return codes and leaves the diagnostic output to core. Fixes #1842
This commit is contained in:
committed by
Christian Helmuth
parent
93b82c14ac
commit
e20bbe7002
@ -25,11 +25,11 @@ struct Genode::Pd_session_client : Rpc_client<Pd_session>
|
||||
explicit Pd_session_client(Pd_session_capability session)
|
||||
: Rpc_client<Pd_session>(session) { }
|
||||
|
||||
int bind_thread(Thread_capability thread) override {
|
||||
return call<Rpc_bind_thread>(thread); }
|
||||
void bind_thread(Thread_capability thread) override {
|
||||
call<Rpc_bind_thread>(thread); }
|
||||
|
||||
int assign_parent(Capability<Parent> parent) override {
|
||||
return call<Rpc_assign_parent>(parent); }
|
||||
void assign_parent(Capability<Parent> parent) override {
|
||||
call<Rpc_assign_parent>(parent); }
|
||||
|
||||
bool assign_pci(addr_t pci_config_memory_address, uint16_t bdf) override {
|
||||
return call<Rpc_assign_pci>(pci_config_memory_address, bdf); }
|
||||
|
Reference in New Issue
Block a user