Add dbus server
This commit is contained in:
@@ -23,6 +23,8 @@
|
||||
#include <sys/mman.h>
|
||||
#include <sys/wait.h>
|
||||
|
||||
std::unique_ptr<xrt::drivers::wivrn::TCP> tcp;
|
||||
|
||||
struct cleanup_function
|
||||
{
|
||||
void (*callback)(uintptr_t);
|
||||
@@ -31,6 +33,11 @@ struct cleanup_function
|
||||
|
||||
std::array<cleanup_function, 1024> * cleanup_functions; // In shared memory
|
||||
|
||||
std::optional<to_monado::packets> receive_from_main()
|
||||
{
|
||||
return wivrn_ipc_socket_monado->receive();
|
||||
}
|
||||
|
||||
void init_cleanup_functions()
|
||||
{
|
||||
if (cleanup_functions)
|
||||
|
||||
Reference in New Issue
Block a user