Commit Graph

1570 Commits

Author SHA1 Message Date
TuxSH
757aa30e74 meso: Implement KObjectRegistry 2019-06-03 17:41:09 -07:00
TuxSH
fb4e0988b9 meso: KServerPort dtor 2019-06-03 17:41:09 -07:00
TuxSH
ad879ca327 meso: Implement ConnectLight 2019-06-03 17:41:08 -07:00
TuxSH
efe7325af3 meso: impl AddServerSession 2019-06-03 17:41:08 -07:00
TuxSH
173bde2eca meso: KPort mini skeleton 2019-06-03 17:41:08 -07:00
TuxSH
acf32f841c meso: Implement LightSession functions 2019-06-03 17:41:08 -07:00
TuxSH
be3550d382 meso: Implement KLightServerSession dtor 2019-06-03 17:41:08 -07:00
TuxSH
9c8f818c29 meso: add KLightSession skeleton, remove KBaseSession 2019-06-03 17:41:08 -07:00
TuxSH
eb7e4153d1 meso: use macro to refactor auto obj declaration 2019-06-03 17:41:08 -07:00
TuxSH
86c43331eb meso: KBaseSession 2019-06-03 17:41:08 -07:00
TuxSH
baa34ddab5 meso: same thing for KEvent 2019-06-03 17:41:07 -07:00
TuxSH
d9c97983a3 meso: Client/server ifaces: use friendship 2019-06-03 17:41:07 -07:00
TuxSH
b6bbc4f3e5 arm64.hpp => arch.hpp, add GetCurrentCoreContextInstance 2019-06-03 17:41:07 -07:00
TuxSH
195da2e599 Remove IServer client ref 2019-06-03 17:41:07 -07:00
TuxSH
1b3b26c3af Fix KEvent resource acquision timeout 2019-06-03 17:41:06 -07:00
TuxSH
0fb40d1ef5 Implement KCriticalSection (mostly) 2019-06-03 17:41:06 -07:00
TuxSH
4238d2e97f Add KInterruptSpinLock, which is what is really used in the official kernel 2019-06-03 17:41:06 -07:00
TuxSH
7b726c3184 Add KInterruptBottomHalfGuard 2019-06-03 17:41:05 -07:00
TuxSH
40b860c239 Removing useless func IsAlive, since it's handled by ISetAllocated 2019-06-03 17:41:05 -07:00
TuxSH
5222b429c5 Add KInterruptEvent skeleton; remove useless funcs 2019-06-03 17:41:05 -07:00
TuxSH
2949d08eb2 Add static assers to token generation 2019-06-03 17:41:05 -07:00
TuxSH
6d898acc98 Fix make_object 2019-06-03 17:41:04 -07:00
TuxSH
f72836d72c Fix GenerateClassToken 2019-06-03 17:41:04 -07:00
TuxSH
65b20d0685 Better solution for latest commit 2019-06-03 17:41:04 -07:00
TuxSH
d4241fd8ef Add operator new/delete in IClient/IServer 2019-06-03 17:41:04 -07:00
TuxSH
504c74bc57 Fix build issues in make_object; fix linkage issues 2019-06-03 17:41:04 -07:00
TuxSH
c47a9931d9 Handle table fixes & additions to makeobject 2019-06-03 17:41:04 -07:00
TuxSH
4a1021f220 Do the same for ILimitedResource; fix handle table def, for the moment 2019-06-03 17:41:04 -07:00
TuxSH
ac6762bb6c Add more reflexivity to client/server interfaces 2019-06-03 17:41:04 -07:00
TuxSH
e2d8316401 Fix KCondition variable; add timeout parameter to ILimitableResource 2019-06-03 17:41:03 -07:00
Michael Scire
0a0c05481e mesosphere: Result{} => Result() 2019-06-03 17:41:03 -07:00
TuxSH
cd1f74154d Use scoped_lock, etc 2019-06-03 17:41:03 -07:00
TuxSH
698fa9fcb0 Write KEvent::Initialize, fix build issues 2019-06-03 17:41:03 -07:00
Michael Scire
a4419dfc41 mesosphere: Skeleton K(Readable/Writable)Event 2019-06-03 17:41:03 -07:00
Michael Scire
600afa5f0f mesosphere: Add convenience KScopedCriticalSection 2019-06-03 17:41:03 -07:00
Michael Scire
9b1fb0c6df mesosphere: KSync->Signal() -> KSync->NotifyWaiters 2019-06-03 17:41:02 -07:00
Michael Scire
08970a82ea mesosphere: ResultNotPermitted -> ResultInvalidState 2019-06-03 17:41:02 -07:00
TuxSH
a035be66bd Rename initialize for client/server/parent 2019-06-03 17:41:02 -07:00
TuxSH
9318ab10b2 Add Client/Server interfaces 2019-06-03 17:41:02 -07:00
TuxSH
dffb233423 Add KThread::StackParameters 2019-06-03 17:41:02 -07:00
TuxSH
e57203a7d4 Implement WaitSynchronization 2019-06-03 17:41:02 -07:00
TuxSH
7fde5fbe40 Implement KSynchronizationObject 2019-06-03 17:41:02 -07:00
TuxSH
1684e1d35c Move KAutoObject.hpp to core/ 2019-06-03 17:41:01 -07:00
Michael Scire
edcd4cbc26 Result: Refactor to have compiletime defs 2019-06-03 17:41:01 -07:00
TuxSH
be17f1f494 Make Result produce the same code as Nintendo's 2019-06-03 17:41:01 -07:00
TuxSH
672204c993 Put handle in its own file & fix it 2019-06-03 17:41:01 -07:00
TuxSH
6166262b5c Fix build issues 2019-06-03 17:41:00 -07:00
TuxSH
b492096aed Add Result.hpp 2019-06-03 17:41:00 -07:00
TuxSH
cfeebbd1c9 Fix KLinkedList; make it work even with strict aliasing 2019-06-03 17:41:00 -07:00
TuxSH
4078c9a07d Implement KLinkedList; untested 2019-06-03 17:41:00 -07:00