Commit Graph

  • 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 -05:00
  • 0bc5be0708 Fixed session-close error when using APPLET_TYPE_LibraryApplet. yellows8 2017-11-23 01:53:45 -05:00
  • 63f91dd215 Add hidTouchCount, hidTouchRead, KEY_TOUCH. Header tweaks. shinyquagsire23 2017-11-22 17:09:10 -07:00
  • aa458e59f9 Add hidGetControllerLayout shinyquagsire23 2017-11-20 12:29:41 -07:00
  • 94083114ba Added NRO building to buildscripts/. Added elf2nro install to tools/Makefile. yellows8 2017-11-21 15:58:58 -05:00
  • 9c5afe8302 Added svcOutputDebugString. yellows8 2017-11-21 00:35:08 -05:00
  • ffd10708ac Variable name adjustment, fixes, clarifications shinyquagsire23 2017-11-20 12:07:50 -07:00
  • 0f24d05077 Brace consistency shinyquagsire23 2017-11-20 02:53:09 -07:00
  • 472c408288 Add HIDMousebutton shinyquagsire23 2017-11-20 02:27:21 -07:00
  • fc71b06161 Implement HID keys held/down/up shinyquagsire23 2017-11-20 02:17:11 -07:00
  • 11ee3c188e Add HID shared memory structures and enums shinyquagsire23 2017-11-19 19:33:45 -07:00
  • 3626b07879 Merge pull request #21 from shinyquagsire23/bsd-sendto-setsockopt plutoo 2017-11-19 09:57:01 +01:00
  • 3db154a8f0 Add bsdSendTo and bsdSetSockOpt shinyquagsire23 2017-11-19 01:45:15 -07:00
  • c252b0a9d3 Until newlib gets updated plutoo 2017-11-18 01:29:08 +01:00
  • 69ce83479a Mutex bringup plutoo 2017-11-17 16:14:28 +01:00
  • 42fbabe9d1 Added nvQueryEvent(). yellows8 2017-11-15 22:34:07 -05:00
  • 61ff5bd9a1 Merge pull request #18 from devkitPro/dka64-a5-updates plutoo 2017-11-16 01:36:39 +01:00
  • 00b5758912 Fix whitespace in fatal.c fincs 2017-11-14 19:33:29 +01:00
  • 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 -05:00
  • e6fee70ee4 Merge pull request #20 from shinyquagsire23/nro-edge plutoo 2017-11-14 01:47:30 +01:00
  • 14b56cd3de Adjust crt0 for NROs shinyquagsire23 2017-11-13 17:39:11 -07:00
  • 116da355bb Fix NRO section addresses shinyquagsire23 2017-11-13 17:08:41 -07:00
  • 5e0b10db70 Page-align stack size in threadCreate fincs 2017-11-14 01:14:36 +01:00
  • 508a87ea5d Mark fatalSimple with __attribute__((noreturn)) fincs 2017-11-14 01:14:23 +01:00
  • e836ee7bb9 Implement TLS/newlib reent support (untested) fincs 2017-11-14 00:29:28 +01:00
  • 03674bba85 Implement lock_init{_recursive} newlib syscalls fincs 2017-11-08 20:37:50 +01:00
  • f27685b7b3 Integrate newlib locks with libnx (R)Mutex (untested, incomplete) fincs 2017-11-08 18:54:23 +01:00
  • 757349c5c4 Add -mtp=soft to ARCH setting fincs 2017-11-08 18:53:06 +01:00
  • c58f0a84a8 Add -z nodynamic-undefined-weak to switch.specs fincs 2017-11-08 18:52:37 +01:00
  • 25dc323199 Merge pull request #19 from shinyquagsire23/elf2nro plutoo 2017-11-14 00:19:48 +01:00
  • f0db4a4591 Elf->NRO support shinyquagsire23 2017-11-13 15:26:37 -07:00
  • 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 -05:00
  • 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 -05:00
  • 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 -05:00
  • 4543558cd3 Add moar syscalls plutoo 2017-11-12 03:54:52 +01:00
  • 41303238e2 Added svcGetProcessId. Fixed pid type for svcDebugActiveProcess. yellows8 2017-11-09 15:49:41 -05:00
  • 80890a3b8e Fixed gfx and parcel issues. Parcel logging adjustments, etc. Changed out_parcel to parcel_reply. yellows8 2017-11-08 22:36:30 -05:00
  • 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 -05:00
  • b5abd52b8b Implemented viSetLayerScalingMode(). Implemented vsync handling. Minor other change. yellows8 2017-11-05 00:50:58 -04:00
  • d0c9d8294d Don't mind this plutoo 2017-11-05 04:02:00 +01:00
  • 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 +01:00
  • fd128b0ae2 Random shit plutoo 2017-11-04 01:29:16 +01:00
  • 9866f8e8b2 Implemented binder. Added error LIBNX_BADINPUT. Set StrayLayer in viOpenLayer properly. yellows8 2017-11-04 18:28:13 -04:00
  • 224f7151b3 Fixed vi issues. yellows8 2017-11-03 16:24:00 -04:00
  • c5e6783870 Return _gfxInit() retval properly. _viOpenLayer and _viCreateStrayLayer are broken. yellows8 2017-11-03 13:30:35 -04:00
  • ec1faa34ef Added display+layer support. Started 'gfx'. yellows8 2017-11-03 12:31:30 -04:00
  • d62b909757 Added hid. yellows8 2017-10-27 17:10:48 -04:00
  • 557d68139a Implemented applet. yellows8 2017-10-27 12:20:52 -04:00
  • ff80e7e668 Added svcGetProcessList. yellows8 2017-10-21 11:31:23 -04:00
  • 5fbf234afa Allow overriding the heaps. yellows8 2017-10-16 20:56:07 -04:00
  • cc6005231e Added usbdev warning. yellows8 2017-10-16 19:35:41 -04:00
  • 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 -04:00
  • 6280e1ba58 Introducing shmem plutoo 2017-10-14 15:00:52 +02:00
  • 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 -04:00
  • 6aa7ac0ec8 Fixed name for endpoint get-report cmd. yellows8 2017-10-12 02:08:25 -04:00
  • 7333864957 Added usbDsGetState() and usbDsWaitReady(). yellows8 2017-10-10 11:48:39 -04:00
  • d1ba4d4e2b Added osDCacheFlush() for use by usbds. yellows8 2017-10-10 00:44:00 -04:00
  • 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 -04:00
  • 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 -04:00
  • 99bd9c76aa Attempt to introduce newlib heap implementation plutoo 2017-10-09 00:41:19 +02:00
  • 85538c9fb3 Introducing thread.. plutoo 2017-10-08 18:39:33 +02:00
  • a9555bb5b5 Implement virtual memory allocator plutoo 2017-10-08 15:11:59 +02:00
  • b82ad0b099 Nobodys perfect plutoo 2017-10-07 23:18:21 +02:00
  • 74b14f4c63 Introducing fs.. plutoo 2017-10-07 22:49:16 +02:00
  • 3926969ebc Minor changes plutoo 2017-10-07 15:32:08 +02:00
  • bfc15bb4e1 Since people have been asking... plutoo 2017-10-02 21:52:50 +02:00
  • 34c0e7e88b Merge pull request #15 from devkitPro/build-fixes yellows8 2017-09-25 17:58:18 -04:00
  • 0c9554dd1b ignore windows binaries too Dave Murphy 2017-09-25 22:24:06 +01:00
  • 6615c22a18 skip copy when $(BUILD_EXEFS_SRC) doesn't exist Dave Murphy 2017-09-25 22:22:24 +01:00
  • 85edf0b826 Check smHasInitialized() in smInitialize(). yellows8 2017-09-24 18:46:13 -04:00
  • c14d9baffb Merge branch 'master' of github.com:switchbrew/libnx yellows8 2017-09-24 18:40:26 -04:00
  • 8a9d51db0c Added smExit and added sm to appInit/appExit. Added svcCreateSession. Added vi. yellows8 2017-09-24 18:40:13 -04:00
  • 2a981d5c69 Introducing mutex plutoo 2017-09-25 00:04:03 +02:00
  • 983c708830 Ipc fixes plutoo 2017-09-24 21:28:36 +02:00
  • 718d55f45a Added sm service commands plutoo 2017-09-24 19:49:24 +02:00
  • 6e84dee135 Introducing fatal plutoo 2017-09-24 18:49:27 +02:00
  • 5ef41f9e07 Merge pull request #14 from devkitPro/dynamic-parsing yellows8 2017-09-21 19:37:32 -04:00
  • 1630fc1640 Implement proper .dynamic section parsing fincs 2017-09-21 01:12:11 +02:00
  • 6c14d225fd Disallow relocations in read-only segments fincs 2017-09-21 01:11:28 +02:00
  • 7cc1442588 elf2nso: Ignore non-PT_LOAD program headers fincs 2017-09-20 21:29:50 +02:00
  • 1e0d868b0c Linkscript: place .dynamic section into its own PT_DYNAMIC segment fincs 2017-09-20 21:28:07 +02:00
  • a78a6ecc27 Move -fPIC to ARCH setting in Makefile fincs 2017-09-20 19:53:21 +02:00
  • fe79be4a1d Link with -pie (position independent executable) fincs 2017-09-20 19:52:28 +02:00
  • e31c140ca8 New linkscript including stuff from supplied AArch64 scripts fincs 2017-09-20 19:52:16 +02:00
  • dff4704b6f Merge pull request #10 from socraticbliss/patch-3 yellows8 2017-09-20 11:33:54 -04:00
  • b74a834810 Update Readme socraticbliss 2017-09-20 10:00:21 -05:00
  • 6d84ef2700 Updated Makefiles for tools. yellows8 2017-09-19 22:29:31 -04:00
  • ad6ce3d6f8 Merge pull request #7 from devkitPro/devkitA64-fixes yellows8 2017-09-19 22:15:03 -04:00
  • 090744f0f4 switch crt0 to pic multilib Dave Murphy 2017-09-19 01:12:06 +01:00
  • b52787a4fa Added MemInfo struct, based on the libctru one. Added some debug svcs. yellows8 2017-09-18 14:41:53 -04:00
  • 98a82d71be use full path to gcc Dave Murphy 2017-09-18 19:40:40 +01:00
  • a8c9b1e794 ignore generated files Dave Murphy 2017-09-18 19:40:15 +01:00
  • dabcbd8702 copy tools to devkitA64 Dave Murphy 2017-09-18 19:25:42 +01:00
  • 5d2dc55b93 allow CFLAGS override Dave Murphy 2017-09-18 19:25:15 +01:00
  • 1f1405da75 use devkitA64 path Dave Murphy 2017-09-18 19:23:36 +01:00
  • 4fd0989bf3 Merge branch 'master' of https://gitlab.com/yellows8/libnx plutoo 2017-09-17 03:07:51 +02:00
  • 1f1b837004 Improving bsd plutoo 2017-09-17 03:07:22 +02:00
  • 94683c43d1 Improving heap init a little plutoo 2017-09-16 20:29:55 +02:00
  • a1815dd7b9 Use custom funcs for handling init_array/fini_array. Updated crt0. yellows8 2017-09-16 12:55:18 -04:00
  • 19f0b5a828 Added sysinit/exit code similar to libctru, with updated crt0. Moved svcExitProcess into the library. Changed HEAP_SIZE. Adjusted some svc.s formatting. Added svcGetInfo. Added svcSleepThread, device SVCs, svcCallSecureMonitor, and the struct for svcCallSecureMonitor, based on code from naehrwert. yellows8 2017-09-16 10:52:10 -04:00