Commit Graph

44 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
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
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
b52787a4fa Added MemInfo struct, based on the libctru one. Added some debug svcs. 2017-09-18 14:41:53 -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
003e300e83 Introducing ipc domains, bsd stuff 2017-09-15 00:18:52 +02: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
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
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
yellows8
59290a5b87 Added svcQueryPhysicalAddress. 2017-09-09 16:27:55 -04:00
yellows8
1d20c999f1 Merge branch 'master' of gitlab.com:yellows8/libnx 2017-09-09 12:10:49 -04:00
yellows8
778d5fc4fb Added proper svcQueryIoMapping. 2017-09-09 12:10:45 -04:00
plutoo
92f8243a42 Merge branch 'master' of https://gitlab.com/yellows8/libnx 2017-09-09 14:57:44 +02:00
plutoo
0290410d06 Finish ipc implementation prototype 2017-09-09 14:57:14 +02:00
yellows8
346324cc5b Added svcCloseHandle, svcWaitSynchronization, and svcAcceptSession. 2017-09-09 01:30:16 -04:00
plutoo
dc376aa222 More ipc 2017-09-09 06:38:56 +02:00
yellows8
74fef6895a Added pfs0/nso building in switch_rules and added svcBreak. 2017-09-08 23:57:49 -04:00
plutoo
b39773b1d4 Trying to make first few steps towards relocations 2017-09-09 02:48:15 +02:00
plutoo
a8fecf77e1 stuff 2017-09-09 01:42:33 +02:00
yellows8
b86cec7924 Properly fixed getThreadLocalStorage. 2017-09-08 18:31:54 -04:00
yellows8
6c05799e8c Added result.h. 2017-09-08 18:05:50 -04:00
yellows8
3b48bab62a Fixed getThreadLocalStorage. 2017-09-08 17:56:32 -04:00
yellows8
45d7a25a20 Added types.h and switch.h. Moved svc.h and updated svc.h. 2017-09-08 17:53:58 -04:00