Commit Graph

495 Commits

Author SHA1 Message Date
yellows8
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. 2017-10-12 18:20:31 -04:00
yellows8
6aa7ac0ec8 Fixed name for endpoint get-report cmd. 2017-10-12 02:08:25 -04:00
yellows8
7333864957 Added usbDsGetState() and usbDsWaitReady(). 2017-10-10 11:48:39 -04:00
yellows8
d1ba4d4e2b Added osDCacheFlush() for use by usbds. 2017-10-10 00:44:00 -04:00
yellows8
6cea85f338 Added usbds. The post-buffer cmds require dcache-flush for the specified buffer, this isn't included yet. 2017-10-09 21:05:53 -04:00
yellows8
8308791835 Imported Doxyfile. Added svcClearEvent. Added more libnx errors to result.h. Updated viInitialize for using error LIBNX_ALREADYINITIALIZED. 2017-10-09 20:54:29 -04:00
plutoo
99bd9c76aa Attempt to introduce newlib heap implementation 2017-10-09 21:24:11 +02:00
plutoo
85538c9fb3 Introducing thread.. 2017-10-08 18:39:33 +02:00
plutoo
a9555bb5b5 Implement virtual memory allocator 2017-10-08 15:11:59 +02:00
plutoo
b82ad0b099 Nobodys perfect 2017-10-07 23:18:21 +02:00
plutoo
74b14f4c63 Introducing fs.. 2017-10-07 22:49:16 +02:00
plutoo
3926969ebc Minor changes
* Refactored system/*
* Implemented all of tmem
* Introduced virtmem
2017-10-07 15:32:57 +02:00
plutoo
bfc15bb4e1 Since people have been asking... 2017-10-02 21:52:50 +02:00
yellows8
34c0e7e88b Merge pull request #15 from devkitPro/build-fixes
Build fixes
2017-09-25 17:58:18 -04:00
Dave Murphy
0c9554dd1b ignore windows binaries too 2017-09-25 22:24:06 +01:00
Dave Murphy
6615c22a18 skip copy when $(BUILD_EXEFS_SRC) doesn't exist
closes #8
2017-09-25 22:22:52 +01:00
yellows8
85edf0b826 Check smHasInitialized() in smInitialize(). 2017-09-24 18:46:13 -04:00
yellows8
c14d9baffb Merge branch 'master' of github.com:switchbrew/libnx 2017-09-24 18:40:26 -04:00
yellows8
8a9d51db0c Added smExit and added sm to appInit/appExit. Added svcCreateSession. Added vi. 2017-09-24 18:40:13 -04:00
plutoo
2a981d5c69 Introducing mutex 2017-09-25 00:04:03 +02:00
plutoo
983c708830 Ipc fixes 2017-09-24 21:28:36 +02:00
plutoo
718d55f45a Added sm service commands 2017-09-24 19:49:24 +02:00
plutoo
6e84dee135 Introducing fatal 2017-09-24 18:49:27 +02:00
yellows8
5ef41f9e07 Merge pull request #14 from devkitPro/dynamic-parsing
Linkscript overhaul & .dynamic section parsing
2017-09-21 19:37:32 -04:00
fincs
1630fc1640 Implement proper .dynamic section parsing 2017-09-21 18:11:08 +02:00
fincs
6c14d225fd Disallow relocations in read-only segments 2017-09-21 01:11:28 +02:00
fincs
7cc1442588 elf2nso: Ignore non-PT_LOAD program headers 2017-09-20 21:29:50 +02:00
fincs
1e0d868b0c Linkscript: place .dynamic section into its own PT_DYNAMIC segment 2017-09-20 21:28:19 +02:00
fincs
a78a6ecc27 Move -fPIC to ARCH setting in Makefile 2017-09-20 19:53:21 +02:00
fincs
fe79be4a1d Link with -pie (position independent executable) 2017-09-20 19:52:28 +02:00
fincs
e31c140ca8 New linkscript including stuff from supplied AArch64 scripts 2017-09-20 19:52:16 +02:00
yellows8
dff4704b6f Merge pull request #10 from socraticbliss/patch-3
Update Readme
2017-09-20 11:33:54 -04:00
socraticbliss
b74a834810 Update Readme
Tools are now being made by the build script, therefore no need to run this command...
2017-09-20 10:00:21 -05:00
yellows8
6d84ef2700 Updated Makefiles for tools. 2017-09-19 22:29:31 -04:00
yellows8
ad6ce3d6f8 Merge pull request #7 from devkitPro/devkitA64-fixes
minor devkitA64 updates
2017-09-19 22:15:03 -04:00
Dave Murphy
090744f0f4 switch crt0 to pic multilib 2017-09-19 01:12:06 +01:00
yellows8
b52787a4fa Added MemInfo struct, based on the libctru one. Added some debug svcs. 2017-09-18 14:41:53 -04:00
Dave Murphy
98a82d71be use full path to gcc 2017-09-18 19:40:40 +01:00
Dave Murphy
a8c9b1e794 ignore generated files 2017-09-18 19:40:15 +01:00
Dave Murphy
dabcbd8702 copy tools to devkitA64 2017-09-18 19:25:42 +01:00
Dave Murphy
5d2dc55b93 allow CFLAGS override 2017-09-18 19:25:15 +01:00
Dave Murphy
1f1405da75 use devkitA64 path 2017-09-18 19:23:36 +01:00
plutoo
4fd0989bf3 Merge branch 'master' of https://gitlab.com/yellows8/libnx 2017-09-17 03:07:51 +02:00
plutoo
1f1b837004 Improving bsd 2017-09-17 03:07:22 +02:00
plutoo
94683c43d1 Improving heap init a little 2017-09-16 20:29:55 +02:00
yellows8
a1815dd7b9 Use custom funcs for handling init_array/fini_array. Updated crt0. 2017-09-16 12:55:18 -04:00
yellows8
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. 2017-09-16 10:52:10 -04:00
yellows8
50b52b1258 Added pragma to ipc.h. 2017-09-14 18:46:58 -04:00
plutoo
4fb09932f5 Merge branch 'master' of https://gitlab.com/yellows8/libnx 2017-09-15 00:19:33 +02:00
plutoo
003e300e83 Introducing ipc domains, bsd stuff 2017-09-15 00:18:52 +02:00