Michael Scire
c542e49ae9
dmnt2: try to avoid writing out of bounds when generating packets
2021-11-03 23:59:56 -07:00
Michael Scire
54783b86f1
dmnt2: detect thread name, add monitor get mapping(s), increase buffer sizes
2021-11-03 23:59:55 -07:00
Michael Scire
1c7ae0d066
kern/dmnt2: allow retrieval of process info via extension
...
This also fixes ctrl-c break in gdbstub, and fixes crash on unknown monitor cmd.
2021-11-03 23:59:54 -07:00
Michael Scire
cfb192e8a2
dmnt: enable experimental standalone usage of gdbstub, while starlink is in dev
2021-11-03 23:59:53 -07:00
Michael Scire
bb16bb0d8d
ams: update for awareness of architecture revision
2021-11-03 23:59:53 -07:00
Léo Lam
12d0ba172f
util/string_view: fix nonnull attribute argument number
...
Argument 1 is the this pointer, not the string.
2021-11-02 17:19:35 -07:00
Michael Scire
ceff2f3712
spl: fix legacy physical keyslot compatibility
2021-10-30 11:21:36 -07:00
Michael Scire
4d0f1b7924
ams: bump version to 1.2.2
2021-10-29 17:47:14 -07:00
Michael Scire
f8e294d6fc
sprofile: various correctness fixes.
2021-10-29 17:47:14 -07:00
Michael Scire
9cc867eb21
sprofile: fix off-by-one in struct definition, fix GetImportableProfileUrls
2021-10-29 17:47:14 -07:00
Michael Scire
17ceca9140
kern: fix minor assembly bugs, avoid unnecessary function call in KScheduler hotloop
2021-10-29 17:47:13 -07:00
Michael Scire
e5756ca0b0
kern: fix 32-bit light ipc svc handler asm
...
Nintendo used to do what we were doing because the function wasn't directly in the handler table,
but we've always been directly in the handler table, so we were trashing the last four arguments to light ipc
when called from aarch32. Nothing uses this, but needed to be fixed.
2021-10-29 17:47:13 -07:00
Michael Scire
0a0bd74ca2
init: disable fsdev cwd to prevent abort on fsdev usage (fsdev should not be used)
2021-10-27 22:57:18 -07:00
Michael Scire
cb7f4e7757
kern: optimize and bring into line with N our pstate.i management
2021-10-27 22:57:18 -07:00
Michael Scire
610e99b277
kern: audit (and fix) our hardware maintenance instructions to match official kernel
2021-10-27 22:57:18 -07:00
Michael Scire
13c6987cc4
ams: bump version to 1.2.1
2021-10-26 01:11:19 -07:00
Michael Scire
f68bae342c
sprof: update for 13.1.0 (format version 1)
2021-10-26 01:11:19 -07:00
Michael Scire
a0f0dc3ba1
crypto: implement md5, which now used by sprof
2021-10-26 01:11:19 -07:00
Michael Scire
695a99183b
kern: other dmbs in kernel were already dmb ish
2021-10-26 01:11:19 -07:00
Michael Scire
dfba6af22c
kern: implement 13.1.0 kernel changes
2021-10-26 01:11:18 -07:00
Michael Scire
8cc1c43ba4
kern: simplify random bitmap selection to match latest Nintendo logic
2021-10-26 01:11:18 -07:00
Michael Scire
3304c91dae
kern: add (and use) generic KSystemControlBase
2021-10-26 01:11:18 -07:00
Michael Scire
d71b86281a
hos: whoops
2021-10-26 01:11:17 -07:00
Michael Scire
1c768fe276
hos: better safe than sorry
2021-10-26 01:11:17 -07:00
Michael Scire
358cd4d95f
hos: allow turning off ams extension hard-reqs for unit testing
2021-10-26 01:11:17 -07:00
Michael Scire
de5b6169d6
kern: add toggleable support for 40-bit physaddr caps
2021-10-26 01:11:17 -07:00
Michael Scire
2eab77fe5a
util: add trait/macro for is_constexpr_constructible
2021-10-26 01:11:17 -07:00
Michael Scire
194e58a3e3
kern/test: add wip qemu-virt board support to mesosphere
2021-10-26 01:11:16 -07:00
Michael Scire
5f0eb19a41
kernel_ldr: bring initial cache flush in line with Nintendo
2021-10-26 01:11:16 -07:00
Michael Scire
38a4dadd9e
kern: reflect nintendo cache management behavior for initial processes
2021-10-26 01:11:16 -07:00
Michael Scire
1713d12946
kern: devirtualize KReadableEvent::Reset, KWorkerTask::DoWorkerTask
2021-10-26 01:11:15 -07:00
Michael Scire
3852d02696
kern: enable lto for global instants (saves about a page in deduplicated code)
2021-10-26 01:11:15 -07:00
Michael Scire
5217e6b9f3
kern: devirtualize KAutoObjectWithList::GetId()
2021-10-26 01:11:15 -07:00
Michael Scire
4aefb1163c
kern: fix reorder-init in KHandleTable
2021-10-26 01:11:15 -07:00
Michael Scire
62bdae5b3f
kern: devirtualize most things that are free to devirtualize (see #1672 )
2021-10-26 01:11:15 -07:00
Michael Scire
8f761e928c
kern: optimize timespan -> tick codegen, improve .text layout
2021-10-26 01:11:14 -07:00
Michael Scire
6dbdfa0384
kern: use optimized red black tree finds for remaining holdouts
2021-10-26 01:11:14 -07:00
Michael Scire
7749ecabc4
kern: devirtualize several KAutoObject functions
2021-10-26 01:11:14 -07:00
Michael Scire
89f01cb068
kern: KCacheHelper: better reflect nintendo coremask clearing logic
2021-10-26 01:11:14 -07:00
Michael Scire
d3ad53a525
kern: devirtualize remaining vcall for class token/dyncast
2021-10-26 01:11:13 -07:00
SciresM
823c0df6b9
kern: avoid constexpr init for many objects (avoids unnecessary memory clear) ( #1668 )
2021-10-26 01:11:13 -07:00
Michael Scire
00353a05e9
kern: use new AtomicRef, use Atomic<bool>
2021-10-26 01:11:13 -07:00
Michael Scire
0d1ec0739f
util: better match true std::atomic semantics
2021-10-26 01:11:13 -07:00
Michael Scire
d3b358bbb9
kern/util: use custom atomics wrapper to substantially improve codegen
2021-10-26 01:11:12 -07:00
Michael Scire
6f9d5ecd0d
kern: use 13.0.0 revised KLightLock logic
2021-10-26 01:11:12 -07:00
Michael Scire
c77900d598
kern: fix capability check for thread priorities
2021-10-26 01:11:12 -07:00
Michael Scire
d9d6d52575
kern: remove spurious assertion
2021-10-26 01:11:12 -07:00
Michael Scire
573769303b
kern: update scheduler for 13.0.0 change, fix some ctz/clz bugs
2021-10-26 01:11:11 -07:00
Michael Scire
2827f6300e
kern: fix use of plr vs plr_heap, fix close/unlock order in ArbitrateLock
2021-10-26 01:11:11 -07:00
Michael Scire
87e4f1b896
ams-libs: move -Wno-invalid-offsetof to cxxflags, not cflags
2021-10-26 01:11:11 -07:00