Michael Scire
c5d7ca5159
fusee/exo: implement the usual changes for new firmware support
2023-10-12 08:55:58 -07:00
Michael Scire
6d0bf70783
kern: fix assert usage in process load
2023-10-12 08:55:58 -07:00
Michael Scire
aba6ca7329
kern: bump supported version to 17.x
2023-10-12 08:55:58 -07:00
Michael Scire
06a840e550
kern: fix operation type enum-value whoops
2023-10-12 08:55:58 -07:00
Michael Scire
11c02e22e0
kern: implement support for applying relr relocations
2023-10-12 08:55:58 -07:00
Michael Scire
f93aea4c06
kern: split Process/Thread exit to separate WorkerTaskManagers
2023-10-12 08:55:58 -07:00
Michael Scire
4ddfb6183c
kern: split out GetInstructionDataUserMode in exception handler
2023-10-12 08:55:58 -07:00
Michael Scire
3737151a2f
kern: Add special-case for InvalidateProcessDataCache on current process
2023-10-12 08:55:58 -07:00
Michael Scire
2a4d68f916
kern: KPageTable: remove MapFirst operation, replace with MapFirstGroup
2023-10-12 08:55:58 -07:00
Michael Scire
7b523cfc8d
kern: note OnFinalize calls in KPageTable::Finalize
2023-10-12 08:55:58 -07:00
Michael Scire
39a95d4023
kern: implement new default application system resource field in KProcess
2023-10-12 08:55:58 -07:00
Michael Scire
2c5002ce50
kern: update KMemoryRegionType values for new ids + SecureUnknown region
2023-10-12 08:55:58 -07:00
Michael Scire
b7384a8667
kern: KSupervisorPageTable now checks wxn instead of setting it
2023-10-12 08:55:58 -07:00
Michael Scire
85b5f20395
kern: KPageTable::Initialize no longer takes unused process id
2023-10-12 08:55:58 -07:00
Michael Scire
ad5bd81d3f
kern: implement PermissionLock, update KPageTableBase attribute/alignment checks
2023-10-12 08:55:58 -07:00
Michael Scire
777b6d285c
kern: KPageTableBase::CheckMemoryState now invokes a helper
2023-10-12 08:55:58 -07:00
Michael Scire
ae2c25e9c8
kern: update KMemoryState, remove bijection (separate IoRegister/IoMemory)
2023-10-12 08:55:58 -07:00
Michael Scire
3b8f65d502
kern: update initial process load logic to do per-segment mapping/decompression
2023-10-12 08:55:58 -07:00
Michael Scire
cfd2d5b012
kern: clear new pages in init page allocator, not init page table
2023-10-12 08:55:58 -07:00
Michael Scire
c72ba35684
kern: add speculation barriers after eret
2023-10-12 08:55:58 -07:00
Michael Scire
ec96203cb7
kern: remove unnecessary fields from InitArgs (0x80 -> 0x40)
2023-10-12 08:55:58 -07:00
Michael Scire
0daef4a6e8
kern/ldr: move crt0 into .rodata
2023-10-12 08:55:58 -07:00
Michael Scire
4ca3c44e5f
kern: pass ini1 size from loader to kernel, remove slab memset from init0
2023-10-12 08:55:58 -07:00
Liam
159f8d384b
dmnt.gen2: enable attach to arbitrary program id
2023-10-11 19:50:09 -07:00
Michael Scire
de73f6c5bb
git subrepo push libraries
...
subrepo:
subdir: "libraries"
merged: "c3dc418a2"
upstream:
origin: "https://github.com/Atmosphere-NX/Atmosphere-libs "
branch: "master"
commit: "c3dc418a2"
git-subrepo:
version: "0.4.1"
origin: "???"
commit: "???"
2023-08-21 17:27:16 -07:00
Michael Scire
e488b6ee47
ams: add enum recognition for 16.1.0
2023-08-21 17:26:27 -07:00
Michael Scire
99810dc091
fssystem: fix typo error in BucketTree::Visitor::MoveNext
2023-08-15 14:47:09 -07:00
Liam
e54957285f
libstrat: comment fixes for fssystem
2023-08-12 11:33:29 -07:00
Michael Scire
fca213460b
libstrat: fix more minor style issues pointed out by Pharynx
2023-08-10 11:48:28 -07:00
Michael Scire
4e6bd19fcd
fssystem: fix stupid issue in NodeBuffer move-ctor
...
Code compiles with this constructor deleted, so it wasn't used, but even so...
2023-08-03 16:58:55 -07:00
Michael Scire
8b88351cb4
mitm: fix errant include on non-hos
2023-06-06 19:32:06 -07:00
Michael Scire
3cb54e2b4b
git subrepo push libraries
...
subrepo:
subdir: "libraries"
merged: "f4a966eb4"
upstream:
origin: "https://github.com/Atmosphere-NX/Atmosphere-libs "
branch: "master"
commit: "f4a966eb4"
git-subrepo:
version: "0.4.1"
origin: "???"
commit: "???"
2023-05-14 03:17:20 -07:00
Michael Scire
e9de11a746
ams: bump version to 1.5.4
2023-05-14 03:16:27 -07:00
SciresM
f2ee44da74
romfs/ams.mitm/pm: refactor to dynamically steal heap for certain games. ( #2122 )
...
* fs.mitm: skeleton the use of special allocation in romfs build
* pm: add api for ams.mitm to steal application memory
* pm/mitm: okay, that api won't work, try a different one
* romfs: revert memory usage increases; we'll handle torture games case-by-case.
* pm/romfs: first (broken?) pass at dynamic heap.
I cannot wait to figure out all the ways this is wrong.
* Release the dynamic heap a little more eagerly
* romfs: animal crossing is also not a nice game
* romfs: fix issues in close-during-build
* romfs: zelda is a blight upon this earth
2023-05-14 03:06:52 -07:00
Michael Scire
7e6c849ca4
git subrepo push libraries
...
subrepo:
subdir: "libraries"
merged: "cd0fc2c1d"
upstream:
origin: "https://github.com/Atmosphere-NX/Atmosphere-libs "
branch: "master"
commit: "cd0fc2c1d"
git-subrepo:
version: "0.4.1"
origin: "???"
commit: "???"
2023-05-08 18:06:50 -07:00
Michael Scire
b800953d66
ams: recognize 16.0.3('s FS)
2023-05-08 17:51:13 -07:00
Michael Scire
1f5ec68a5c
ams: fix compilation with gcc 13
2023-05-07 03:36:46 -07:00
Michael Scire
ed9e60acb9
kern: track heap in KPageTableBase::MemoryRange
2023-04-30 16:50:53 -07:00
Michael Scire
9f83b3c838
ams: I really need to automate keeping this in sync
2023-04-17 20:57:57 -07:00
Michael Scire
434c8cefc4
git subrepo push libraries
...
subrepo:
subdir: "libraries"
merged: "ecc8b1811"
upstream:
origin: "https://github.com/Atmosphere-NX/Atmosphere-libs "
branch: "master"
commit: "ecc8b1811"
git-subrepo:
version: "0.4.1"
origin: "???"
commit: "???"
2023-04-17 20:40:41 -07:00
Michael Scire
d8aed7de6d
ams: add 16.0.2 enum
2023-04-17 20:40:02 -07:00
Michael Scire
0c6a06a0cf
git subrepo push libraries
...
subrepo:
subdir: "libraries"
merged: "7340e2eab"
upstream:
origin: "https://github.com/Atmosphere-NX/Atmosphere-libs "
branch: "master"
commit: "7340e2eab"
git-subrepo:
version: "0.4.1"
origin: "???"
commit: "???"
2023-04-17 14:19:59 -07:00
Michael Scire
5efb4a2a98
docs: bump version, 16.0.1 exists too
2023-04-17 14:19:18 -07:00
Michael Scire
e9b28ab4b1
kern: adjust wording to be more technically correct
2023-03-27 10:54:58 -07:00
Michael Scire
8274081e39
git subrepo push libraries
...
subrepo:
subdir: "libraries"
merged: "b1607dc8a"
upstream:
origin: "https://github.com/Atmosphere-NX/Atmosphere-libs "
branch: "master"
commit: "b1607dc8a"
git-subrepo:
version: "0.4.1"
origin: "???"
commit: "???"
2023-03-13 17:17:50 -07:00
Michael Scire
f1ad26ce84
ams: bump version
2023-03-13 17:16:51 -07:00
Michael Scire
52f00731d9
settings: add os guard
2023-03-12 22:34:23 -07:00
Michael Scire
476d658a79
ams: allow convertible-to-result in abort print macros
2023-03-11 15:14:33 -07:00
ndeadly
bd9d8fff46
Add system setting to mirror bluetooth pairing database to sd card ( #1787 )
...
* ams_mitm: add ability to mirror bluetooth device pairing database to sd card via a system setting
* ams_mitm: address requested stylistic changes
* ams_mitm: make use of R_SUCCEED macro
* ams_mitm: use settings::BluetoothDevicesSettings instead of libnx type
* ams_mitm: fix logic error when truncating pairing database on read
* Update .ini comment
* ams_mitm: missing R_TRY around call to fs::FlushFile
* stratosphere: remove union from BluetoothDevicesSettings type
---------
Co-authored-by: ndeadly <24677491+ndeadly@users.noreply.github.com>
2023-03-10 10:06:38 -07:00
Michael Scire
61e3f0b391
windows: disable -fdata-sections
...
This causes all data to be emitted as .data$*. This breaks fzero-initialized-in-bss,
because linker puts stuff in .data even when it's all-zero and should end up in .bss.
2023-03-09 23:46:54 -07:00