Commit Graph

  • 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
  • cc6005231e Added usbdev warning. yellows8 2017-10-16 19:35:41 -0400
  • 68dbb72b04 Added fsExit and fsGetServiceSession. Check whether initialization was already done in fsInitialize, etc. Added fs to __appInit/__appExit. yellows8 2017-10-14 21:45:59 -0400
  • 6280e1ba58 Introducing shmem plutoo 2017-10-14 15:00:52 +0200
  • 96dc3a4ff0 Added usbdev under new directory 'devices'. Added more libnx errors to result.h. Added usbDsParseReportData() and the structs for it. Changed the post-buffer funcs 'out' field to 'urbId'. Updated the get-report funcs for using the report-data structure. yellows8 2017-10-12 18:20:31 -0400
  • 6aa7ac0ec8 Fixed name for endpoint get-report cmd. yellows8 2017-10-12 02:08:25 -0400
  • 7333864957 Added usbDsGetState() and usbDsWaitReady(). yellows8 2017-10-10 11:48:39 -0400
  • d1ba4d4e2b Added osDCacheFlush() for use by usbds. yellows8 2017-10-10 00:44:00 -0400
  • 6cea85f338 Added usbds. The post-buffer cmds require dcache-flush for the specified buffer, this isn't included yet. yellows8 2017-10-09 21:05:53 -0400
  • 8308791835 Imported Doxyfile. Added svcClearEvent. Added more libnx errors to result.h. Updated viInitialize for using error LIBNX_ALREADYINITIALIZED. yellows8 2017-10-09 20:54:29 -0400
  • 99bd9c76aa Attempt to introduce newlib heap implementation plutoo 2017-10-09 00:41:19 +0200
  • 85538c9fb3 Introducing thread.. plutoo 2017-10-08 18:39:33 +0200
  • a9555bb5b5 Implement virtual memory allocator plutoo 2017-10-08 15:11:59 +0200
  • 7b4629cbbc Merge 93cd5cc520 into b82ad0b099 plutoo 2017-10-07 22:43:35 +0000
  • e102a8a5fe Merge 93cd5cc520 into cea635293a plutoo 2017-10-07 22:28:52 +0000
  • 93cd5cc520 Test2 plutoo 2017-10-08 00:44:57 +0200
  • cea635293a Test commit for ircbot 5 plutoo 2017-10-08 00:35:58 +0200
  • b82ad0b099 Nobodys perfect plutoo 2017-10-07 23:18:21 +0200
  • 74b14f4c63 Introducing fs.. plutoo 2017-10-07 22:49:16 +0200
  • 3926969ebc Minor changes plutoo 2017-10-07 15:32:08 +0200
  • bfc15bb4e1 Since people have been asking... plutoo 2017-10-02 21:52:50 +0200
  • 34c0e7e88b Merge pull request #15 from devkitPro/build-fixes yellows8 2017-09-25 17:58:18 -0400
  • 0c9554dd1b ignore windows binaries too Dave Murphy 2017-09-25 22:24:06 +0100
  • 6615c22a18 skip copy when $(BUILD_EXEFS_SRC) doesn't exist Dave Murphy 2017-09-25 22:22:24 +0100
  • 85edf0b826 Check smHasInitialized() in smInitialize(). yellows8 2017-09-24 18:46:13 -0400
  • c14d9baffb Merge branch 'master' of github.com:switchbrew/libnx yellows8 2017-09-24 18:40:26 -0400
  • 8a9d51db0c Added smExit and added sm to appInit/appExit. Added svcCreateSession. Added vi. yellows8 2017-09-24 18:40:13 -0400
  • 2a981d5c69 Introducing mutex plutoo 2017-09-25 00:04:03 +0200
  • 983c708830 Ipc fixes plutoo 2017-09-24 21:28:36 +0200
  • 718d55f45a Added sm service commands plutoo 2017-09-24 19:49:24 +0200
  • 6e84dee135 Introducing fatal plutoo 2017-09-24 18:49:27 +0200