Commit Graph

1908 Commits

Author SHA1 Message Date
Michael Scire
450218773f libstrat: fix more minor style issues pointed out by Pharynx 2023-08-21 17:26:49 -07:00
Michael Scire
f6abe32331 fssystem: fix stupid issue in NodeBuffer move-ctor
Code compiles with this constructor deleted, so it wasn't used, but even so...
2023-08-21 17:26:49 -07:00
Michael Scire
390356cd9e mitm: fix errant include on non-hos 2023-08-21 17:26:49 -07:00
Michael Scire
f4a966eb4c ams: bump version to 1.5.4 2023-05-14 03:16:43 -07:00
SciresM
4e7ae82b38 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:16:42 -07:00
Michael Scire
cd0fc2c1d5 ams: recognize 16.0.3('s FS) 2023-05-08 18:06:09 -07:00
Michael Scire
5d883f22c8 ams: fix compilation with gcc 13 2023-05-08 18:06:07 -07:00
Michael Scire
2db2e41398 kern: track heap in KPageTableBase::MemoryRange 2023-05-08 18:06:06 -07:00
Michael Scire
94a2fce05e ams: I really need to automate keeping this in sync 2023-05-08 18:06:04 -07:00
Michael Scire
ecc8b18111 ams: add 16.0.2 enum 2023-04-17 20:40:16 -07:00
Michael Scire
7340e2eaba docs: bump version, 16.0.1 exists too 2023-04-17 14:19:32 -07:00
Michael Scire
c1e9ba08dc kern: adjust wording to be more technically correct 2023-04-17 14:19:31 -07:00
Michael Scire
b1607dc8a3 ams: bump version 2023-03-13 17:17:10 -07:00
Michael Scire
db46d9d45e settings: add os guard 2023-03-13 17:17:09 -07:00
Michael Scire
de14257419 ams: allow convertible-to-result in abort print macros 2023-03-13 17:17:09 -07:00
ndeadly
2f6ea652d7 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-13 17:17:08 -07:00
Michael Scire
9b01b09c4b 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-13 17:17:07 -07:00
Michael Scire
a1e186b715 windows: re-enable lto for os/fs libraries 2023-03-13 17:17:07 -07:00
Michael Scire
7ca08f0c99 kern: fix stray addressof operator 2023-03-13 17:17:07 -07:00
Michael Scire
099982f909 windows: add brave new mingw compat hook for gcc 12.2.0+ 2023-03-13 17:17:06 -07:00
Michael Scire
1d3c3230fc kern: minor cleanup (thanks @liamwhite) 2023-03-13 17:17:06 -07:00
Michael Scire
51e932c88f os: add UnsafeMemory apis 2023-03-13 17:17:04 -07:00
Michael Scire
a556909c10 kern: fix stray comment copy/paste error 2023-03-13 17:17:03 -07:00
Michael Scire
6cb324a89c erpt: update server code for 16.0.0 logic changes 2023-03-13 17:17:03 -07:00
Michael Scire
9c8842838a kern: increase non-dynamic heap sizes to 8 GB to match 2023-03-13 17:17:02 -07:00
Michael Scire
af0d008900 ncm: alignment was changed for PlaceHolderId/ContentId in 16.0.0 2023-02-23 09:00:38 -07:00
Michael Scire
7a77f2ac8d ncm: fix inversion in activation skipping 2023-02-23 09:00:38 -07:00
Michael Scire
f4a976c2c7 ncm: Add IntegratedContent*Impl 2023-02-23 09:00:37 -07:00
Michael Scire
a203daa849 ncm: first pass at ContentManagerImpl refactor (missing the IntegratedImpls, won't link) 2023-02-23 09:00:37 -07:00
Michael Scire
8ccd35988a kern: 16.x web applet crashes on exit with 48 MB stolen (rip) 2023-02-23 09:00:36 -07:00
Michael Scire
8cdda02e4d ncm: fix copy/paste error in switch case 2023-02-23 09:00:36 -07:00
Michael Scire
d152978cbc strat: fix sysmodule building, bump version so I don't forget later 2023-02-23 09:00:36 -07:00
Michael Scire
1465b1447b libstrat: make build with new ncm/fs api changes (sysmodules probably fail to build) 2023-02-23 09:00:35 -07:00
Michael Scire
c93b437ad7 erpt: update for new ids 2023-02-23 09:00:35 -07:00
Michael Scire
3cba51b85f boot2: update for 16.0.0 2023-02-23 09:00:35 -07:00
Michael Scire
507bc3ddd5 fusee/exo: implement the usual changes for new firmware support 2023-02-23 09:00:34 -07:00
Michael Scire
1ee342725e kern: bump supported version to 16.x 2023-02-23 09:00:33 -07:00
Michael Scire
429f3aa49d kern: better divide non-secure size, don't waste fatal memory unless necessary 2023-02-23 09:00:33 -07:00
Michael Scire
a47e5c387d kern: delete creation time field from KProcess 2023-02-23 09:00:33 -07:00
Michael Scire
7451d0c8ab kern: add InfoType_IoRegionHint 2023-02-23 09:00:32 -07:00
Michael Scire
7042cd28a1 kern: refactor priority inheritance to represent locks as C++ objects 2023-02-23 09:00:32 -07:00
Michael Scire
e5f193c0bc kern: remove unnecessary interrupt disables from arbiter/condvar 2023-02-23 09:00:32 -07:00
Michael Scire
c506ac0a6f kern: KConditionVariable::SignalToAddress now emits dmb before userspace write 2023-02-23 09:00:31 -07:00
Michael Scire
03d0fd0f62 kern: refactor init (kill identity map, merge cpu on logic) 2023-02-23 09:00:31 -07:00
Michael Scire
0db64c5e6f kern: use variable-count parameter arrays for DebugEvents 2023-02-23 09:00:31 -07:00
Michael Scire
913710ddf3 kern: update KSystemControl::InitializePhase1, dynamically scale 39-bit address space regions 2023-02-23 09:00:30 -07:00
Michael Scire
8afa5a9057 kern: update for new ChangePermissions page table operation 2023-02-23 09:00:30 -07:00
Michael Scire
2a651f73c9 kern: adjust pool allocations 2023-02-23 09:00:29 -07:00
Michael Scire
ec29feb497 kern: simplify KSchedulerLock::Lock 2023-02-23 09:00:29 -07:00
Michael Scire
2840e2c958 kern: allow QueryIoMapping to find Static mappings 2023-02-23 09:00:29 -07:00