plutooo
4bd1d3313c
Fix nvgfx, add nvinfo
2018-08-31 13:05:21 +02:00
plutooo
f6aa4e3d52
Minimize nvgfx.c
2018-08-31 13:05:21 +02:00
plutooo
b24f6babbb
Make compilable
2018-08-31 13:05:21 +02:00
plutooo
61ebd9ddfd
Started implementing channels
2018-08-31 13:05:21 +02:00
plutooo
9a759c26f5
Rename nvmap->buffer
2018-08-31 13:05:21 +02:00
plutooo
04751087ca
Stylechanges to binder, and implemented gpu address space
2018-08-31 13:05:21 +02:00
plutooo
cd753b1b58
Implemented nvmap.c
2018-08-31 13:05:21 +02:00
plutooo
d8bb563546
Renamed gfx/ to display/
2018-08-31 13:05:21 +02:00
plutooo
978c3f7f15
Style fixes, use structs for parsing parcels, renamed bufferProducer to bq
2018-08-31 13:05:21 +02:00
fincs
772c839c8c
Add audio/ ("AudioDriver"), a high level wrapper around audren
2018-08-31 13:05:21 +02:00
fincs
6fbf25fb62
Add audren:u IPC service wrapper with structure definitions
2018-08-31 13:05:21 +02:00
fincs
ce23a139f4
arm/counter.h: add armGetSystemTickFreq
2018-08-31 13:05:21 +02:00
fincs
915879a362
Fix #154
2018-08-24 16:24:24 +02:00
XorTroll
722450ae25
Add bpc service with ShutdownSystem and RebootSystem commands ( #144 )
2018-08-24 16:21:16 +02:00
Juan Antonio Hernández Cánovas
377683acd5
Add rwlockInit ( #155 )
2018-08-24 16:20:01 +02:00
fincs
9fa3873fc9
Fix comments in svc.h & thread.h
2018-08-06 17:58:31 +02:00
fincs
1e349b6ce8
Change CondVar API to have the mutex be passed to condvarWait* instead of condvarInit
2018-08-05 14:31:31 +02:00
fincs
062ef2b188
Add svcGetThreadCoreMask and svcSetThreadCoreMask
2018-08-05 14:30:08 +02:00
fincs
0589b39f7a
Add arm/counter.h with armGetSystemTick (supersedes svcGetSystemTick)
2018-08-05 14:29:47 +02:00
fincs
314050065a
Remove ALIGN in favor of C11/C++11 alignas, guard other #defines against redefinition
2018-08-05 13:23:08 +02:00
plutooo
9fc5e85c88
Event bringup
2018-08-05 13:23:08 +02:00
Rajko Stojadinovic
d726c7c55c
Implement some missing fs functions ( #141 )
2018-07-28 17:49:14 +02:00
klockee
27b8868646
Wrapped and implemented fsOpenBisFilesystem() ( #140 )
2018-07-28 17:08:42 +02:00
Rajko Stojadinovic
01fb4218ba
Add ncmContentStorageGetPlaceHolderPath and ncmContentStorageCleanupAllPlaceHolder
2018-07-27 18:14:43 +02:00
Rajko Stojadinovic
1b7acba590
add ncmContentStorageDisableForcibly and ncmContentMetaDatabaseDisableForcibly
2018-07-27 18:14:43 +02:00
Rajko Stojadinovic
c3278ffd34
Add ncmContentStorage functions needed for writing content
2018-07-27 18:14:43 +02:00
Rajko Stojadinovic
e1d50dc129
Fix signature of ncmContentMetaDatabaseSet/Get, add ncmContentMetaDatabaseList ( #134 )
...
* Fix ncmContentMetaDatabaseSet/ncmContentMetaDatabaseGet, add ncmContentMetaDatabaseList
2018-07-25 20:15:54 -04:00
fincs
37689b53b6
Add #pragma once to arm/atomics.h
2018-07-24 16:54:07 +02:00
Joel16
2bcede91ba
Add fsFsCleanDirectoryRecursively
2018-07-19 11:33:56 -04:00
tesnos
9530da3237
Add fsOpenBisStorage and fsStorageGetSize ( #130 )
...
* add fsOpenBisStorage and fsStorageGetSize
2018-07-19 11:16:38 -04:00
Adubbz
e4c3f7d3a2
Added ncm commands ( #129 )
2018-07-07 04:03:48 +02:00
Daniel Edwards
ffc404a7f6
Added accountGetUserCount and accountListAllUsers ( #103 )
...
* Added accountGetUserCount and accountListAllUsers
2018-07-01 16:34:21 -04:00
Kevoot
fbe2c1f2ce
Add Semaphore ( #125 )
2018-07-01 00:45:41 +02:00
SciresM
97b295acbc
Fatal: Only exit process if required, exit cleanly. ( #127 )
...
* Fatal: Only exit process if required, exit cleanly.
2018-06-26 11:28:07 -04:00
fincs
a9c0b213ff
Add missing #pragma once to kernel/condvar.h
2018-06-26 13:12:44 +02:00
SciresM
dbbaf64ad3
ns:dev: Add TerminateProcess and TerminateProgram ( #122 )
...
* ns:dev: Add TerminateProcess and TerminateProgram
2018-06-25 12:02:08 -04:00
Michael Scire
9770f4bb18
Implement svcGetThreadList
2018-06-25 11:18:07 -04:00
Michael Scire
481d27d1f1
Implement svcGetDebugThreadParam
2018-06-25 11:18:07 -04:00
SciresM
773ff46543
Improve IpcParsedCommand domain message info. ( #112 )
...
* Improve IpcParsedCommand domain message info.
2018-06-25 11:08:48 -04:00
Michael Scire
c26e410ed8
Fatal: Make fatalSimple not create report, add FatalType enum
2018-06-25 12:33:15 +02:00
Joel16
eb3c264e88
Add setsysSetColorSetId and region codes
2018-06-13 19:34:20 -04:00
Somebody Whoisbored
ad4af954c2
Added nifm service ( #110 )
...
* Added nifm service
* Properly implemented gethostid
* Implemented gethostname
2018-06-07 18:00:51 -04:00
Joel
3c6344d7f3
Add more set:sys Get*/Set* functions ( #108 )
...
* Use setsysGetFlag/setsysSetFlag instead of setsysGet*/setsysSet*.
* Added more setsys Flags (now handled via an enum).
2018-06-07 16:06:36 -04:00
Joel
1abfb02460
Add nsGetSpace commands ( #111 )
...
* Add nsGetSpace commands
2018-06-05 22:15:52 -04:00
Adubbz
d3889fb9ed
Added a few misc IPC wrappers ( #107 )
...
* Added a few misc IPC wrappers
2018-06-04 22:05:51 -04:00
Joel
deab92d486
Add some setsysGet* functions ( #98 )
...
* Add some setsysGet* functions
2018-05-22 11:33:45 -04:00
yellows8
b11288ea44
In jitTransitionToWritable() and jitTransitionToExecutable(), only run the JitType_CodeMemory handling code when it's actually needed. Actually free j->rx_addr in jitClose() for JitType_JitMemory.
2018-05-21 16:59:49 -04:00
yellows8
a12eb11eab
Sync jit SVC names with wiki + updated the comment for JitType_JitMemory in jit.h.
2018-05-21 14:32:02 -04:00
Joel
c28cae95cd
Add setGetSerialNumber ( #95 )
2018-05-19 16:50:00 +02:00
yellows8
df203f0697
Added hidMergeSingleJoyAsDualJoy().
2018-05-18 18:42:48 -04:00
Dave Murphy
28ebb9ed0c
implement nxlink stdio redirect ( #94 )
2018-05-17 00:22:47 +02:00
Dave Murphy
71036319a7
translate crlf eol markers to lf for consistency
2018-05-15 12:27:25 +02:00
Matthew Bell
61d4140773
Implement pm:info ( #88 )
...
* Added pm:info and GetTitleId
2018-05-14 21:09:43 -04:00
yellows8
05cde6649b
Updated svcGetDebugEvent and svcContinueDebugEvent in svc.h.
2018-05-14 12:51:06 -04:00
yellows8
165932fbde
Added a comment for fsdevCommitDevice().
2018-05-12 11:56:04 -04:00
yellows8
02ff4915d9
Initialize cmdreq buf[1] in ipcCloseSession().
2018-05-11 11:25:46 -04:00
fincs
6bc917fae2
ipc.h: don't implicitly cast int to BufferType
2018-05-09 02:44:40 +02:00
TuxSH
635599491c
Add ipcAddSendSmart, ipcAddRecvSmart, use where applicable
2018-05-08 16:17:13 -04:00
Michael Scire
6f248b9b9e
Add FS commands for SD card state change detection.
2018-05-08 13:29:56 +02:00
Michael Scire
dc133ab99f
Implement all Loader Services.
2018-05-07 17:04:59 +02:00
Michael Scire
836ec09917
Implement CSRNG services
2018-05-07 17:04:59 +02:00
Michael Scire
24b42cb6a3
Implement SPL services
2018-05-07 17:04:59 +02:00
Michael Scire
1cc0ac7a94
Revise LR API to use actual LR function names
2018-05-07 17:04:59 +02:00
Michael Scire
65cca4bf13
Add support for fsp-pr.
2018-05-07 17:04:59 +02:00
Michael Scire
ef47389228
Implement svcMap/UnmapPhysicalMemory(Unsafe), svcSetUnsafeLimit
2018-05-07 14:03:27 +02:00
Michael Scire
8496264811
Fix definition for svcCreateEvent
2018-05-07 13:54:23 +02:00
Michael Scire
7b5d1b1bf3
Implement sm:m.
2018-05-04 01:50:22 +02:00
SciresM
0ac5743c1f
Add ResourceLimit SVCs, svcGetProcessInfo ( #76 )
2018-05-04 00:59:17 +02:00
fincs
2818c99dea
Revise fsdev initialization, see details:
...
- Removed fsdevInit/Exit
- Now automatically initializing fsdev state on first mount
- Added fsdevMountSdmc (replaces fsdevInit)
- Added fsdevUnmountAll (replaces fsdevExit)
2018-05-01 19:06:14 +02:00
hexkyz
b2b8e1ec67
Implement more SVCs ( #74 )
...
Implement svcSetThreadPriority.
Implement svcGetCurrentProcessorNumber.
Implement svcSignalEvent.
Implement svcSendSyncRequestWithUserBuffer.
Implement svcSendAsyncRequestWithUserBuffer.
Implement svcGetThreadId.
Implement svcReplyAndReceiveWithUserBuffer.
Implement svcCreateEvent.
Implement svcReadWriteRegister.
Implement svcCreateInterruptEvent.
Implement svcMapDeviceAddressSpaceByForce.
Implement svcTerminateProcess.
Fix svcMapDeviceAddressSpaceAligned.
Fix svcUnmapDeviceAddressSpace.
2018-04-30 00:43:52 +02:00
yellows8
c2b4f586f2
Merge branch 'master' of github.com:switchbrew/libnx
2018-04-25 12:49:10 -04:00
yellows8
6e1cc4dc1e
Added plGetSharedFontByType(). Added _plRequestLoadWait which is used internally for both plGetSharedFontByType() and plGetSharedFont(). Moved offset/size validation code in pl into a dedicated func.
2018-04-25 12:49:01 -04:00
SciresM
d5bce6b0a6
Implement svcCreatePort. ( #73 )
...
* Implement svcCreatePort
* Implement svcConnectToPort
* Implement svcUnmapProcessMemory
* Implement svcGetSystemInfo
2018-04-24 18:33:46 -04:00
yellows8
9bb649b5e2
plFontData -> PlFontData and fixed @file in pl.h.
2018-04-24 14:08:12 -04:00
yellows8
07759f38d9
Added pl.
2018-04-23 21:15:32 -04:00
Michael Scire
cea3db77b1
Services: Add fsp-ldr, add lr/fsp-ldr to <switch.h>
2018-04-22 01:15:28 +02:00
SciresM
f40f544a07
IPC: Improve information available in IpcParsedCommand ( #72 )
...
* IPC: Add C descriptor support to IpcParsedCommand
* Add Command Type to IpcParsedCommand
* Replace constants with IpcCommandType where relevant.
* Add RawWithoutPadding pointer, required for serverside deserialization calculations.
2018-04-22 01:14:46 +02:00
Michael Scire
b18854555a
IPC: Fix incorrect parsing of X descriptor addresses
2018-04-22 01:13:49 +02:00
yellows8
f727aa669a
Added the remaining (pre-4.0.0) hid-serv vibration cmds.
2018-04-19 15:17:22 -04:00
yellows8
37bb9a6b7f
Added nacpGetLanguageEntry and SetLanguage_Total.
2018-04-18 23:38:01 -04:00
Michael Scire
d950853b4a
LR: Implement wrappers for some commands
2018-04-18 14:06:15 +02:00
yellows8
7d28c35cb4
Fixed filename comment in nacp.h.
2018-04-15 17:43:21 -04:00
plutooo
daf819cb75
Stylefixes
2018-04-15 23:28:28 +02:00
yellows8
c5bc2ec77a
Changed nsApplicationControlData to NsApplicationControlData.
2018-04-15 17:00:50 -04:00
yellows8
c82f2cea00
Added ns impl, and added nsGetApplicationControlData. Imported nacp.h from nx-hbmenu with adjustments.
2018-04-15 15:00:11 -04:00
yellows8
8091db8931
Added FsStorageId. Added pmshell init/exit and pmshellLaunchProcess.
2018-04-12 02:52:49 -04:00
yellows8
a3baa0eeb1
Allow using multiple interfaces with usbComms. Added usbComms Ex funcs. Use RwLock with usbComms. Various other usbComms changes.
2018-04-11 17:18:23 -04:00
yellows8
58835fae1a
Use Service for AccountProfile.
2018-04-10 17:06:33 -04:00
yellows8
29211c1800
Use Service for all fs sessions. This fixes an issue with savedata commit.
2018-04-06 12:39:57 -04:00
yellows8
7f158396ad
Added impl for accountProfile*. If the inital smGetService fails, attempt to use 'acc:u0'.
2018-03-28 19:31:36 -04:00
yellows8
26d2e6d7f4
Implemented FsSaveDataIterator (aka ISaveDataInfoReader). In fs*Close(), set the handle to INVALID_HANDLE after closing the handle. Changed ContentStorageId in FsSave to SaveDataType. Added enums FsSaveDataSpaceId and FsSaveDataType. Removed FS_MOUNTSAVEDATA_INVAL_DEFAULT/FS_MOUNTSYSTEMSAVEDATA_INVAL_DEFAULT.
2018-03-26 14:45:12 -04:00
plutoo
6c72bf8273
Detect 5.0.0 properly
2018-03-23 19:01:09 +01:00
yellows8
bf216aa667
Added mounting for SystemSaveData.
2018-03-22 22:56:38 -04:00
Dave Murphy
21d27b935e
modularise nxlink code
2018-03-18 20:51:49 +01:00
yellows8
213676c5f8
Added hidGetHandheldMode().
2018-03-15 22:24:52 -04:00
yellows8
0d5bf5ab7b
Added more comments for hidSetNpadJoyAssignmentModeDual().
2018-03-15 11:39:57 -04:00
yellows8
cd14f40a19
Updated hid.h comment.
2018-03-15 11:23:20 -04:00
yellows8
5e9869cc41
Added hidSendVibrationValues(). Improved hidInitializeVibrationDevices(), including changing the HidControllerLayoutType param to HidControllerType.
2018-03-14 21:47:21 -04:00
cpasjuste
4677266d53
ipc.h: fix BufferType invalid conversion (c++)
2018-03-14 13:34:00 +01:00
yellows8
49bea43cce
Added envGetLastLoadResult().
2018-03-11 17:40:28 -04:00
plutoo
e112ab6968
Fix ipc session close race properly
2018-03-11 13:21:36 +01:00
plutoo
1dfb1beafb
Ipc bugfix
2018-03-10 17:49:17 +01:00
plutoo
965c7cdd47
Irs stylefix
2018-03-10 14:48:15 +01:00
plutoo
1d34db8497
Improve atomics
2018-03-10 14:41:06 +01:00
plutoo
a102c64341
Introduce atomics.c, refcounting on all services
2018-03-10 14:33:40 +01:00
plutoo
d54db1ac16
Includefix
2018-03-10 14:05:14 +01:00
plutoo
d12e99e3ad
Move ipc.h to kernel/
2018-03-10 14:03:29 +01:00
plutoo
11c77cb654
Clean up
2018-03-10 12:13:57 +01:00
plutoo
e41ab0db74
More ipc stuff
2018-03-10 11:47:14 +01:00
plutoo
f32f28b451
Ipc improvements
2018-03-10 11:28:40 +01:00
Kostas Missos
e3666b4705
[hidvib] Rename vibration variables ( #62 )
2018-03-07 12:23:43 -05:00
yellows8
d1cefabd12
Renamed hidInitializeVibrationDevice() to hidInitializeVibrationDevices(), and added support for optionally returning 2 handles + other changes.
2018-03-07 01:16:35 -05:00
yellows8
cbaa0e359b
Added hidPermitVibration() and hidIsVibrationPermitted().
2018-03-06 23:38:33 -05:00
Kostas Missos
e243e4507e
[irs] Name image transfer config variables ( #61 )
...
* [irs] Name image transfer config variables
2018-03-06 19:33:45 -05:00
yellows8
a3933c7a85
Added hid vibration.
2018-03-06 18:08:57 -05:00
yellows8
e7a4eba71c
Added hidSetNpadJoyAssignmentModeSingleByDefault() and hidSetNpadJoyAssignmentModeDual(). Check serviceIsActive() in hidExit(). Use hidSetNpadJoyAssignmentModeDual() for all controllers during hidInitialize()/hidExit().
2018-03-05 22:37:37 -05:00
plutoo
c7b0e7c891
Stylefix
2018-03-05 21:07:53 +01:00
Mike H
208daf6344
Audio input implementation and fixes ( #60 )
...
* Implemented audin service and fixed released audio buffer handling
2018-03-04 12:20:31 -05:00
yellows8
07ec16a8e7
Implemented more irs.
2018-03-01 19:14:45 -05:00
yellows8
e9f07a314a
Removed warning comment from romfs_dev.h, romfs example README mentions this.
2018-02-28 19:44:53 -05:00
yellows8
6dd76f6288
Sync AudioOutBuffer comments with wiki. Updated audoutPlayBuffer() comments. Moved the waiting/post-append code from audoutPlayBuffer() into new func audoutWaitPlayFinish(). Removed '&' from code setting audoutAppendAudioOutBuffer() raw->tag.
2018-02-28 19:37:17 -05:00
yellows8
517c76c05c
Added Module_Kernel and KernelError_Timeout to result.h.
2018-02-28 19:19:45 -05:00
plutoo
20f3e87d11
Change type of TryLock to bool
2018-02-28 18:22:28 +01:00
Jules Blok
e966f21800
mutex: Add TryLock() variants.
2018-02-28 18:00:03 +01:00
TuxSH
a622ae5593
Add domain handling to sm.h
2018-02-28 17:59:46 +01:00
TuxSH
d33b26016d
Add documentation to bsd.h and sfdnsres.h, etc.
2018-02-27 19:14:44 +01:00
TuxSH
5242771903
Import ipc.h bugfixes from #44
2018-02-27 19:14:44 +01:00
TuxSH
372021e226
Add missing include in tmem.h
2018-02-27 19:14:44 +01:00
TuxSH
dcf3e56300
Implement netdb.h functions, fix bugs, etc.
2018-02-27 19:14:44 +01:00
TuxSH
b8fb1722d0
Add sfdnsres
2018-02-27 19:14:44 +01:00
TuxSH
0b92bb76b0
Add newlib wrapper for sockets...
...
... fix several bugs, etc.
2018-02-27 19:14:44 +01:00
TuxSH
88dbc66d01
Handle result code+errno properly...
...
also make fcntl and ioctl non-variadic for convenience for the newlib wrapper
2018-02-27 19:14:44 +01:00
TuxSH
a3e90d68a0
Add all the needed headers from FreeBSD...
...
... clean them up, also fix some bugs in bsd.c/h, etc.
2018-02-27 19:14:44 +01:00
TuxSH
4d78f12871
Implement most bsd:u/s service commands
2018-02-27 19:14:44 +01:00
yellows8
f1fc00c516
Updated comments for SetLanguage.
2018-02-26 15:17:21 -05:00
yellows8
f07d09aeb0
Added appletGetDesiredLanguage(). In set-serv('set'), added support for all language/region commands, etc.
2018-02-26 12:34:01 -05:00
plutoo
d3cc781bf6
Stylefix for nro
2018-02-26 02:10:49 +01:00
Dave Murphy
0bbfbadc39
switch to 16x16 console font
2018-02-25 15:49:25 +01:00
yellows8
b964c69da8
Added comments regarding direct FS usage in fs.h.
2018-02-24 21:38:53 -05:00
yellows8
e24c20f9e7
Added Nro prefix to Asset in nro.h + updated romfs_dev for this.
2018-02-24 15:39:30 -05:00
yellows8
4c1b09d6b9
Check for invalid handle in fs*Close(). Added fsOpenDataStorageByCurrentProcess(), fsStorageRead(), and fsStorageClose(). Added fsdevGetDefaultFileSystem(). Imported nro.h from nx-hbmenu. Implemented proper RomFS support.
2018-02-23 22:29:43 -05:00
yellows8
3d0ae50a89
Updated comment for the GfxMode used by console.
2018-02-23 12:59:51 -05:00
yellows8
2022d545dc
Store pixel-format in a global instead of hard-coding it and added a disabled func for setting it. Added a pixel-format comment to gfx.h.
2018-02-22 21:49:55 -05:00
yellows8
3c4c35e6e5
Added gfxSetDrawFlip() and gfxConfigureTransform().
2018-02-22 20:31:51 -05:00
plutoo
ff8a95b47d
Headerfail
2018-02-22 08:48:05 +01:00
plutoo
60876ef3f3
Eyeballin set:sys
2018-02-22 08:44:12 +01:00
shinyquagsire23
954a48b8fe
Add hidMouseRead, allows mouse position/velocity/scrollwheel velocity to be fetched
2018-02-22 06:48:00 +01:00
plutoo
f8a86bf7b6
Merge branch 'master' of https://github.com/switchbrew/libnx
2018-02-21 08:38:49 +01:00
plutoo
e25aae5a97
Workaround for burn in issue
2018-02-21 08:38:22 +01:00
yellows8
d61154f0e5
Added timeSetCurrentTime() and attempt to initialize time-serv with 'time:s' first.
2018-02-21 00:26:21 -05:00
yellows8
14263ddd78
Initial time support, timezones are not handled yet.
2018-02-20 18:17:32 -05:00
Mike H
cde07068dd
Return result from audoutPlayBuffer ( #46 )
...
* Return result from audoutPlayBuffer
* Add alignment note in header file
2018-02-19 16:43:58 -05:00
yellows8
a1462c8b0b
Fixed size of bufferProducerGraphicBuffer and removed the union for it. Removed an invalid comment from gfx.c, since bufferProducerRequestBuffer() is used after bufferProducerGraphicBufferInit().
2018-02-17 19:35:04 -05:00
Mike H
0e40828c19
Initial audio support ( #43 )
...
Initial audio support
2018-02-17 11:40:59 -05:00
yellows8
3c6b8bb6dd
Removed envGetArgc() and the related code, since it was removed from wiki-ABI. Updated a comment in argv.c.
2018-02-16 22:40:53 -05:00
yellows8
3f90f3b64c
Align width/height to 4 in gfxInitResolution() and gfxConfigureCrop(). Updated the image-transfer code in gfxFlushBuffers() for removing the width misalignment handling.
2018-02-16 20:13:47 -05:00
yellows8
67af341594
Fixed romfs_dir struct for the parent field and fixed romfs_dev.h formatting.
2018-02-13 17:50:21 -05:00
yellows8
7fa0397c16
Fixed formatting for GfxMode docs.
2018-02-13 00:08:23 -05:00
yellows8
ea612e3060
Added text-console note to GfxMode comment.
2018-02-12 17:52:10 -05:00
yellows8
13b4c74723
Updated gfx API. Replaced gfxSetDoubleBuffering() with gfxSetMode(), and added GfxMode enum. Updated gfx.h comments. Updated gfxGetFramebufferDisplayOffset() for using the aligned width. The new GfxMode_LinearDouble is now used by default, apps must not use gfxGetFramebufferDisplayOffset() with this mode. Apps using gfxGetFramebufferDisplayOffset() must be updated.
2018-02-12 16:08:25 -05:00
yellows8
4b2a32af59
Imported transform enums from Android and updated g_gfxQueueBufferData.transform for this.
2018-02-12 11:58:54 -05:00
yellows8
1d7556f583
Updated ioctl.h comment.
2018-02-11 18:29:30 -05:00
TuxSH
507bf71a7b
Fix NV ioctl nameclashes...
...
...with bsd ioctls (coming soon) & C++ stdlib
2018-02-10 23:02:05 +01:00
fincs
7a07d2c010
gfx/gfx.h: Fix doxygen formatting
2018-02-10 22:40:11 +01:00
fincs
95592641f5
services/: Add Doxygen file headers; document sm.h
2018-02-10 22:40:11 +01:00
fincs
6c79424f76
kernel/svc.h: Add descriptions/basic info for the rest of syscalls
2018-02-10 22:40:11 +01:00
fincs
521bc1c5c9
Document kernel/condvar.h
2018-02-10 22:40:11 +01:00
fincs
78ff885390
Rename __in/out/inout to _in_/etc to avoid problems with C++ system headers
2018-02-10 22:40:11 +01:00
fincs
32bdb14b1f
Add author/copyright info to runtime/devices/romfs_dev.h
2018-02-10 22:40:11 +01:00
fincs
e295994dd2
Begin documenting kernel/svc.h. SVCs classified in categories.
2018-02-10 22:40:11 +01:00
fincs
e54aadfc84
kernel/svc.h: Add MemoryType, MemoryState, MemoryAttribute
2018-02-10 22:40:11 +01:00
fincs
c8f62d94a3
Documentation: address second batch of comments ( #38 )
2018-02-10 22:40:11 +01:00
fincs
c20d372946
Clean up types.h:
...
- Move Permission to kernel/svc.h (also fix enum naming)
- Add s128, vu128, vs128
- voidfn -> VoidFn
2018-02-10 22:40:11 +01:00
fincs
41da28eb5c
Document kernel/: shmem.h, thread.h, tmem.h, virtmem.h
2018-02-10 22:40:11 +01:00
fincs
8496f36879
Documentation: address first batch of comments (in #38 )
2018-02-10 22:40:11 +01:00
fincs
cbd367c8a0
Document kernel/: detect.h, jit.h, mutex.h, random.h, rwlock.h
2018-02-10 22:40:11 +01:00
fincs
b791718a03
Document ipc.h
2018-02-10 22:40:11 +01:00
fincs
475cc5e941
Document env.h
2018-02-10 22:40:11 +01:00
fincs
ff472848a9
Start doxygen bringup, with some miscellaneous cleanup
2018-02-10 22:40:11 +01:00
yellows8
dc785c1fee
Added appletSetScreenShotPermission and appletSetScreenShotImageOrientation. Added LibnxError_IncompatSysVer.
2018-02-08 22:13:56 -05:00
plutoo
75003f40f1
Add some syscalls
2018-02-01 22:04:37 +01:00
plutoo
89021287f8
Revert "We don't understand Auto -- disable for now"
...
This reverts commit 20c4bfd54a
.
2018-02-01 00:26:39 +01:00
plutoo
20c4bfd54a
We don't understand Auto -- disable for now
2018-02-01 00:16:38 +01:00
plutoo
b2810ab38d
Condvar stylefix
2018-01-31 02:22:28 +01:00
plutoo
000a7f05c9
Experimental implementation of condvars
2018-01-30 22:39:02 +01:00
yellows8
ca6d017be9
Started irs IR-sensor support.
2018-01-29 23:16:06 -05:00
yellows8
993071f67e
Fixed filename in romfs_dev.h comment.
2018-01-28 21:23:22 -05:00
yellows8
83ea6fb32e
Imported romfs_dev from libctru with adjustments, this is currently unusable.
2018-01-28 21:18:53 -05:00
Lioncash
b637276c48
Silence a few missing prototype warnings
2018-01-28 01:03:56 +01:00
yellows8
e1347f367c
Enabled code which requires devkitA64 a6.
2018-01-25 22:16:14 -05:00
yellows8
e39dc2baf8
Fixed building when fsdev usage is enabled.
2018-01-24 16:05:47 -05:00
plutoo
673651a51f
Fix broken header files
2018-01-23 00:27:00 +01:00
TuxSH
5b0de6c054
Move tmem allocation in bsdInitalize...
...
...add bsdExit, change the default config's "version" field to 1.
2018-01-22 22:11:33 +01:00
TuxSH
fb9e126f3a
Make the bsd service work properly
2018-01-22 22:11:33 +01:00
plutoo
b34f59e179
ARM cache operations
2018-01-22 20:29:49 +01:00
plutoo
9634a5467e
Small stylefix
2018-01-22 20:15:03 +01:00
plutoo
6fa8370bfb
This looks better
2018-01-22 20:11:55 +01:00
TuxSH
5abc4873d8
Include only what is really necessary...
...
add pragma once in every header, etc.
2018-01-22 18:42:57 +01:00
plutoo
5a67f0909d
Stop confusing Nvidia error codes and Switch error codes
2018-01-21 18:54:11 +01:00
plutoo
e54bbc54ea
Fix codestyle for results
2018-01-21 18:40:23 +01:00
yellows8
cd881bbc0e
Added envHasNextLoad().
2018-01-20 18:25:35 -05:00
plutoo
d4db5b7647
Stylefix
2018-01-20 19:37:11 +01:00
plutoo
97141448e9
Implement NextLoadPath for loader env
2018-01-20 19:37:11 +01:00
fincs
79e51cb733
More fatalSimple unique error codes (plus some fixing)
2018-01-20 14:41:05 +01:00
plutoo
22e9a0fcc3
Jit bringup, improvements to virtmem
2018-01-20 13:56:12 +01:00
shinyquagsire23
368fbbb570
hid: joystickPosition -> JoystickPosition
2018-01-20 10:37:47 +01:00
shinyquagsire23
52e928df0e
hid: circlePosition -> joystickPosition
2018-01-20 10:37:47 +01:00
shinyquagsire23
a4dbd93b1f
hid: Add hidJoystickRead
2018-01-20 10:37:47 +01:00
plutoo
8ae150d110
NRO loading bringup
2018-01-20 00:13:38 +01:00
yellows8
3a9451bbeb
Added CONTROLLER_P1_AUTO. Added bounds checking for id in hid{Set|Get}ControllerLayout.
2018-01-19 13:58:32 -05:00
plutoo
15fe53dad3
Fix signature of randomGet64()
2018-01-18 20:53:04 +01:00
plutoo
ec4430d2e6
Introduce random
2018-01-18 20:51:55 +01:00
fincs
fb9c53235e
Fix ipc.h C++ compatibility errors (tested by compiling code as .cpp)
2018-01-15 22:48:46 +01:00
fincs
a8a15f7d16
Make fatalSimple error codes unique
2018-01-15 22:48:46 +01:00
yellows8
eec1fc2fcc
Added svcSetProcessMemoryPermission and svcMapProcessCodeMemory/svcUnmapProcessCodeMemory. Added PERM_X.
2018-01-13 23:49:54 -05:00
plutoo
844f72fe67
Panic if any initialization fails
2018-01-13 00:43:38 +01:00
plutoo
61494b77cc
Minor stuff
2018-01-13 00:36:31 +01:00
plutoo
d8061f67bd
Introduce svcWaitForSynchronizationSingle to clean up code
2018-01-13 00:27:47 +01:00
plutoo
94658b9f60
More loader config
2018-01-13 00:18:04 +01:00
plutoo
fbf0b0643a
Missed vi on the first round
2018-01-12 23:53:08 +01:00
plutoo
251e57fa59
Fix bug in newly introduced service impl
2018-01-12 23:31:59 +01:00
plutoo
f70d70f029
Introducing "Service" object, implemented service override, fixing minor formatting mistakes
...
NOT TESTED :(
2018-01-12 23:29:49 +01:00
plutoo
efc7cbf653
Implement heap override
2018-01-12 19:10:46 +01:00
plutoo
3ac366528e
Merge pull request #24 from shinyquagsire23/vi-managedlayer
...
vi:m ManagedLayer support
2018-01-12 18:25:30 +01:00
shinyquagsire23
e5726cbc83
Move viCreateManagedLayer logic out of viOpenLayer
2018-01-11 19:11:39 -07:00
plutoo
6720355dd1
Bringup loader config block parsing
...
Not tested yet
2018-01-11 22:59:40 +01:00
plutoo
fd4522423b
Hid stylefix
2018-01-11 22:29:16 +01:00
plutoo
7482c849fe
Introducing RwLock, make hid threadsafe
2018-01-11 22:25:49 +01:00
plutoo
bf89c7526e
Rename ipc functions before it's too late
2018-01-11 21:56:04 +01:00
plutoo
6585261210
Detect debugger and use svcBreak in panic
2018-01-11 21:49:41 +01:00
plutoo
5f860ad4b3
Rename version.{c.h} to detect
2018-01-11 21:43:37 +01:00
plutoo
4a19fb7022
Hide utf under runtime/, fix headers
2018-01-11 21:38:12 +01:00
plutoo
edcf789b6e
C was developed in 1972
2018-01-06 13:54:59 +01:00
plutoo
fbfb5cdba2
NV code style
2018-01-06 13:43:18 +01:00
plutoo
10246ebdbc
Binder codestyle fix
2018-01-06 13:39:47 +01:00
plutoo
a63ce5d8bc
Align VI code style
2018-01-06 13:34:08 +01:00
plutoo
3ca6e65984
Aligning code style of kernel primitives
2018-01-06 06:10:55 +01:00
plutoo
282fdefe2b
Align code style of MemoryInfo
2018-01-06 06:04:35 +01:00
plutoo
fee6b42963
Align code style for AM
2018-01-06 05:57:56 +01:00
plutoo
916dfb56f0
More threading functionality
2018-01-01 23:32:44 +01:00
plutoo
91afc81ce1
Detect 4.0.0
2018-01-01 19:52:41 +01:00
yellows8
a0ea8c53df
Perf adjustments for gfxGetFramebufferDisplayOffset().
2017-12-30 02:13:04 -05:00
yellows8
4e77c36c30
Perf adjustments for gfxGetFramebufferDisplayOffset().
2017-12-29 22:04:15 -05:00
yellows8
1dda414f31
Implemented apm.
2017-12-29 16:15:17 -05:00
yellows8
18a0d45afe
Added gfxInitResolutionDefault(). Added gfxConfigureAutoResolution() and gfxConfigureAutoResolutionDefault().
2017-12-27 18:52:54 -05:00
yellows8
b89036f6fd
Added user-specified crop handling with gfxConfigureCrop() and gfxConfigureResolution(). Added gfxGetFramebufferResolution(). Updated gfxGetFramebufferDisplayOffset() for handling this.
2017-12-27 18:52:54 -05:00
yellows8
d62709adc7
Added gfxInitResolution() + added gfx.h comments. Updated gfxGetFramebufferDisplayOffset() so that the returned pixel-offset is in a region that's not displayed when the x/y is out-of-bounds. Fixed g_gfx_framebuf_aligned_{width/height} init when the initial width/height is not the default 0. Updated nvioctlNvhostAsGpu_InitializeEx/nvioctlNvhostAsGpu_AllocSpace usage etc, required for using non-720p framebufs.
2017-12-27 18:52:54 -05:00
yellows8
a730cf977f
Added bufferProducerRect for crop. Updated a resolution comment and added a comment for crop.
2017-12-27 18:52:53 -05:00
yellows8
a814c79827
Properly setup the data in bufferProducerGraphicBuffer via a struct. Setup size/width/height fields properly in bufferProducerGraphicBuffer, instead of hard-coding.
2017-12-27 18:52:53 -05:00
yellows8
917036cec6
Updated bufferProducerGraphicBuffer struct.
2017-12-27 18:52:53 -05:00