mirror of
https://github.com/switchbrew/libnx.git
synced 2025-06-29 08:12:40 +02:00
Move ipc.h to kernel/
This commit is contained in:
parent
11c77cb654
commit
d12e99e3ad
@ -14,6 +14,9 @@ extern "C" {
|
|||||||
|
|
||||||
#include "switch/nro.h"
|
#include "switch/nro.h"
|
||||||
|
|
||||||
|
#include "switch/arm/tls.h"
|
||||||
|
#include "switch/arm/cache.h"
|
||||||
|
|
||||||
#include "switch/kernel/svc.h"
|
#include "switch/kernel/svc.h"
|
||||||
#include "switch/kernel/tmem.h"
|
#include "switch/kernel/tmem.h"
|
||||||
#include "switch/kernel/shmem.h"
|
#include "switch/kernel/shmem.h"
|
||||||
@ -25,10 +28,7 @@ extern "C" {
|
|||||||
#include "switch/kernel/detect.h"
|
#include "switch/kernel/detect.h"
|
||||||
#include "switch/kernel/random.h"
|
#include "switch/kernel/random.h"
|
||||||
#include "switch/kernel/jit.h"
|
#include "switch/kernel/jit.h"
|
||||||
|
#include "switch/kernel/ipc.h"
|
||||||
#include "switch/arm/tls.h"
|
|
||||||
#include "switch/arm/cache.h"
|
|
||||||
#include "switch/ipc.h"
|
|
||||||
|
|
||||||
#include "switch/services/sm.h"
|
#include "switch/services/sm.h"
|
||||||
#include "switch/services/fs.h"
|
#include "switch/services/fs.h"
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
#include "../types.h"
|
#include "../types.h"
|
||||||
#include "../kernel/svc.h"
|
#include "../kernel/svc.h"
|
||||||
#include "../ipc.h"
|
#include "../kernel/ipc.h"
|
||||||
|
|
||||||
/// Service type.
|
/// Service type.
|
||||||
typedef enum {
|
typedef enum {
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include "types.h"
|
#include "types.h"
|
||||||
#include "result.h"
|
#include "result.h"
|
||||||
#include "ipc.h"
|
#include "kernel/ipc.h"
|
||||||
#include "kernel/detect.h"
|
#include "kernel/detect.h"
|
||||||
#include "gfx/binder.h"
|
#include "gfx/binder.h"
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#include "types.h"
|
#include "types.h"
|
||||||
#include "result.h"
|
#include "result.h"
|
||||||
#include "ipc.h"
|
#include "kernel/ipc.h"
|
||||||
#include "services/apm.h"
|
#include "services/apm.h"
|
||||||
#include "services/sm.h"
|
#include "services/sm.h"
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include "types.h"
|
#include "types.h"
|
||||||
#include "result.h"
|
#include "result.h"
|
||||||
#include "ipc.h"
|
#include "kernel/ipc.h"
|
||||||
#include "services/fatal.h"
|
#include "services/fatal.h"
|
||||||
#include "services/applet.h"
|
#include "services/applet.h"
|
||||||
#include "services/apm.h"
|
#include "services/apm.h"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include "types.h"
|
#include "types.h"
|
||||||
#include "result.h"
|
#include "result.h"
|
||||||
#include "ipc.h"
|
#include "kernel/ipc.h"
|
||||||
#include "services/audin.h"
|
#include "services/audin.h"
|
||||||
#include "services/sm.h"
|
#include "services/sm.h"
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include "types.h"
|
#include "types.h"
|
||||||
#include "result.h"
|
#include "result.h"
|
||||||
#include "ipc.h"
|
#include "kernel/ipc.h"
|
||||||
#include "services/audout.h"
|
#include "services/audout.h"
|
||||||
#include "services/sm.h"
|
#include "services/sm.h"
|
||||||
|
|
||||||
|
@ -14,11 +14,11 @@
|
|||||||
|
|
||||||
#include "types.h"
|
#include "types.h"
|
||||||
#include "result.h"
|
#include "result.h"
|
||||||
#include "ipc.h"
|
#include "kernel/ipc.h"
|
||||||
#include "services/bsd.h"
|
|
||||||
#include "services/sm.h"
|
|
||||||
#include "kernel/shmem.h"
|
#include "kernel/shmem.h"
|
||||||
#include "kernel/rwlock.h"
|
#include "kernel/rwlock.h"
|
||||||
|
#include "services/bsd.h"
|
||||||
|
#include "services/sm.h"
|
||||||
|
|
||||||
__thread Result g_bsdResult;
|
__thread Result g_bsdResult;
|
||||||
__thread int g_bsdErrno;
|
__thread int g_bsdErrno;
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
// Copyright 2017 plutoo
|
// Copyright 2017 plutoo
|
||||||
#include "types.h"
|
#include "types.h"
|
||||||
#include "result.h"
|
#include "result.h"
|
||||||
#include "ipc.h"
|
#include "kernel/ipc.h"
|
||||||
#include "services/fatal.h"
|
|
||||||
#include "services/sm.h"
|
|
||||||
#include "kernel/detect.h"
|
#include "kernel/detect.h"
|
||||||
#include "kernel/svc.h"
|
#include "kernel/svc.h"
|
||||||
|
#include "services/fatal.h"
|
||||||
|
#include "services/sm.h"
|
||||||
|
|
||||||
void fatalSimple(Result err) {
|
void fatalSimple(Result err) {
|
||||||
Result rc = 0;
|
Result rc = 0;
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include "types.h"
|
#include "types.h"
|
||||||
#include "result.h"
|
#include "result.h"
|
||||||
#include "ipc.h"
|
#include "kernel/ipc.h"
|
||||||
#include "services/fs.h"
|
#include "services/fs.h"
|
||||||
#include "services/sm.h"
|
#include "services/sm.h"
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include "types.h"
|
#include "types.h"
|
||||||
#include "result.h"
|
#include "result.h"
|
||||||
#include "ipc.h"
|
#include "kernel/ipc.h"
|
||||||
#include "services/applet.h"
|
#include "services/applet.h"
|
||||||
#include "services/hid.h"
|
#include "services/hid.h"
|
||||||
#include "services/sm.h"
|
#include "services/sm.h"
|
||||||
|
@ -1,13 +1,13 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include "types.h"
|
#include "types.h"
|
||||||
#include "result.h"
|
#include "result.h"
|
||||||
#include "ipc.h"
|
#include "kernel/ipc.h"
|
||||||
|
#include "kernel/shmem.h"
|
||||||
|
#include "kernel/tmem.h"
|
||||||
#include "services/applet.h"
|
#include "services/applet.h"
|
||||||
#include "services/irs.h"
|
#include "services/irs.h"
|
||||||
#include "services/hid.h"
|
#include "services/hid.h"
|
||||||
#include "services/sm.h"
|
#include "services/sm.h"
|
||||||
#include "kernel/shmem.h"
|
|
||||||
#include "kernel/tmem.h"
|
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
bool initialized;
|
bool initialized;
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include "types.h"
|
#include "types.h"
|
||||||
#include "result.h"
|
#include "result.h"
|
||||||
#include "ipc.h"
|
#include "kernel/ipc.h"
|
||||||
#include "services/applet.h"
|
#include "services/applet.h"
|
||||||
#include "gfx/ioctl.h"
|
#include "gfx/ioctl.h"
|
||||||
#include "services/nv.h"
|
#include "services/nv.h"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
// Copyright 2017 plutoo
|
// Copyright 2017 plutoo
|
||||||
#include "types.h"
|
#include "types.h"
|
||||||
#include "result.h"
|
#include "result.h"
|
||||||
#include "ipc.h"
|
#include "kernel/ipc.h"
|
||||||
#include "services/pm.h"
|
#include "services/pm.h"
|
||||||
#include "services/sm.h"
|
#include "services/sm.h"
|
||||||
|
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
*/
|
*/
|
||||||
#include "types.h"
|
#include "types.h"
|
||||||
#include "result.h"
|
#include "result.h"
|
||||||
#include "ipc.h"
|
#include "kernel/ipc.h"
|
||||||
#include "kernel/detect.h"
|
#include "kernel/detect.h"
|
||||||
#include "services/set.h"
|
#include "services/set.h"
|
||||||
#include "services/sm.h"
|
#include "services/sm.h"
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#include "types.h"
|
#include "types.h"
|
||||||
#include "result.h"
|
#include "result.h"
|
||||||
#include "ipc.h"
|
#include "kernel/ipc.h"
|
||||||
#include "services/sm.h"
|
#include "services/sm.h"
|
||||||
#include "services/sfdnsres.h"
|
#include "services/sfdnsres.h"
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
// Copyright 2017 plutoo
|
// Copyright 2017 plutoo
|
||||||
#include "types.h"
|
#include "types.h"
|
||||||
#include "result.h"
|
#include "result.h"
|
||||||
#include "ipc.h"
|
#include "kernel/ipc.h"
|
||||||
#include "services/fatal.h"
|
#include "services/fatal.h"
|
||||||
#include "services/sm.h"
|
#include "services/sm.h"
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include "types.h"
|
#include "types.h"
|
||||||
#include "result.h"
|
#include "result.h"
|
||||||
#include "ipc.h"
|
#include "kernel/ipc.h"
|
||||||
#include "services/time.h"
|
#include "services/time.h"
|
||||||
#include "services/sm.h"
|
#include "services/sm.h"
|
||||||
|
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include "types.h"
|
#include "types.h"
|
||||||
#include "result.h"
|
#include "result.h"
|
||||||
#include "ipc.h"
|
|
||||||
#include "arm/cache.h"
|
#include "arm/cache.h"
|
||||||
|
#include "kernel/ipc.h"
|
||||||
#include "kernel/detect.h"
|
#include "kernel/detect.h"
|
||||||
#include "services/usb.h"
|
#include "services/usb.h"
|
||||||
#include "services/sm.h"
|
#include "services/sm.h"
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include "types.h"
|
#include "types.h"
|
||||||
#include "result.h"
|
#include "result.h"
|
||||||
#include "ipc.h"
|
|
||||||
#include "services/applet.h"
|
#include "services/applet.h"
|
||||||
#include "services/vi.h"
|
#include "services/vi.h"
|
||||||
|
#include "kernel/ipc.h"
|
||||||
#include "kernel/detect.h"
|
#include "kernel/detect.h"
|
||||||
|
|
||||||
static Service g_viSrv;
|
static Service g_viSrv;
|
||||||
|
Loading…
Reference in New Issue
Block a user