Move ipc.h to kernel/

This commit is contained in:
plutoo 2018-03-10 14:03:29 +01:00
parent 11c77cb654
commit d12e99e3ad
21 changed files with 29 additions and 29 deletions

View File

@ -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"

View File

@ -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 {

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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;

View File

@ -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;

View File

@ -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"

View File

@ -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"

View File

@ -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;

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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;