Commit Graph

  • 79fd32f0c7 More nvgfx event stuff, still broken. yellows8 2017-11-15 22:32:14 -0500
  • d35986d773 Added nvioctlNvhostCtrl_EventRegister(). yellows8 2017-11-15 16:28:22 -0500
  • 0f0a4cd0fe Added nvioctlNvhostCtrl_EventSignal and nvioctlNvhostCtrl_EventWait. More nvgfx init. yellows8 2017-11-15 02:36:27 -0500
  • 8d68cb401f Yet another nvmap obj added to nvgfx init. yellows8 2017-11-15 01:40:46 -0500
  • cc22a5e92a Another nvmap obj. yellows8 2017-11-15 01:28:18 -0500
  • 453e8b8303 More nvgfx init. yellows8 2017-11-15 01:14:17 -0500
  • e9dbf4d18f More nvgfx init. yellows8 2017-11-15 00:50:58 -0500
  • 9e10c02c88 Fixed kind value for last *MapBufferEx() loop interation. yellows8 2017-11-15 00:28:34 -0500
  • bccd0df4ae More nvgfx init. yellows8 2017-11-15 00:19:20 -0500
  • 2d3887fb0c Implemented more nvgfx init. yellows8 2017-11-15 00:00:29 -0500
  • 1908b29708 Added nvioctlChannel_SubmitGPFIFO(). yellows8 2017-11-14 20:20:08 -0500
  • eeb43bae97 Added nvioctlChannel_ZCullBind(). Added more nvgfx init. yellows8 2017-11-14 19:30:31 -0500
  • 017770b509 More ioctls + nvgfx init. Added nvmapobjSetup(). yellows8 2017-11-14 18:43:09 -0500
  • 31b945dff9 Store nvmap obj state inside of a dedicated obj struct + funcs for using that, etc. yellows8 2017-11-14 15:51:34 -0500
  • 20ec051ca4 Implemented nvioctlNvhostCtrlGpu_GetL2State(). yellows8 2017-11-14 13:03:33 -0500
  • 690b8be39a Implemented setting offset in nvioctlNvhostAsGpu_MapBufferEx(). Fixed broken MapBufferEx usage in nvgfx init for the second nvmap obj. yellows8 2017-11-14 12:44:54 -0500
  • bf65d6734a Added note regarding nvQueryEvent. yellows8 2017-11-14 12:09:10 -0500
  • f6ab87e309 Added an ioctl usage comment to nvgfx. yellows8 2017-11-14 02:05:29 -0500
  • cfffdcc444 Setup the second nvmap obj. yellows8 2017-11-14 01:16:43 -0500
  • 0cc65093e3 Implemented the ioctls which were skipped during nvgfx init. nvgfx init adjustments. Fixed ioctl direction define for nvioctlNvhostAsGpu_MapBufferEx, this now works properly. yellows8 2017-11-13 23:27:54 -0500
  • 704ead0d5f Added more nvioctls + more nvgfx init. yellows8 2017-11-13 16:21:49 -0500
  • 619a9a378c Added nvgfx. yellows8 2017-11-12 23:57:30 -0500
  • 0c19c1738c Added nvioctl. yellows8 2017-11-12 23:32:50 -0500
  • 1fccd4a1bb Improved handling for appletNotifyRunning(). yellows8 2017-12-24 23:31:58 -0500
  • 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. yellows8 2017-12-22 03:26:26 -0500
  • 146aad7f55 Fixes for 1.0.0, correcting NRO aslr base plutoo 2017-12-17 03:47:21 +0100
  • 4f8dfc52c6 Fixed bss handling in elf2nro. yellows8 2017-12-11 21:54:59 -0500
  • a0ebe68f54 Implemented actual args handling in __system_initArgv(). yellows8 2017-12-11 19:18:45 -0500
  • 79e573472e Added __argdata__ to switch.ld. yellows8 2017-12-10 23:27:16 -0500
  • 817fec6859 Fixed bss handling in tools. yellows8 2017-12-10 23:12:15 -0500
  • ebf81ab6ff Imported *MainLoop() from libctru. yellows8 2017-12-07 18:54:07 -0500
  • cddec5c754 More pm plutoo 2017-12-03 19:17:38 +0100
  • e5d0821678 Implement pm:dmnt plutoo 2017-12-03 18:05:51 +0100
  • 12410fc44a
    Merge pull request #22 from shinyquagsire23/hid-sharedmem-impl plutoo 2017-12-02 23:21:10 +0100
  • d24671b306 Implemented applet initialization for application-type which was missing. Added svcResetSignal. yellows8 2017-12-01 23:15:40 -0500
  • 7da25ba40f Updated fs_dev.h comments, etc. Fixed _fsdevUnmountDeviceStruct(). Added fsdevCommitDevice(). Check whether sdmc is already mounted in fsdevInit(). yellows8 2017-11-30 13:00:47 -0500
  • 0c5efe5f9c Added a comment in fs_dev.h. Adjusted fs.h formatting, etc. Added support for mounting SaveData. yellows8 2017-11-30 01:58:21 -0500
  • a405bc4827 Added account. Added u128 type to types.h. yellows8 2017-11-29 23:31:18 -0500
  • cb123dd579 Imported initArgv from libctru. Load __system_argc/__system_argv in crt0. Enabled the __system_argc/__system_argv code in fsdev. yellows8 2017-11-29 21:30:40 -0500
  • 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(). yellows8 2017-11-29 19:40:21 -0500
  • 49959e4e37 FS adjustments + fixed fsFsGetFreeSpace/fsFsGetTotalSpace. In fs_dev: fixed cwd handling, unmounting adjustments, use fsFsGetEntryType(), updated fsdev_dirnext(), and properly handle fsdev_statvfs(). yellows8 2017-11-29 01:47:11 -0500
  • 4f2a16ec34 Added SWITCH define. yellows8 2017-11-28 12:42:53 -0500
  • 02526c920e Updated comments for fsdevWriteSafe(). yellows8 2017-11-27 18:43:02 -0500
  • 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(). yellows8 2017-11-27 17:40:49 -0500
  • 40dd1adc23 Mutex fix plutoo 2017-11-26 20:45:55 +0100
  • de52de8e88 Fixes for 1.0.0 plutoo 2017-11-25 09:10:59 +0100
  • 96010d3c75 Use a global field for default fsdev device. Added 'id' to fsdev_fsdevice struct. Adjusted fsdev mounting handling, and verify that the specified device name isn't already used. In _fsdevUnmountDeviceStruct(), call RemoveDevice() with ':' appended to name. Adjusted fsdevInit(). Adjusted comments for fsdevWriteSafe(). In fsdev_rename(), throw an error if the two paths don't use the same device. yellows8 2017-11-26 00:55:10 -0500
  • 9703ddbf3e Fixed the stack_sz used for stack_top in threadCreate(). t->stack_sz is uninitialized at the time stack_top is set, hence this was causing memory corruption in some cases. yellows8 2017-11-25 12:54:42 -0500
  • cca73c47fa __thread fix by fincs. yellows8 2017-11-25 12:02:25 -0500
  • d7e611f9f4 fs_dev adjustments: disabled broken __thread, handle default device in fsdevFindDevice(), and check for fsdevFindDevice() failure in fsdev_fixpath(). Added a comment in _fsdevUnmountDeviceStruct(). Removed the return at the start of fsdev_open(). yellows8 2017-11-24 22:30:44 -0500
  • 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. yellows8 2017-11-23 15:00:56 -0500
  • 0bc5be0708 Fixed session-close error when using APPLET_TYPE_LibraryApplet. yellows8 2017-11-23 01:53:45 -0500
  • 63f91dd215 Add hidTouchCount, hidTouchRead, KEY_TOUCH. Header tweaks. shinyquagsire23 2017-11-22 17:09:10 -0700
  • aa458e59f9 Add hidGetControllerLayout shinyquagsire23 2017-11-20 12:29:41 -0700
  • 94083114ba Added NRO building to buildscripts/. Added elf2nro install to tools/Makefile. yellows8 2017-11-21 15:58:58 -0500
  • 9c5afe8302 Added svcOutputDebugString. yellows8 2017-11-21 00:35:08 -0500
  • ffd10708ac Variable name adjustment, fixes, clarifications shinyquagsire23 2017-11-20 12:07:50 -0700
  • 0f24d05077 Brace consistency shinyquagsire23 2017-11-20 02:53:09 -0700
  • 472c408288 Add HIDMousebutton shinyquagsire23 2017-11-20 02:27:21 -0700
  • fc71b06161 Implement HID keys held/down/up shinyquagsire23 2017-11-20 02:17:11 -0700
  • 11ee3c188e Add HID shared memory structures and enums shinyquagsire23 2017-11-19 19:33:45 -0700
  • 3626b07879
    Merge pull request #21 from shinyquagsire23/bsd-sendto-setsockopt plutoo 2017-11-19 09:57:01 +0100
  • 3db154a8f0 Add bsdSendTo and bsdSetSockOpt shinyquagsire23 2017-11-19 01:45:15 -0700
  • c252b0a9d3 Until newlib gets updated plutoo 2017-11-18 01:29:08 +0100
  • 69ce83479a Mutex bringup plutoo 2017-11-17 16:14:28 +0100
  • 42fbabe9d1 Added nvQueryEvent(). yellows8 2017-11-15 22:34:07 -0500
  • 61ff5bd9a1
    Merge pull request #18 from devkitPro/dka64-a5-updates plutoo 2017-11-16 01:36:39 +0100
  • 00b5758912 Fix whitespace in fatal.c fincs 2017-11-14 19:33:29 +0100
  • 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. yellows8 2017-11-14 12:15:23 -0500
  • e6fee70ee4
    Merge pull request #20 from shinyquagsire23/nro-edge plutoo 2017-11-14 01:47:30 +0100
  • 14b56cd3de Adjust crt0 for NROs shinyquagsire23 2017-11-13 17:39:11 -0700
  • 116da355bb Fix NRO section addresses shinyquagsire23 2017-11-13 17:08:41 -0700
  • 5e0b10db70 Page-align stack size in threadCreate fincs 2017-11-14 01:14:36 +0100
  • 508a87ea5d Mark fatalSimple with __attribute__((noreturn)) fincs 2017-11-14 01:14:23 +0100
  • e836ee7bb9 Implement TLS/newlib reent support (untested) fincs 2017-11-14 00:29:28 +0100
  • 03674bba85 Implement lock_init{_recursive} newlib syscalls fincs 2017-11-08 20:37:50 +0100
  • f27685b7b3 Integrate newlib locks with libnx (R)Mutex (untested, incomplete) fincs 2017-11-08 18:54:23 +0100
  • 757349c5c4 Add -mtp=soft to ARCH setting fincs 2017-11-08 18:53:06 +0100
  • c58f0a84a8 Add -z nodynamic-undefined-weak to switch.specs fincs 2017-11-08 18:52:37 +0100
  • 25dc323199
    Merge pull request #19 from shinyquagsire23/elf2nro plutoo 2017-11-14 00:19:48 +0100
  • f0db4a4591 Elf->NRO support shinyquagsire23 2017-11-13 15:26:37 -0700
  • 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. yellows8 2017-11-13 17:18:07 -0500
  • 38cc12f02c Moved ioctl defines into a dedicated header, with some additional defines. Load the output error field for nv cmds. yellows8 2017-11-12 23:27:42 -0500
  • caa06c4d6c Implemented nv. Use TransactParcelAuto instead of TransactParcel when running on >=3.0.0. Added ipcQueryPointerBufferSize(). Minor other change. yellows8 2017-11-12 20:34:30 -0500
  • 4543558cd3 Add moar syscalls plutoo 2017-11-12 03:54:52 +0100
  • 41303238e2 Added svcGetProcessId. Fixed pid type for svcDebugActiveProcess. yellows8 2017-11-09 15:49:41 -0500
  • 80890a3b8e Fixed gfx and parcel issues. Parcel logging adjustments, etc. Changed out_parcel to parcel_reply. yellows8 2017-11-08 22:36:30 -0500
  • 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(). yellows8 2017-11-07 13:56:57 -0500
  • b5abd52b8b Implemented viSetLayerScalingMode(). Implemented vsync handling. Minor other change. yellows8 2017-11-05 00:50:58 -0400
  • d0c9d8294d Don't mind this plutoo 2017-11-05 04:02:00 +0100
  • 9a67c39fd0 Moved cache.s to arm/, implemented kernel/version.c, get rid of broken uart driver [for now] plutoo 2017-11-05 03:56:58 +0100
  • fd128b0ae2 Random shit plutoo 2017-11-04 01:29:16 +0100
  • 9866f8e8b2 Implemented binder. Added error LIBNX_BADINPUT. Set StrayLayer in viOpenLayer properly. yellows8 2017-11-04 18:28:13 -0400
  • 224f7151b3 Fixed vi issues. yellows8 2017-11-03 16:24:00 -0400
  • c5e6783870 Return _gfxInit() retval properly. _viOpenLayer and _viCreateStrayLayer are broken. yellows8 2017-11-03 13:30:35 -0400
  • ec1faa34ef Added display+layer support. Started 'gfx'. yellows8 2017-11-03 12:31:30 -0400
  • d62b909757 Added hid. yellows8 2017-10-27 17:10:48 -0400
  • 557d68139a Implemented applet. yellows8 2017-10-27 12:20:52 -0400
  • ff80e7e668 Added svcGetProcessList. yellows8 2017-10-21 11:31:23 -0400
  • 5fbf234afa Allow overriding the heaps. yellows8 2017-10-16 20:56:07 -0400