SciresM
8ce231e7c9
ldr: update SetProgramArguments for 11.0.0 abi change ( #507 )
2020-12-01 12:01:33 +01:00
Michael Scire
e5ae43f4c2
results: use R_VALUE for comparisons
2020-12-01 02:26:26 +01:00
averne
2fdae0db52
Add service wrappers for ins:r and ins:s ( #502 )
2020-11-08 00:28:20 +01:00
fincs
8310f438ca
virtmem: Add memory reservation system
...
jit: Use virtmemFindCodeMemory on both codepaths; use virtmem reservations
in order to support the JitType_SetProcessMemoryPermission codepath
2020-10-30 16:07:38 +01:00
fincs
490d96e6eb
virtmem: Add virtmemFindCodeMemory to work around a quirk in 1.x kernel
2020-10-30 00:16:03 +01:00
fincs
970d982e57
Add diagAbortWithResult, see details:
...
- This is a (weak/overridable) function meant to be called when the
program encounters an unrecoverable error, but it's not fatal enough
to bring down the entire system with it.
- The default implementation uses svcBreak, passing the result code
in the user buffer.
- Replaced all usages of fatalThrow with diagAbortWithResult throughout
the entire library.
2020-10-29 13:40:35 +01:00
fincs
a05a44fca8
virtmem: Major rewrite to support ASLR, see details:
...
- Added virtmemLock/Unlock, needed for atomic find-and-map operations
- Added virtmemFindAslr, which looks for a random free area in AslrRegion
- virtmemReserve still exists for legacy callers who rely on sequential
allocation in order to avoid race conditions from concurrent uses
- Added virtmemFindStack, which searches within StackRegion instead
- Removed virtmemReserveStack/FreeStack
- Changed shmem/thread/tmem/codememory-jit to use the new virtmem API
- Legacy jit still uses virtmemReserve
2020-10-27 12:27:32 +01:00
fincs
e655b48c41
crt0: clean up/refactor; envSetup: properly detect NSO/NRO environment...
2020-10-27 12:27:32 +01:00
fincs
7c6d7849f5
Remove obsolete kernel detection code
2020-10-27 12:27:32 +01:00
fincs
8d51f7de1c
jit: Transfer the responsibility of detecting whether CodeMemory syscalls are available/usable to the homebrew environment
2020-10-27 12:27:31 +01:00
fincs
d0d64ce1ce
fatalThrow: use hosversion instead of kerneldetect (and remove old alias)
2020-10-27 12:27:31 +01:00
fincs
4c6abe1e41
svcBreak: fix prototype, add and use BreakReason enum
2020-10-27 12:27:31 +01:00
fincs
e0c1dfe2ce
Add light event synchronization primitive [4.0.0+]
2020-10-27 12:27:20 +01:00
Michael Scire
dee3a7a241
gpio: loosen sysver restriction on OpenSession
2020-10-26 11:55:03 +01:00
Michael Scire
0ff42ee69e
gpio: implement majority of the service
2020-10-26 11:48:07 +01:00
yellows8
8a31abeea7
Added lp2p.
2020-10-25 14:00:44 -04:00
averne
022887ac2d
Fix event handle retrieval in spl
2020-10-04 00:20:16 +02:00
Vicki Pfau
4afec4016d
psm: Add more battery functions
2020-09-28 00:36:35 +02:00
yellows8
f01fb21da5
Added uart.
2020-09-12 18:53:30 -04:00
yellows8
cccef0c525
audout: Properly pass the aruid in audoutOpenAudioOut, fixes #197 .
2020-08-21 13:32:31 -04:00
yellows8
ac8ac4919e
set: Updated for [10.1.0+], added more cmds, use struct for nickname.
2020-08-20 23:20:10 -04:00
yellows8
5820178f56
btdrv: Updated param order.
2020-08-20 18:38:55 -04:00
yellows8
89358ba98c
btdrv: Use const for btdrvWriteHidData/btdrvSetHidReport.
2020-08-20 18:38:55 -04:00
yellows8
c669589a35
bluetooth: Updated params, improved docs, etc.
2020-08-20 18:38:55 -04:00
yellows8
8718ea3659
Added btdev.
2020-08-20 18:38:55 -04:00
yellows8
3b670bc652
btdrv: Added the remaining cmds, various fixes, and added a types .h.
2020-08-20 18:38:55 -04:00
yellows8
ab9ce7c330
btdrv: Added support for pre-4.0.0, etc.
2020-08-20 18:38:55 -04:00
yellows8
8789077bb8
btm: Added the aruid cmds.
2020-08-20 18:38:55 -04:00
yellows8
070e959609
btm: Added more cmds.
2020-08-20 18:38:55 -04:00
yellows8
abf3600724
Added btm, moved btmu structs into btm, and updated docs.
2020-08-20 18:38:55 -04:00
yellows8
5551fcfab6
btmu/btdrv: Use bool flag where needed and updated docs.
2020-08-20 18:38:55 -04:00
yellows8
1442280447
btmu: g_btdrvIBtmUserCore -> g_btmuIBtmUserCore
2020-08-20 18:38:55 -04:00
yellows8
e7fbdf9eb1
Added btmsys.
2020-08-20 18:38:55 -04:00
yellows8
94464baf38
btdrv/btmu: Various improvements.
2020-08-20 18:38:55 -04:00
yellows8
9439243649
Added btmu and added btdrv structs.
2020-08-20 18:38:55 -04:00
yellows8
a771f06a0e
btdrv: Fixed btdrvGetHidReport IPC, updated docs, and added an enum.
2020-08-20 18:38:55 -04:00
yellows8
354e7d84fd
btdrv: Added btdrvTriggerConnection.
2020-08-20 18:38:55 -04:00
yellows8
045f6477d9
btdrv: Added cmds:
...
btdrvSetBleVisibility, btdrvSetBleAdvertiseData, btdrvSetBleAdvertiseParameter, btdrvRegisterGattClient, btdrvUnregisterGattClient, btdrvUnregisterAllGattClients, btdrvGetGattAttribute, btdrvGetGattService, btdrvRegisterGattServer, btdrvUnregisterGattServer, btdrvConnectGattClient, btdrvDisconnectGattClient, btdrvAddGattService, btdrvEnableGattService, btdrvAddGattCharacteristic, btdrvAddGattDescriptor, btdrvGetBleManagedEventInfo, btdrvGetGattFirstCharacteristic, btdrvGetGattNextCharacteristic, btdrvGetGattFirstDescriptor, btdrvGetGattNextDescriptor, btdrvRegisterGattManagedDataPath, btdrvUnregisterGattManagedDataPath, btdrvRegisterGattHidDataPath, btdrvUnregisterGattHidDataPath, btdrvRegisterGattDataPath, btdrvUnregisterGattDataPath.
2020-08-20 18:38:55 -04:00
yellows8
e0ee2ffc86
btdrv: Added btdrvGetEventInfo/btdrvGetHidEventInfo, etc.
2020-08-20 18:38:55 -04:00
yellows8
0075672b93
btdrvGetLeEventInfo -> btdrvGetLeHidEventInfo
2020-08-20 18:38:55 -04:00
yellows8
b15a583b80
btdrv: Added more cmds and the required enum:
...
btdrvGetLatestPlr, btdrvEnableTxPowerBoostSetting, btdrvIsTxPowerBoostSettingEnabled, btdrvEnableAfhSetting, btdrvIsAfhSettingEnabled, btdrvGetChannelMap, btdrvMoveToSecondaryPiconet, btdrvIsManufacturingMode, btdrvEmulateBluetoothCrash, btdrvGetBleChannelMap.
2020-08-20 18:38:55 -04:00
yellows8
b18912980e
btdrv: Added HidReportEventInfo support.
2020-08-20 18:38:55 -04:00
yellows8
2878b97f3a
btdrv: Added cmds:
...
btdrvGetAdapterProperties, btdrvGetAdapterProperty, btdrvSetAdapterProperty, btdrvWriteHidData, btdrvWriteHidData2, btdrvSetHidReport, btdrvGetHidReport.
Added/updated the required enum/struct.
bt(drv): Updated docs.
2020-08-20 18:38:55 -04:00
yellows8
7e06e0e657
btdrv: Use InitializeBluetoothDriver during init.
2020-08-20 18:38:55 -04:00
yellows8
a5e8572019
Added initial bluetooth support.
2020-08-20 18:38:55 -04:00
yellows8
bcc0f86aa3
hidbus/ringcon: Fixed cleanup, this also fixed a crash.
2020-08-20 13:28:26 -04:00
HookedBehemoth
9a1e3aeb47
add news service wrapper ( #493 )
2020-08-04 19:37:34 +02:00
Adubbz
ed16b7f948
hiddbg: implement DeactivateHomeButton
2020-07-07 12:35:37 +02:00
SciresM
b8a095ac2f
fs: add missing AccessLog functions. ( #491 )
2020-07-03 00:03:36 +02:00
yellows8
e2db987144
web: Added WebSession support.
2020-06-24 10:39:18 -04:00