erpt: skeleton sprofile apis

This commit is contained in:
Michael Scire authored and SciresM committed 2021-09-19 10:34:31 -07:00
1 parent 568a3b62eb
commit bd240b23d8
19 files changed
+492 -1

No files matched your search

+1 -1
View File
@@ -16,7 +16,7 @@
"permissions": "0xFFFFFFFFFFFFFFFF"
},
"service_access": ["lm", "fsp-srv", "time:u", "set", "set:sys", "srepo:u", "psc:m", "csrng", "ectx:r"],
"service_host": ["erpt:r", "erpt:c"],
"service_host": ["erpt:r", "erpt:c", "sprof:sp", "sprof:bg"],
"kernel_capabilities": [{
"type": "kernel_flags",
"value": {
+6
View File
@@ -201,6 +201,12 @@ int main(int argc, char **argv)
/* Start the erpt server. */
R_ABORT_UNLESS(erpt::srv::InitializeAndStartService());
/* Initialize the sprofile server. */
sprofile::srv::Initialize();
/* Start the sprofile ipc server. */
sprofile::srv::StartIpcServer();
/* Wait forever. */
erpt::srv::Wait();