Commit Graph

54 Commits

Author SHA1 Message Date
Michael Scire
3b5f56ab9f ams: replace most remaining operator & with std::addressof 2021-10-15 23:54:34 -07:00
Michael Scire
002422d5dc ams: the copyright^H^H^H^H^H^H^Hmplex plane is the algebraic closure of the reals 2021-10-07 23:06:25 -07:00
Michael Scire
993ffbfdcd kern: unify all waiting semantics to use single api 2021-09-19 10:35:39 -07:00
Michael Scire
d8e35f2277 exo/meso: update for gcc 11 compatibility 2021-04-29 03:04:54 -07:00
Michael Scire
0162133f1e kern: update pinning semantics for terminating threads 2021-04-11 03:59:19 -07:00
Michael Scire
7c35303c62 kern: KAutoObject destruction is now scheduled for next dpc-time 2021-04-11 03:59:16 -07:00
Michael Scire
ec7e3fb07f kern: update process/thread for new running/termination semantics 2021-04-11 03:59:10 -07:00
Michael Scire
d31612974a kern: update kernel waiter management rules 2021-04-11 03:59:09 -07:00
Michael Scire
f11f6ec313 kern: update pinned thread priority rules 2021-04-11 03:59:09 -07:00
Michael Scire
e40ccfb4ca kern: add new checks to SetThreadPriority/CoreMask 2021-04-11 03:59:08 -07:00
Michael Scire
ca5e69f16d kern: greatly improve codegen for atomics, scheduler 2021-01-13 10:41:26 -08:00
Michael Scire
4ddacf3384 kern: refactor to use m_ for member variables 2020-12-19 10:21:52 -08:00
Michael Scire
a7b7dd1257 kern: add debug thread dump 2020-12-11 03:49:00 -08:00
Michael Scire
9d51004a9b kern: fix bugs caused by UB + transition to -Os 2020-12-02 06:53:19 -08:00
Michael Scire
0eb6e0a963 kern: add new overflow checks on KMemoryRegions 2020-12-02 06:53:17 -08:00
Michael Scire
e4774a2685 kern: implement 64-virtual-core interface 2020-12-02 06:53:15 -08:00
Michael Scire
a57c7f7a48 kern: cleanup KThread, optimize/normalize KThreadQueue/KWaitObject 2020-12-02 06:53:14 -08:00
Michael Scire
a01f7ab1c9 kern: improve KSynchronizationObject, kill KSynchronization 2020-12-02 06:53:14 -08:00
Michael Scire
0c73792282 kern: Kill KCoreLocalRegion 2020-12-02 06:53:12 -08:00
Michael Scire
1007d8756a kern: correct thread termination atomicity 2020-09-07 10:51:44 -07:00
Michael Scire
6f177e3e84 kern: fix missing scheduler updates in KLightLock/Exception, fix RequestScheduleOnInterrupt 2020-09-07 10:51:38 -07:00
Michael Scire
ff9d3ee1d6 kern: SvcGetDebugThreadParam 2020-08-01 15:31:45 -07:00
Michael Scire
bb044b1934 kern: clean up majority of TODOs 2020-08-01 15:31:44 -07:00
Michael Scire
83020ce2c4 kern: SvcGetThreadList 2020-08-01 15:31:41 -07:00
Michael Scire
e8021705d8 kern: SendSyncRequestLight, ReplyAndReceiveLight 2020-08-01 15:31:37 -07:00
Michael Scire
c64e490663 kern: implement SvcGetThreadContext3 2020-08-01 15:31:35 -07:00
Michael Scire
2cee81697c kern: correct behavior when setting activity/core mask for pinned thread 2020-08-01 15:31:35 -07:00
Michael Scire
be1314cb88 kern: implement thread pinning/SvcSynchronizePreemptionState 2020-08-01 15:31:34 -07:00
Michael Scire
e096d11e3a kern: fix assertion in KThread::(Try)Suspend 2020-08-01 15:31:33 -07:00
Michael Scire
10415aefee kern: SvcUnmapPhysicalMemory, cleanup thread pinning 2020-08-01 15:31:31 -07:00
Michael Scire
4c5bab3a5b kern: fix resource leak bugs 2020-08-01 15:31:29 -07:00
Michael Scire
600a069f00 kern SvcGetCurrentProcessorNumber, SvcSetProcessActivity, half of SvcSetThreadActivity 2020-08-01 15:31:29 -07:00
Michael Scire
bfca682c3f kern: SvcGetThreadCoreMask, SvcSetThreadCoreMask 2020-08-01 15:31:28 -07:00
Michael Scire
670824fa0a kern: implement process exit 2020-08-01 15:31:27 -07:00
Michael Scire
4b3fb40ed9 kern: implement KThread::Finalize 2020-08-01 15:31:24 -07:00
Michael Scire
e30c8b6ac8 kern: implement SvcCancelSynchronization 2020-08-01 15:31:22 -07:00
Michael Scire
80f8b8b9b0 kern: fix bug in SvcSetThreadPriority 2020-08-01 15:31:21 -07:00
Michael Scire
811cf0768a kern: add KAddressArbiter::WaitIfEqual 2020-08-01 15:31:19 -07:00
Michael Scire
d5310407ad kern: implement SvcSleepThread for ns > 0 2020-08-01 15:31:08 -07:00
Michael Scire
9fdf063039 kern: mostly implement thread exit 2020-08-01 15:31:07 -07:00
Michael Scire
3c8d569f0a kern: mem access prep for svc streams, TODO_IMPLEMENT -> UNIMPLEMENTED 2020-03-02 19:51:02 -08:00
Michael Scire
79b9793fcd kern: minor fixes to prevent core0-2 panics during boot 2020-03-02 19:51:01 -08:00
Michael Scire
fb23bfc77f kern: implement unsuspension of init threads 2020-03-02 19:51:00 -08:00
Michael Scire
cba973f859 kern: implement KProcess::Run 2020-03-02 19:51:00 -08:00
Michael Scire
375d5ecd08 kern: add KProcess members 2020-03-02 19:50:58 -08:00
Michael Scire
a599e2f892 kern: implement smmu init 2020-03-02 19:50:57 -08:00
Michael Scire
b550f2c3cd kern: implement lightlock slowpath (works on hw) 2020-03-02 19:50:56 -08:00
Michael Scire
f2b38254d3 kern: implement enough of KPageTable to initialize a thread 2020-03-02 19:50:55 -08:00
Michael Scire
c3a76103b6 mesosphere: hard enforcement of TODOs 2020-03-02 19:50:52 -08:00
Michael Scire
6930294583 kern: implement dpc + skeleton rest of main 2020-03-02 19:50:51 -08:00