86 Commits

Author SHA1 Message Date
Michael Scire fd9378754d Fix asm error in svcGetResourceLimit*Value 2018-05-09 02:32:44 +02:00
Michael Scire ef47389228 Implement svcMap/UnmapPhysicalMemory(Unsafe), svcSetUnsafeLimit 2018-05-07 14:03:27 +02:00
SciresM 0ac5743c1f Add ResourceLimit SVCs, svcGetProcessInfo (#76) 2018-05-04 00:59:17 +02:00
hexkyz b2b8e1ec67 Implement more SVCs (#74)
Implement svcSetThreadPriority.
Implement svcGetCurrentProcessorNumber.
Implement svcSignalEvent.
Implement svcSendSyncRequestWithUserBuffer.
Implement svcSendAsyncRequestWithUserBuffer.
Implement svcGetThreadId.
Implement svcReplyAndReceiveWithUserBuffer.
Implement svcCreateEvent.
Implement svcReadWriteRegister.
Implement svcCreateInterruptEvent.
Implement svcMapDeviceAddressSpaceByForce.
Implement svcTerminateProcess.
Fix svcMapDeviceAddressSpaceAligned.
Fix svcUnmapDeviceAddressSpace.
2018-04-30 00:43:52 +02:00
SciresM d5bce6b0a6 Implement svcCreatePort. (#73)
* Implement svcCreatePort
* Implement svcConnectToPort
* Implement svcUnmapProcessMemory
* Implement svcGetSystemInfo
2018-04-24 18:33:46 -04:00
plutoo d604976f08 Derp 2018-03-23 19:04:26 +01:00
plutoo 6c72bf8273 Detect 5.0.0 properly 2018-03-23 19:01:09 +01:00
plutoo e112ab6968 Fix ipc session close race properly 2018-03-11 13:21:36 +01:00
plutoo e162da18ff Fix race condition in tmem 2018-03-10 21:03:31 +01:00
yellows8 f7335b7ae5 Only clear allocated tmem when alloc was successful. 2018-03-01 22:57:44 -05:00
yellows8 20a549b46b Clear allocated tmem. 2018-03-01 22:55:17 -05:00
plutoo 20f3e87d11 Change type of TryLock to bool 2018-02-28 18:22:28 +01:00
Jules Blok e966f21800 mutex: Add TryLock() variants. 2018-02-28 18:00:03 +01:00
plutoo 842ce50c2f Condvar fix 2018-02-21 03:05:15 +01:00
fincs 521bc1c5c9 Document kernel/condvar.h 2018-02-10 22:40:11 +01:00
fincs cde9d05c80 Optimize/fix several things in svc.s 2018-02-10 22:40:11 +01:00
fincs c20d372946 Clean up types.h:
- Move Permission to kernel/svc.h (also fix enum naming)
- Add s128, vu128, vs128
- voidfn -> VoidFn
2018-02-10 22:40:11 +01:00
fincs 41da28eb5c Document kernel/: shmem.h, thread.h, tmem.h, virtmem.h 2018-02-10 22:40:11 +01:00
fincs cbd367c8a0 Document kernel/: detect.h, jit.h, mutex.h, random.h, rwlock.h 2018-02-10 22:40:11 +01:00
plutoo 75003f40f1 Add some syscalls 2018-02-01 22:04:37 +01:00
plutoo b2810ab38d Condvar stylefix 2018-01-31 02:22:28 +01:00
plutoo c7213b119b Condvar bugfix 2018-01-31 02:14:01 +01:00
plutoo 000a7f05c9 Experimental implementation of condvars 2018-01-30 22:39:02 +01:00
Lioncash b637276c48 Silence a few missing prototype warnings 2018-01-28 01:03:56 +01:00
plutoo 340266502a Cache management for jit 2018-01-22 21:06:53 +01:00