Commit Graph

79 Commits

Author SHA1 Message Date
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
yellows8
030128b8fa Removed relocs-related options in switch.specs. 2017-09-13 18:05:05 -04:00
plutoo
fb1d6f4d5c Missed the header file 2017-09-12 02:01:10 +02:00
plutoo
22727bcf8d Got bsdConnect working properly 2017-09-12 01:59:07 +02:00
plutoo
c6ffc2a6e1 Ipc bugfix 2017-09-11 05:16:15 +02:00
plutoo
6c2d06f9a8 Fixing bugs. bsdInitialize currently fails with 0xe401, probably due to ipc bug 2017-09-11 04:38:38 +02:00
plutoo
d8eb347247 Fixed heap 2017-09-11 01:13:01 +02:00
plutoo
3b8da4cddc Fix makefile, readme 2017-09-10 23:35:59 +02:00
plutoo
ea07a84df6 Fixed crt0 bug 2017-09-10 23:26:56 +02:00
plutoo
d7413ea37e Initialize heap from crt0 2017-09-10 23:22:49 +02:00
plutoo
30650b5d69 Implemented heap, transfer memory, bsd cmd0 2017-09-10 23:17:57 +02:00
plutoo
0d8a5a6839 Restructuring a little 2017-09-10 20:19:32 +02:00
plutoo
4c3a4ba271 Fix bug in smGetService 2017-09-10 17:53:21 +02:00
plutoo
10b41de71e Merge branch 'master' of https://gitlab.com/yellows8/libnx 2017-09-10 17:40:29 +02:00
plutoo
e2f5a17ba9 Almost done with ipc + sm implementation 2017-09-10 17:40:01 +02:00
yellows8
cfe87868f4 Added svcQueryMemory. 2017-09-09 22:10:53 -04:00
plutoo
1e5ce77847 Merge branch 'master' of https://gitlab.com/yellows8/libnx 2017-09-10 00:10:59 +02:00