Commit graph

1555 commits

Author SHA1 Message Date
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
TuxSH
ed982877bd Remove bugous MLQ reverse iterator 2019-06-03 17:41:00 -07:00
TuxSH
745fa84e5e Add mesosphere (VERY VERY WIP) 2019-06-03 17:41:00 -07:00
Michael Scire
50e307b4b7 Update for latest libnx 2019-06-03 12:19:05 -07:00
SciresM
4387da1ecc
Add licensing exemption for yuzu. 2019-05-30 18:20:24 -07:00
Michael Scire
d6502c174a pm: actually implement GetBootFinishedEvent 2019-05-27 21:52:28 -07:00
Michael Scire
f38965d0bd dmnt: implement debug log opcode 2019-05-27 18:44:09 -07:00
SciresM
c2cb94062a
Merge pull request #548 from Thog/feature/creport-32-stack-frames
creport: Add 32 bits stack frames parsing support
2019-05-27 18:11:10 -07:00
Michael Scire
cfa050cc8f dmnt: explicitly reserve double-extended width opcodes 2019-05-27 18:10:49 -07:00
Thomas Guillemard
bbcb3757bd
Address comment 2019-05-28 00:26:56 +02:00
Thomas Guillemard
a33ace8996
creport: Add 32 bits stack frames parsing support
Also fix FP, SP and LR registers being set wrongly by svcGetDebugThreadParam for 32 bits processes.
2019-05-28 00:18:10 +02:00
Michael Scire
766097d0b7 creport: dump tls/name on crash (closes #310) 2019-05-25 13:33:33 -07:00
SciresM
5f5a8567ce
docs: remove nonsense from thermo (closes #296) 2019-05-23 15:42:43 -07:00
Michael Scire
7dbe61c94c docs: mention we don't do smhax (closes #303) 2019-05-23 12:25:03 -07:00
Michael Scire
422dce6974 ams: bump version to 0.8.10 2019-05-22 12:30:37 -07:00
Michael Scire
1d429261e9 Add 0.8.10 changelog ahead of release. 2019-05-22 12:30:01 -07:00