mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-23 19:26:55 -04:00
ro: skeleton ro:dmnt
This commit is contained in:
parent
6004b7479e
commit
4ac8f2745b
3 changed files with 64 additions and 2 deletions
|
@ -23,6 +23,8 @@
|
|||
#include <atmosphere.h>
|
||||
#include <stratosphere.hpp>
|
||||
|
||||
#include "ro_debug_monitor.hpp"
|
||||
|
||||
extern "C" {
|
||||
extern u32 __start__;
|
||||
|
||||
|
@ -104,12 +106,13 @@ void __appExit(void) {
|
|||
int main(int argc, char **argv)
|
||||
{
|
||||
/* Static server manager. */
|
||||
static auto g_server_manager = WaitableManager(1);
|
||||
static auto s_server_manager = WaitableManager(1);
|
||||
|
||||
/* TODO: Create services. */
|
||||
s_server_manager.AddWaitable(new ServiceServer<DebugMonitorService>("ro:dmnt", 1));
|
||||
|
||||
/* Loop forever, servicing our services. */
|
||||
g_server_manager.Process();
|
||||
s_server_manager.Process();
|
||||
|
||||
/* Cleanup */
|
||||
return 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue