1 | // SPDX-License-Identifier: GPL-3.0-or-later |
---|---|
2 | |
3 | #include "dm_server.hpp" |
4 | |
5 | #include "dm_common.hpp" |
6 | |
7 | #include <librpc/macro_magic.h> |
8 | #include <librpc/rpc_server++.hpp> |
9 | #include <librpc/rpc_server.h> |
10 | |
11 | rpc_result_code_t DeviceManagerServer::register_device(rpc_context_t *context, s32 vendor, s32 devid, s32 location, s64 mmio_base) |
12 | { |
13 | MOS_UNUSED(context); |
14 | rpc_result_code_t result = RPC_RESULT_OK; |
15 | try_start_driver(vendor, device: devid, location, mmio_base); |
16 | return result; |
17 | } |
18 | |
19 | rpc_result_code_t DeviceManagerServer::register_driver(rpc_context_t *context) |
20 | { |
21 | MOS_UNUSED(context); |
22 | rpc_result_code_t result = RPC_RESULT_OK; |
23 | return result; |
24 | } |
25 |