Commit Graph

142 Commits

Author SHA1 Message Date
fincs
cacf8615a8
Remove arm/atomics.h (use C <stdatomic.h> or C++ <atomic> instead) 2020-03-16 12:51:07 +01:00
yellows8
83f406b5cb
Added hidbus. 2020-03-14 12:10:50 -04:00
HookedBehemoth
7e07d1edf0
add fan service (#376) 2020-02-28 19:23:10 +01:00
HookedBehemoth
23852ad932
add tc (#378) 2020-02-28 17:59:31 +01:00
HookedBehemoth
d8a50a46cf
add caps:c (#375) 2020-02-19 23:32:01 +01:00
HookedBehemoth
2486175f55
add jpegdec/caps:dc (#369) 2020-01-31 17:53:07 +01:00
HookedBehemoth
f34de8fb54 added caps:a (#358)
* added caps:a

* change struct names
2020-01-09 15:32:34 -05:00
fincs
2f7d9bf026
Delete old IPC 🎉 2019-12-12 02:25:05 +01:00
yellows8
9f28d0002a
Added support for hidLa (controller libapplet). 2019-11-28 16:04:46 -05:00
XorTroll
3925e92828 Add psel (playerSelect) support (#335)
* Add psel (playerSelect) support
2019-11-27 12:50:34 -05:00
yellows8
1e58385bd5
Added appletGetFriendInvitationStorageChannelEvent, appletTryPopFromFriendInvitationStorageChannel, appletGetNotificationStorageChannelEvent, and appletTryPopFromNotificationStorageChannel. Added appletPushToFriendInvitationStorageChannel/appletPushToNotificationStorageChannel. Added friendsGetFriendInvitationNotificationEvent/friendsTryPopFriendInvitationNotificationInfo. Added notif, for adding notifGetNotificationSystemEvent/notifTryPopNotifiedApplicationParameter. 2019-11-15 14:26:29 -05:00
fincs
26f620dc0e
Split up socket.c + work in progress changes:
- DNS stuff moved to runtime/resolver.c & .h
- Address manipulation functions moved to runtime/util/inet_addr.c
- Removed sfdnsres/nifm handling in runtime/devices/socket.c
- Renamed socketGetLastBsdResult to socketGetLastResult
- Renamed socketGetLastSfdnsresResult to resolverGetLastResult
- gethostid now inits/deinits nifm as needed
- sfdnsres related configuration gone from SocketInitConfig
- Fixed bug in addrinfo deserialization
- getaddrinfo rewritten, hints can now be NULL
- TODO: add back a way to control service discovery/cancel handle
2019-10-28 12:36:29 +01:00
fincs
bc13692938
Introduce SessionMgr for managing multiplexed services; change fs to use it 2019-10-26 16:44:32 +02:00
yellows8
0749dfd67f
Added services/async. 2019-09-26 16:57:39 -04:00
fincs
6ad0042147
Introduce new IPC interface wrapper code, see details:
- Service object moved away from sm.h and into its own file (sf/service.h)
- Service object completely redesigned, but a (mostly)
  backwards compatible API was kept
- New low level HIPC request/response code
- New CMIF client-oriented code
- New service IPC dispatch functions
- Pointer buffer size automatically retrieved for all sessions
- Removed previous manual pointer buffer size query code
- SM rewritten with new IPC code
- All other services are still pending IPC rewrite
2019-09-19 03:50:28 +02:00
yellows8
b1317d3ff8
Added ts. 2019-09-14 20:46:37 -04:00
yellows8
fa25df27d0
Added support for friendsLa. Added friends.h. 2019-09-14 19:26:07 -04:00
yellows8
b89191c435
Added support for launching the Album applet via albumLa. 2019-09-09 11:10:33 -04:00
yellows8
b7311b6ab1
Added support for capsu. Updated caps.h. Improved docs. Added enum CapsContentType. Added structs CapsScreenShotAttributeForApplication, CapsScreenShotDecodeOption, CapsApplicationAlbumFileEntry, and CapsLoadAlbumScreenShotImageOutputForApplication. Added capsGetDefaultStartDateTime, capsGetDefaultEndDateTime, capsConvertApplicationAlbumFileEntryToApplicationAlbumEntry, and capsConvertApplicationAlbumEntryToApplicationAlbumFileEntry. 2019-09-08 19:20:17 -04:00
yellows8
86ab999ee2
Added grc, for trimming videos. Added appletCreateGameMovieTrimmer, appletReserveResourceForMovieOperation, and appletUnreserveResourceForMovieOperation. Added structs CapsAlbumFileDateTime/CapsAlbumEntryId and updated CapsAlbumEntry. 2019-08-24 10:55:43 -04:00
yellows8
7f7ba17802
Fixed appletQueryApplicationPlayStatistics and added appletQueryApplicationPlayStatisticsByUid. Renamed AppletApplicationPlayStatistics to PdmApplicationPlayStatistics, updated it, and moved it to new file pdm.h. 2019-06-29 20:44:55 -04:00
yellows8
3e39f97fe5
Added support for hiddbg Hdls. 2019-06-06 20:52:33 -04:00
Samuel P
bc1786b7b0 pcv Set/GetClockRate changes in 8.0.0 (#266)
* version check on pre-8.0.0 pcv funcs
* clkrst API
* Add PcvModuleId enum
2019-04-24 13:36:19 -04:00
Michael Scire
408ae95120 cleanup headers, add crc32 acceleration 2019-04-04 20:13:36 +02:00
Michael Scire
f8375c46c0 crypto: add aes-ecb block enc/dec 2019-04-04 20:13:36 +02:00
yellows8
39f40b26ae
Added pctl. 2019-04-01 21:29:51 -04:00
yellows8
7b25d55342
Added pctlauth. 2019-03-31 22:01:48 -04:00
Liam Minopulos
ecfc8f8966 Added error LibraryApplet wrapper (#243)
* Implement error applet
2019-03-28 20:19:38 -04:00
natinusala
a7facade0a Implement wlaninfGetState and wlaninfGetRSSI 2019-03-15 11:35:02 -04:00
exelix
ad5b8c019f Add some functions from IOverlayAppletProxy and hid:sys (#242) 2019-02-27 16:17:03 +01:00
fincs
61cc738730 Introduce hosversion.h - HOS version detection utilities
- Simplify kernel/detect.h logic; introduce detectKernelVersion()
- Use set:sys (if available) during __appInit in order to initialize
  the current HOS version
2019-02-18 21:48:41 +01:00
yellows8
1cb2c18fa5 Added capssc. 2019-02-15 20:30:39 -05:00
averne
7d9601810d Added nfp:user services wrappers. (#237)
* hid: move official/libnx controller converters to hid.h
2019-02-15 19:06:41 +01:00
yellows8
e02b6c167a Added capssu and caps.h. 2019-02-08 19:47:13 -05:00
Samuel P
8360e561c5 Added WifiWebAuthApplet launching (#233)
* Added WifiWebAuthApplet launching
2019-01-18 20:00:34 -05:00
fincs
e708372dca Finally remove deprecated old gfx API 2019-01-03 21:13:20 +01:00
yellows8
32f93bef5d Added initial swkbd impl. 2018-12-20 13:06:20 -05:00
yellows8
6e10568589 Added applets/libapplet. Added appletSetThemeColorType and appletGetThemeColorType. 2018-12-19 19:49:57 -05:00
fincs
4879937946 Introduce Framebuffer, experimental wrapper object around a framebuffer queue for use by software rendering clients 2018-12-19 19:33:31 +01:00
fincs
412c84d5f9 Rename NvInfo to NvGpu 2018-12-19 19:33:31 +01:00
fincs
a9cbd9116a Introduce NWindow, an experimental replacement for the GFX API 2018-12-19 19:33:31 +01:00
fincs
ec6d878d12 Major buffer producer refactor, see details:
- Introduced NativeHandle (display/types.h)
- Introduced NvGraphicBuffer (nvidia/graphic_buffer.h)
- Renamed BqQueueBufferInput to BqBufferInput
- Renamed BqQueueBufferOutput to BqBufferOutput
- BqGraphicBuffer is now defined and marshalled in a way that matches
  official sw more closely, with a pointer to a NativeHandle instead of
  inline flattened data and other miscellaneous junk
- Const correctness fixes
- bqSetPreallocatedBuffer now has flattening logic for BqGraphicBuffer
- bqRequestBuffer doesn't have this logic for now, passing anything other
  than NULL will fail
- gfx.c updated to use the refactored buffer producer
2018-12-19 19:33:31 +01:00
fincs
3a31df429e gfx: finally get rid of nvgfx, replaced with an NvMap object 2018-12-19 19:33:31 +01:00
fincs
5fe01c065a Major refactor and redesign of nvidia wrapper objects, see details:
- NvBuffer replaced with NvMap, which only manages the creation of
  raw nvmap objects. Users must map these objects manually to
  address spaces.
- nvAddressSpaceBindToChannel removed.
- nvChannelSetNvmapFd is now automatic and has been removed.
- Nv3DContext, NvCmdList, NvErrorNotifier, NvGpfifo, NvGpu and
  NvZcullContext have all been removed.
- Introduced NvGpuChannel, which provides all functionality that was
  part of said removed objects.
- Other miscellaneous changes and fixes.
2018-12-19 19:33:31 +01:00
fincs
beeeb057d2 Finishing touches to user-mode synchronization primitives 2018-12-17 16:06:23 +01:00
plutooo
6a6f654526 wait: Final implementation 2018-12-17 16:06:23 +01:00
Michael Scire
0fad4244da Add ro:dmnt, ldr:ro. 2018-12-10 00:12:46 +01:00
yellows8
f1ba199d1c Initial usbhs support. 2018-11-30 20:13:58 -05:00
yellows8
f373b3ca23 Added usbds.h to switch.h. 2018-11-28 21:56:34 -05:00
Michael Scire
5386edef4f Add gpio wrapper 2018-11-14 19:52:40 -05:00