yellows8
b577367011
Implemented nvioctlNvmap_FromID() and nvioctlNvmap_GetID().
...
Added PARCEL_LOGGING define in parcel.c.
Fixed the 'code' value used in gfxproducerQueueBuffer().
Moved some gfxproducer init into nvgfx.
Moved some nvgfx event init into nvgfxEventInit().
Updated the code using gfxproducerBufferInit() for setting the nvmap-handles.
Disabled a nvQueryEvent() call which now fails.
Other changes.
The setup framebuf/windowbuf is now displayed.
2017-12-27 18:50:15 -05:00
yellows8
d35986d773
Added nvioctlNvhostCtrl_EventRegister().
2017-12-27 18:50:15 -05:00
yellows8
0f0a4cd0fe
Added nvioctlNvhostCtrl_EventSignal and nvioctlNvhostCtrl_EventWait. More nvgfx init.
2017-12-27 18:50:15 -05:00
yellows8
1908b29708
Added nvioctlChannel_SubmitGPFIFO().
2017-12-27 18:50:15 -05:00
yellows8
eeb43bae97
Added nvioctlChannel_ZCullBind(). Added more nvgfx init.
2017-12-27 18:50:15 -05:00
yellows8
017770b509
More ioctls + nvgfx init. Added nvmapobjSetup().
2017-12-27 18:50:15 -05:00
yellows8
20ec051ca4
Implemented nvioctlNvhostCtrlGpu_GetL2State().
2017-12-27 18:50:15 -05:00
yellows8
690b8be39a
Implemented setting offset in nvioctlNvhostAsGpu_MapBufferEx(). Fixed broken MapBufferEx usage in nvgfx init for the second nvmap obj.
2017-12-27 18:50:15 -05:00
yellows8
0cc65093e3
Implemented the ioctls which were skipped during nvgfx init. nvgfx init adjustments. Fixed ioctl direction define for nvioctlNvhostAsGpu_MapBufferEx, this now works properly.
2017-12-27 18:50:15 -05:00
yellows8
704ead0d5f
Added more nvioctls + more nvgfx init.
2017-12-27 18:50:15 -05:00
yellows8
619a9a378c
Added nvgfx.
2017-12-27 18:50:14 -05:00
yellows8
0c19c1738c
Added nvioctl.
2017-12-27 18:50:14 -05:00
yellows8
1fccd4a1bb
Improved handling for appletNotifyRunning().
2017-12-24 23:31:58 -05:00
yellows8
ec594bfbcf
Added _appletGetOperationMode() and _appletGetPerformanceMode(). In appletInitialize(), use _appletGetOperationMode and _appletGetPerformanceMode(). Also use _appletGetCurrentFocusState() in appletInitialize() with a global field even for non-application-type. Added _appletSetOperationModeChangedNotification/_appletSetPerformanceModeChangedNotification and use these in appletInitialize(). Added appletGetOperationMode(), appletGetPerformanceMode(), and appletGetFocusState(), which load from cached state fields. Handle notifications in appletMainLoop(). Added appletOperationMode enum. Imported applet hooking from libctru.
2017-12-22 03:26:26 -05:00
yellows8
ebf81ab6ff
Imported *MainLoop() from libctru.
2017-12-07 18:54:07 -05:00
plutoo
cddec5c754
More pm
2017-12-05 12:30:33 +01:00
plutoo
12410fc44a
Merge pull request #22 from shinyquagsire23/hid-sharedmem-impl
...
HID Shared Memory - Structures + key held/down/up implementation
2017-12-02 23:21:10 +01:00
yellows8
d24671b306
Implemented applet initialization for application-type which was missing. Added svcResetSignal.
2017-12-01 23:15:40 -05:00
yellows8
7da25ba40f
Updated fs_dev.h comments, etc. Fixed _fsdevUnmountDeviceStruct(). Added fsdevCommitDevice(). Check whether sdmc is already mounted in fsdevInit().
2017-11-30 13:00:47 -05:00
yellows8
0c5efe5f9c
Added a comment in fs_dev.h. Adjusted fs.h formatting, etc. Added support for mounting SaveData.
2017-11-30 01:58:21 -05:00
yellows8
a405bc4827
Added account. Added u128 type to types.h.
2017-11-29 23:31:18 -05:00
yellows8
99e4a61492
Moved fsdev_dir_t/*MAGIC into the .h. Removed fsdevWriteSafe(). Added fsdevMountDevice/fsdevUnmountDevice to the .h. Moved the code for fsdevUpdateDevices() into fsdevInit(). Changed _fsdevMountDevice() to static. Added fsdev_read_safe(). Automatically calll fsdev_{read/write}_safe() when required, instead of using fsdevWriteSafe().
2017-11-29 19:40:21 -05:00
yellows8
49959e4e37
FS adjustments + fixed fsFsGetFreeSpace/fsFsGetTotalSpace. In fs_dev: fixed cwd handling, unmounting adjustments, use fsFsGetEntryType(), updated fsdev_dirnext(), and properly handle fsdev_statvfs().
2017-11-29 01:47:11 -05:00
yellows8
02526c920e
Updated comments for fsdevWriteSafe().
2017-11-27 18:43:02 -05:00
yellows8
59880e9488
Removed output bytes_written for fsFileWrite() since the command doesn't actually return that. In fsdev_open(), set the FS_OPEN_APPEND flag when opening for writing. Adjusted file-creation handling in fsdev_open().
2017-11-27 17:40:49 -05:00
yellows8
25f2839c75
Imported util/utf from libctru. Updated appInit/appExit. Fs adjustments + implemented IDirectory. Imported a modified version of sdmc_dev from libctru as fs_dev, this currently isn't usable.
2017-11-23 15:00:56 -05:00
shinyquagsire23
63f91dd215
Add hidTouchCount, hidTouchRead, KEY_TOUCH. Header tweaks.
2017-11-22 17:09:37 -07:00
shinyquagsire23
aa458e59f9
Add hidGetControllerLayout
2017-11-22 17:09:32 -07:00
yellows8
9c5afe8302
Added svcOutputDebugString.
2017-11-21 00:35:08 -05:00
shinyquagsire23
472c408288
Add HIDMousebutton
2017-11-20 02:27:21 -07:00
shinyquagsire23
fc71b06161
Implement HID keys held/down/up
2017-11-20 02:17:30 -07:00
shinyquagsire23
11ee3c188e
Add HID shared memory structures and enums
2017-11-20 02:17:26 -07:00
shinyquagsire23
3db154a8f0
Add bsdSendTo and bsdSetSockOpt
2017-11-19 01:45:15 -07:00
yellows8
42fbabe9d1
Added nvQueryEvent().
2017-11-15 22:34:07 -05:00
plutoo
61ff5bd9a1
Merge pull request #18 from devkitPro/dka64-a5-updates
...
devkitA64 alpha 5 updates (locks, TLS, etc) {TEST BEFORE MERGE}
2017-11-16 01:36:39 +01:00
yellows8
567e8ed6e1
Imported more defines from linux ioctl.h. In nvIoctl(), only set the addr/size for send/recv buffers when the associated direction bit is set.
2017-11-14 12:15:23 -05:00
fincs
508a87ea5d
Mark fatalSimple with __attribute__((noreturn))
2017-11-14 01:14:23 +01:00
fincs
e836ee7bb9
Implement TLS/newlib reent support (untested)
2017-11-14 00:31:47 +01:00
fincs
03674bba85
Implement lock_init{_recursive} newlib syscalls
2017-11-14 00:31:47 +01:00
fincs
f27685b7b3
Integrate newlib locks with libnx (R)Mutex (untested, incomplete)
2017-11-14 00:31:47 +01:00
yellows8
9377851197
Imported usbComms from elsewhere. Removed usb_dev.h since the .c for it was previously removed. In usbDsInitialize(), skip calling _usbDsSetVidPidBcd() when deviceinfo is NULL.
2017-11-13 17:18:07 -05:00
yellows8
38cc12f02c
Moved ioctl defines into a dedicated header, with some additional defines. Load the output error field for nv cmds.
2017-11-12 23:27:42 -05:00
yellows8
caa06c4d6c
Implemented nv. Use TransactParcelAuto instead of TransactParcel when running on >=3.0.0. Added ipcQueryPointerBufferSize(). Minor other change.
2017-11-12 20:34:30 -05:00
plutoo
4543558cd3
Add moar syscalls
2017-11-12 03:57:49 +01:00
yellows8
41303238e2
Added svcGetProcessId. Fixed pid type for svcDebugActiveProcess.
2017-11-09 15:49:41 -05:00
yellows8
80890a3b8e
Fixed gfx and parcel issues. Parcel logging adjustments, etc. Changed out_parcel to parcel_reply.
2017-11-08 22:36:30 -05:00
yellows8
1d8c51f6fa
Added svcGetSystemTick. Added LIBNX_PARCEL_ERRBASE to result.h. Added BINDER_FIRST_CALL_TRANSACTION. Added gfxproducer and parcel. Use gfxproducer in gfx and added gfxSwapBuffers().
2017-11-07 13:56:57 -05:00
yellows8
b5abd52b8b
Implemented viSetLayerScalingMode(). Implemented vsync handling. Minor other change.
2017-11-05 00:50:58 -04:00
plutoo
d0c9d8294d
Don't mind this
2017-11-05 04:02:00 +01:00
plutoo
9a67c39fd0
Moved cache.s to arm/, implemented kernel/version.c, get rid of broken uart driver [for now]
2017-11-05 03:58:54 +01:00