Michael Scire
99521b37ab
ams-libs: use nintendo_nx identifier for source file compat bpmp<->ccplex
2021-10-26 01:11:11 -07:00
Michael Scire
ea0de678ac
lr: fix EraseRedirection hang introduced by refactoring
2021-10-26 01:11:11 -07:00
Michael Scire
960c5c19f9
ams: improve offsetof style consistency
2021-10-26 01:11:10 -07:00
Michael Scire
191d2941b5
util: improve (and use) offsetof that's """standard compliant"""
2021-10-26 01:11:10 -07:00
Michael Scire
21cb300537
constexpr: resign ourselves to gcc dropping void -> T support
2021-10-26 01:11:10 -07:00
Michael Scire
e9c82af25f
kern: remove need for explicit reserved member in KAutoObject
2021-10-26 01:11:10 -07:00
Michael Scire
f8d59254cf
kern: devirtualize KAutoObject::DynamicCast<>()
...
This is an optimization that saves the most common type of virtual call in the kernel (DynamicCast)
by storing class token as a member, rather than getting it via virtual call every time.
This does not currently cost any memory space on 64-bit targets, due to pre-existing padding space.
This optimization can be turned off via a compile-time flag for accuracy.
2021-10-26 01:11:09 -07:00
Michael Scire
05c7ba6439
kern/util: update structure layouts to match Nintendo (saves 0x10 per KThread/KSession)
2021-10-26 01:11:09 -07:00
Michael Scire
d5ea59d8f8
powctl: remove unused arm_neon header after last commit
2021-10-26 01:11:09 -07:00
Michael Scire
6da57eff75
powctl: don't require arm64 arch for floating -> fixed conversion
2021-10-26 01:11:09 -07:00
Michael Scire
cf765c0946
tipc: implement special-case templating used by 13.0.0 pgl
2021-10-15 23:54:40 -07:00
Michael Scire
0238bdf65b
tipc: enable named-thread dispatch
2021-10-15 23:54:40 -07:00
Michael Scire
dbd0b13002
boot: update for 13.0.0/aula parameter changes ( closes #1477 )
2021-10-15 23:54:40 -07:00
Michael Scire
17bf5ee002
powctl: integrate 13.0.0 changes (aula params not done yet)
2021-10-15 23:54:40 -07:00
Michael Scire
68e9f7c853
strat: fix some mitm server management logic
2021-10-15 23:54:39 -07:00
Michael Scire
56222786c6
tipc/sm: update more fully for 13.0.0 changes
2021-10-15 23:54:39 -07:00
Michael Scire
15f27d59df
tipc: add additional logic from 13.0.0
2021-10-15 23:54:39 -07:00
Michael Scire
15b3f9545f
sm/tipc: minor cleanup
2021-10-15 23:54:39 -07:00
Michael Scire
02c1d19605
strat: don't force fs globals to link into every process
2021-10-15 23:54:38 -07:00
Michael Scire
a9322a7245
sf: prevent emitting mitm/defer code unless server in process supports it
2021-10-15 23:54:38 -07:00
Michael Scire
96190af3dc
util: fix consteval CountTrailingZeroes impl
2021-10-15 23:54:38 -07:00
Michael Scire
3744ee6fff
ams: bump api verrsion pre-emptively to 1.2.0
2021-10-15 23:54:37 -07:00
Michael Scire
3bef5b7d5a
ams: allow bootloader to merely approximate correct target firmware
2021-10-15 23:54:37 -07:00
Michael Scire
774622d93f
loader: refactor to remove fake namespaces
2021-10-15 23:54:36 -07:00
Michael Scire
3218308524
loader: refactor ro manager/improve accuracy
2021-10-15 23:54:36 -07:00
Michael Scire
0abb1e474e
spl: refactor for accuracy/move into libstrat
2021-10-15 23:54:36 -07:00
Michael Scire
11e9dcfe11
os: add FlushDataCache
2021-10-15 23:54:36 -07:00
Michael Scire
3e33fb6361
strat: use m_ for member variables
2021-10-15 23:54:35 -07:00
Michael Scire
5872a51c18
svc: use m_ for member variables
2021-10-15 23:54:35 -07:00
Michael Scire
bb1a22a631
sdmmc: use m_ for member variables
2021-10-15 23:54:35 -07:00
Michael Scire
65e89cf1b8
kern: fix some lingering non-m_ member variables
2021-10-15 23:54:35 -07:00
Michael Scire
116e41f790
exo/vapours: refactor member variables to m_ over this->
2021-10-15 23:54:34 -07:00
Michael Scire
af55ad6e67
libstrat: remove lingering debugging edits
2021-10-15 23:54:34 -07:00
Michael Scire
3b5f56ab9f
ams: replace most remaining operator & with std::addressof
2021-10-15 23:54:34 -07:00
Michael Scire
02e98d84d7
settings: fix correctness issue in LazyFileAccessor
2021-10-15 23:54:34 -07:00
Michael Scire
5c32ec11ea
strat: refactor address taking of form &var[...]
2021-10-15 23:54:34 -07:00
Michael Scire
e2df2f98a3
strat: always use explicit result namespacing
2021-10-15 23:54:33 -07:00
Adubbz
ea0bb620f2
settings: implement KeyValueStore ( #1659 )
...
* settings: implement KeyValueStore and dependencies
* settings: update KeyValueStore for recent refactoring
* settings: address feedback
2021-10-15 23:54:33 -07:00
Michael Scire
f6c9839eae
kern: tidy up capability calc
2021-10-15 23:54:32 -07:00
Michael Scire
0a4c2759a1
os: fix mutex push/pop prototypes
2021-10-07 23:38:32 -07:00
Michael Scire
80d72af9f3
cs: prevent exceptions from manifesting
2021-10-07 23:06:30 -07:00
Michael Scire
3fcc3c8e72
boot: save 12KB
2021-10-07 23:06:29 -07:00
Michael Scire
c3583b8604
erpt: save 8KB
2021-10-07 23:06:29 -07:00
Michael Scire
2905319d46
strat: use ams::Main() instead of main(argc, argv)
2021-10-07 23:06:29 -07:00
Michael Scire
8a8631ebcb
strat: build sysmodules with -Wextra/-Werror
2021-10-07 23:06:29 -07:00
Michael Scire
843dc8e521
libstrat: fix compilation without pre-compiled header/without lto
2021-10-07 23:06:28 -07:00
Michael Scire
fd1b6d4578
libstrat: enable -Wextra, -Werror
...
This caught an embarrassingly large number of bugs.
2021-10-07 23:06:28 -07:00
Michael Scire
408173da12
os: fix MapTransferMemory output not being set
2021-10-07 23:06:28 -07:00
Michael Scire
390ce66da1
svc: refactor/rename MemoryInfo fields
2021-10-07 23:06:28 -07:00
Michael Scire
782e449543
strat: remove map namespace, svc: add address space defs
2021-10-07 23:06:27 -07:00