Commit Graph

1020 Commits (eaa9f968a629b8743f22a2277a5332942a3cd9d9)

Author SHA1 Message Date
mailwl eaa9f968a6 [WIP] sfdnsres: stub (#146)
sfdnsres: Add several stubs
8 years ago
bunnei 3258db29da time: Implement ISteadyClock::GetCurrentTimePoint. 8 years ago
bunnei de177f6692 audout_u: Various cleanups. 8 years ago
bunnei 714a576113 ResponseBuilder: Use a bit field for customizing instead of always_move_handles. 8 years ago
bunnei f0b6baf3ad time: Stub GetSystemClockContext function. 8 years ago
bunnei 1b1d399e5f hle: Rename RequestBuilder to ResponseBuilder. 8 years ago
bunnei f9dae99006 service: Fix all incorrect IPC response headers. 8 years ago
bunnei 27bad0598a hle: Integrate Domain handling into ServerSession. 8 years ago
bunnei 67758857e4 hle: Remove Domain and SyncObject kernel objects. 8 years ago
st4rk 44eb840232 audout:u OpenAudioOut and IAudioOut (#138)
* Updated the audout:u and IAudioOut, now it might work with RetroArch without trigger an assert, however it's not the ideal implementation

* Updated the audout:u and IAudioOut, now it might work with RetroArch without trigger an assert, however it's not the ideal implementation

* audout:u OpenAudioOut implementation and IAudioOut cmd 1,2,3,4,5 implementation

* using an enum for audio_out_state as well as changing its initialize to member initializer list

* Minor fixes, added Service_Audio for LOG_*, changed PcmFormat enum to EnumClass

* Minor fixes, added Service_Audio for LOG_*, changed PcmFormat enum to EnumClass

* added missing Audio loggin subclass, minor fixes, clang comment breakline

* Solving backend logging conflict

* minor fix

* Fixed duplicated Service NVDRV in backend.cpp, my bad
8 years ago
gdkchan 703be1931a Fix time returning epoch time in milliseconds rather than in seconds 8 years ago
bunnei d1b64cdc07
Merge pull request #135 from Subv/no_ports
IPC: Don't create unnecessary ports when returning sub interfaces.
8 years ago
Subv b0489c9a64 Services: Added a todo about returning interfaces as domain objects in lm, hid and time. 8 years ago
bunnei d8bd70d396
Merge pull request #133 from Subv/nvflinger2
AppletOE: Stubbed CreateManagedDisplayLayer to create a new layer in the default display.
8 years ago
Subv 7efa6e8801 Time: Don't create unnecessary ports when retrieving the clock service sessions. 8 years ago
Subv 1003996e80 HID: Don't create an unnecessary port in CreateAppletResource. 8 years ago
Subv 1a9c96e4de LM: Don't create an unnecessary port in Initialize. 8 years ago
bunnei de2e5a0855
Merge pull request #134 from gdkchan/audout_hid_fix
Stub OpenAudioOut and fix a issue with HID IAppletResource
8 years ago
gdkchan 832009bfdb Stub OpenAudioOut and fix a issue with HID IAppletResource being created more than once 8 years ago
Subv 10c67bf395 AppletOE: Stubbed CreateManagedDisplayLayer to create a new layer in the Default display.
This function is used by libnx to obtain a new layer.
8 years ago
Subv eb58f852f8 AppletOE: Make ISelfController keep a reference to nvflinger.
It'll be needed when we implement CreateManagedDisplayLayer.
8 years ago
Subv 42859461f3 Services: Vi shouldn't be responsible for creating nvflinger.
It is now created during Service initialization and passed to all the services that need it.
8 years ago
Subv 8d7686ff8e VI: Move BufferQueue and NVFlinger to their own folder/namespace. 8 years ago
st4rk 07355cf7cc Added stubs for audio services. (#116)
* stubs for audout:u, audin:u, audrec:u, audren:u, codecctl and decoding tables with nullptr for future implementations

* fixing the changes requested (remove private, explicit)
8 years ago
bunnei fdbb039427
Merge pull request #131 from lioncash/enum
nvmap: Make IoctlCommands an enum class
8 years ago
David eeb3b5eed7 Added nvmemp, Added /dev/nvhost-ctrl, SetClientPID now stores pid (#114)
* Added nvmemp, Added /dev/nvhost-ctrl, SetClientPID now stores pid

* used clang-format-3.9 instead

* lowercase pid

* Moved nvmemp handlers to cpp

* Removed unnecessary logging for NvOsGetConfigU32. Cleaned up log and changed to LOG_DEBUG

* using std::arrays instead of c arrays

* nvhost get config now uses std::array completely

* added pid logging back

* updated cmakelist

* missing includes

* added array, removed memcpy

* clang-format6.0
8 years ago
bunnei 2403143ff1
Merge pull request #128 from Subv/parcel_query
VI: Implement the Query transaction of IHOSBinderDriver, and stubbed some results.
8 years ago
Lioncash 06d2e1bd23 nvmap: Add a return 0 underneath the UNIMPLEMENTED macro
This macro resolves to an empty macro in release builds.
8 years ago
Lioncash 687a17acae nvmap: Make IoctlCommands an enum class
Prevents the enum values from polluting the surrounding scope
8 years ago
bunnei 8e50d6002b fsp_srv: Various improvements to IStorage:Read implementation. 8 years ago
David Marcec d64b7d7dfd filesystem: Implement basic IStorage functionality. 8 years ago
Subv 749043c809 VI: Implement the Query transaction of IHOSBinderDriver, and stubbed some results. 8 years ago
tgsm 07cfab72e0 service/time: remove accidental #pragmas 8 years ago
James Rowe 096be16636 Format: Run the new clang format on everything 8 years ago
David 0b6da0c1ab Added CreateSharedMemory & UNIMPLEMENTED() for non existent services. (#113)
* Added svcCreateSharedMemory

* Services which are not implemented now throw UNIMPLEMENTED()

* clang-format

* changed perms to u32

* removed camelcase
8 years ago
River City Ransomware dd62f125c3 Fixes some cast warnings, partial port of citra #3064 (#106)
* Fixes some cast warnings, partially fixes citra #3064

* Converted casts to uint32_t to u32

* Ran clang-format
8 years ago
bunnei 7b219539a9
Merge pull request #112 from Rozelette/master
ISelfController: Stub LockExit and UnlockExit
8 years ago
goaaats c457f34eb2 acc, set, applet_oe: stub various functions, add set service (#105)
* Stubs for various acc:u0 funcs needed

* Stub for GetDesiredLanguage in IApplicationFunctions

* Add set service + stubs needed for games

* Fix formatting

* Implement IProfile, IManagerForApplication, return bool in CheckAvailability, style fixes

* Remove IProfile::Get(needs more research), fix IPC response sizes
8 years ago
Rozlette d9ca9d3472 ISelfController: Stub LockExit and UnlockExit 8 years ago
bunnei 0f363d37e6
Merge pull request #109 from bunnei/libnx-fixes
Fix svcGetInfo for libnx
8 years ago
bunnei c3005ee4d1
Merge pull request #97 from bunnei/time-stub
time: Stub out GetTotalLocationNameCount and some cleanup.
8 years ago
bunnei deec326ddf time: Add new line to ends of files. 8 years ago
bunnei 1d49680613 applet_oe: Clang-format. 8 years ago
bunnei e27accc15d time: Stub out GetTotalLocationNameCount and some cleanup. 8 years ago
bunnei de646cef2d nvdrv: Stub SetClientPID. 8 years ago
gdkchan 8f13499bb8 Fix dispdrv typo 8 years ago
bunnei 952dba9c2b
Merge pull request #100 from Rozelette/master
time: Refactor time:* to use a single shared module
8 years ago
gdkchan 59575d5cae Stub PopLaunchParameter and implement Buffer C Descriptors reading on hle_ipc (#96)
* Stub PopLaunchParameter and implement Buffer C Descriptors reading

* Address PR feedback

* Ensure we push a u64 not a size_t

* Fix formatting
8 years ago
flerovium^-^ 463356f0a7 Start to implement/stub BSD:U and SFDNSRES services (#78)
* bsd: start stubbing bsd:u and sfdnsres

* bsd: stubbed RegisterClient

* bsd: attempt to get past socket()

* bsd: fix some wrong assumptions about IPC

* bsd: fix format specifiers

* bsd: stubbed Connect()

* bsd: stubbed SendTo()

* made requested changes

* sockets: respect alphabetical order at service installation

* run clang-format

* bsd: start stubbing bsd:u and sfdnsres

* bsd: stubbed RegisterClient

* bsd: attempt to get past socket()

* bsd: fix some wrong assumptions about IPC

* bsd: fix format specifiers

* bsd: stubbed Connect()

* bsd: stubbed SendTo()

* made requested changes

* sockets: respect alphabetical order at service installation

* run clang-format

* run clang-format (2)
8 years ago
Rozlette 378cea2ae2 time: Fix use of CamelCase in ToCalendarTimeWithMyRule 8 years ago