added initial modules for setting up SysCall HLE
This commit is contained in:
parent
fccbfc208c
commit
f68de21ad1
7 changed files with 862 additions and 0 deletions
42
src/core/hle/hle_syscall.h
Normal file
42
src/core/hle/hle_syscall.h
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
// Copyright 2014 Citra Emulator Project
|
||||
// Licensed under GPLv2
|
||||
// Refer to the license.txt file included.
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "common/common_types.h"
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
//template <class T>
|
||||
//class KernelObject {
|
||||
//public:
|
||||
// virtual ~KernelObject() {}
|
||||
//
|
||||
// T GetNative() const {
|
||||
// return m_native;
|
||||
// }
|
||||
//
|
||||
// void SetNative(const T& native) {
|
||||
// m_native = native;
|
||||
// }
|
||||
//
|
||||
// virtual const char *GetTypeName() {return "[BAD KERNEL OBJECT TYPE]";}
|
||||
// virtual const char *GetName() {return "[UNKNOWN KERNEL OBJECT]";}
|
||||
//
|
||||
//private:
|
||||
// T m_native;
|
||||
//};
|
||||
|
||||
//class Handle : public KernelObject<u32> {
|
||||
// const char* GetTypeName() {
|
||||
// return "Handle";
|
||||
// }
|
||||
//};
|
||||
|
||||
|
||||
typedef u32 Handle;
|
||||
typedef s32 Result;
|
||||
|
||||
|
||||
Result ConnectToPort(Handle* out, const char* port_name);
|
||||
Loading…
Add table
Add a link
Reference in a new issue