summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/ptm (unfollow)
Commit message (Collapse)AuthorFilesLines
2023-10-20ts: add OpenSessionLiam2-6/+40
2023-03-01service: move hle_ipc from kernelLiam4-17/+17
2023-02-21service: refactor server architectureLiam2-8/+8
Converts services to have their own processes
2022-10-13kernel: remove KWritableEventLiam1-3/+3
2022-10-12general: preliminary support for hblLiam2-3/+13
2022-06-29service: ptm: Rewrite PSM and add TSgerman776-80/+175
2022-04-23general: Convert source file copyright comments over to SPDXMorph2-6/+4
This formats all copyright comments according to SPDX formatting guidelines. Additionally, this resolves the remaining GPLv2 only licensed files by relicensing them to GPLv2.0-or-later.
2021-11-04core: Remove unused includesameerj1-1/+0
2021-10-02service: Replace service event creation with ServiceContext::CreateEventMorph1-11/+13
The service context helps to manage all created events and allows us to close them upon destruction.
2021-06-02general: Replace RESULT_SUCCESS with ResultSuccessMorph1-8/+8
Transition to PascalCase for result names.
2021-05-06hle: kernel: Migrate KReadableEvent and KWritableEvent to KAutoObject.bunnei1-3/+3
2021-05-06hle: kernel: Ensure all kernel objects with KAutoObject are properly created.bunnei1-0/+1
2021-05-06hle: kernel: Migrate KEvent to KAutoObject.bunnei1-9/+8
2021-02-05hle: kernel: Reimplement KReadableEvent and KWritableEvent.bunnei1-7/+9
2021-02-05hle: kernel: Rename WritableEvent to KWritableEvent.bunnei1-2/+2
2021-02-05hle: kernel: Rename ReadableEvent to KReadableEvent.bunnei1-1/+1
2021-01-25Omit system referenceChloe Marcec1-2/+1
2021-01-25psm: IPsmSessionChloe Marcec1-2/+114
Used by homebrew menu
2020-11-27service: Eliminate usages of the global system instanceLioncash2-4/+8
Completely removes all usages of the global system instance within the services code by passing in the using system instance to the services.
2020-06-29service: Update function tablesVolcaEM1-0/+1
2020-04-29psm: Mark as debug instead of warningDavid Marcec1-7/+14
No point to emulate battery life. However options are broken out if we ever want to add a setting for it
2018-10-22psm: Stub GetChargerTypeZach Hilman2-24/+27
Used by LovePotion Lua Homebrew. Stubbed as connected to official Nintendo Switch dock.
2018-10-21psm: Stub GetBatteryChargePercentageZach Hilman2-1/+14
Used by LovePotion Lua Homebrew. Stubbed to return 100% charge.
2018-10-21service: Add skeleton for psm serviceZach Hilman2-0/+70
Seems to be the power controller. Listed in switchbrew under the category PTM services.
2017-10-10hle: Remove a large amount of 3ds-specific service code.bunnei12-605/+0
2017-06-19ResultVal: Remove MoveFrom()Yuri Kunde Schlesner1-1/+1
Replace it with std::move(result_val).Unwrap(), or Foo().Unwrap() in case you already have an rvalue.
2017-05-25FileSys: Move all result description to errors.hYuri Kunde Schlesner1-1/+2
2017-05-25result: Make error description a generic integerYuri Kunde Schlesner1-1/+1
It is now known that result code description vary depending on the module, and so they're best defined on a per-module basis. To support this, allow passing in an arbitrary integer instead of limiting to the ones in the ErrorDescription enum. These will be gradually migrated to their individual users, but a few will be kept as "common" codes shared by all modules.
2017-05-19use IPCHelper for PTM servicesemmaus3-31/+45
2017-03-25ptm: create SharedExtSave file before openning itwwylele1-1/+1
2017-03-18IPCHelper Skip method + address comments for aptLectem1-1/+1
2017-03-18move push out of class body and add u8 u16 bool specializationsLectem1-1/+1
2017-03-18refactor APT service to use the new IPC helpersLectem2-4/+10
2016-12-09ptm: Use boolean instead of integral valueLioncash1-1/+1
The third parameter of Write is actually a bool type, not an int.
2016-12-08service: Add the ptm:s serviceLioncash3-0/+14
3dbrew documents this as being the exact same as ptm:sysm
2016-12-08service: Add common ptm:u commands to other ptm servicesLioncash4-0/+54
3dbrew indicates that all services have access to these commands except for ptm:sets.
2016-12-08service: Drop '_Interface' in ptm service class namesLioncash7-14/+14
Inheriting from Service::Interface makes this obvious.
2016-12-08service: Add ptm::gets and ptm::sets servicesLioncash5-0/+86
2016-12-08ptm: Update ptm_sysm function tableLioncash3-6/+7
Updated based off information from 3dbrew.
2016-11-19PTM & CFG: use the correct path and error code according to the new FileSys policywwylele1-1/+1
2016-09-21Use negative priorities to avoid special-casing the self-includeYuri Kunde Schlesner3-3/+3
2016-09-19Manually tweak source formatting and then re-run clang-formatYuri Kunde Schlesner3-4/+3
2016-09-18Sources: Run clang-format on everything.Emmanuel Gil Peyrot6-74/+82
2016-05-24New3DS: Minor style cleanup to #1520.bunnei1-2/+2
2016-04-20Implement CheckNew3DS and CheckNew3DSAppJamePeng3-3/+25
Append an item[is_new3ds] to config file[System] group Implement APT::SetNSStateField,it will update the unknown NS_state_field
2016-03-20HLE/FS: Implemented GetFormatInfoSubv1-1/+1
Format information is currently only implemented for the ExtSaveData, SharedExtSaveData and SaveData archives, the information is stored in a file alongside the root folder of the archive.
2016-02-12BitField: Make trivially copyable and remove assignment operatorMerryMage1-2/+2
2016-02-02services: Get rid of unnecessary includesLioncash4-8/+4
2015-12-30services: Update some function tablesLioncash1-1/+2
2015-10-24Fix copy pasteFiliph Sandström1-1/+1
2015-10-23Fix wrong branchFiliph Sandström1-0/+12
2015-10-23Add GetTotalStepCount StubFiliph Sandström1-1/+1
2015-10-23Update ptm.hFiliph Sandström1-0/+8
2015-05-29Remove every trailing whitespace from the project (but externals).Emmanuel Gil Peyrot2-4/+4
2015-05-12PTM: Changed the way the ptm services are handled to be like thepurpasmart965-125/+112
IR, HID, and APT services.
2015-05-07Common: Remove common.hYuri Kunde Schlesner1-1/+1
2015-05-07FileSys: Clean-up includes, de-inline destructorsYuri Kunde Schlesner1-1/+2
2015-05-02Services: Initialize all state variables at bootup.bunnei1-2/+5
2015-04-25ptm_sysm: Add static specifier to IsLegacyPowerOffLioncash1-1/+1
2015-04-03Services: Stubs and minor changespurpasmart962-4/+4
2015-03-04Services: Moved the PTM and APT services to their own folderSubv8-0/+392
This coincidentally fixes an issue about the PTM service failing to create its SharedExtSaveData archive due to the FS service not being initialized by the time the creating code runs. Ideally I'd like to move each process to its own folder, and have a single file per process that registers the service classes, which would be in their own files inside that folder. Then each service class would just call functions from the process to complete the commands.