aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/service/soc_u.cpp
AgeCommit message (Collapse)Author
2017-10-10hle: Remove a large amount of 3ds-specific service code.bunnei
2017-06-06Service: Remove unnecessary includes from service.hYuri Kunde Schlesner
This has a huge fallout in terms of needing to fix other files because all service implementations included that file.
2017-04-03error conversion fixes for soc_unoah the goodra
2017-01-04Fix some warnings (#2399)Jonathan Hao
2016-12-14Merge pull request #2249 from Subv/sessions_v3Yuri Kunde Schlesner
Kernel/IPC: Use Ports and Sessions as the fundamental building block of Inter Process Communication.
2016-12-11Add all services to the Service namespaceLioncash
Previously there was a split where some of the services were in the Service namespace and others were not.
2016-11-30 Kernel/IPC: Use Ports and Sessions as the fundamental building block of ↵Subv
Inter Process Communication. All handles obtained via srv::GetServiceHandle or svcConnectToPort are references to ClientSessions. Service modules will wait on the counterpart of those ClientSessions (Called ServerSessions) using svcReplyAndReceive or svcWaitSynchronization[1|N], and will be awoken when a SyncRequest is performed. HLE Interfaces are now ClientPorts which override the HandleSyncRequest virtual member function to perform command handling immediately.
2016-10-27core: some errno values are uncommon on UnixJan Beich
src/core/hle/service/soc_u.cpp:107:6: error: 'ENODATA' was not declared in this scope {ENODATA, 43}, ^ src/core/hle/service/soc_u.cpp:117:6: error: 'ENOSR' was not declared in this scope {ENOSR, 53}, ^ src/core/hle/service/soc_u.cpp:118:6: error: 'ENOSTR' was not declared in this scope {ENOSTR, 54}, ^ src/core/hle/service/soc_u.cpp:139:6: error: 'ETIME' was not declared in this scope {ETIME, 75}, ^
2016-09-21Use negative priorities to avoid special-casing the self-includeYuri Kunde Schlesner
2016-09-21Remove empty newlines in #include blocks.Emmanuel Gil Peyrot
This makes clang-format useful on those. Also add a bunch of forgotten transitive includes, which otherwise prevented compilation.
2016-09-18Manually tweak source formatting and then re-run clang-formatYuri Kunde Schlesner
2016-09-18Sources: Run clang-format on everything.Emmanuel Gil Peyrot
2016-05-28Memory: Make ReadBlock and WriteBlock accept void pointers.Subv
2016-05-28SOC_U: Remove usage of GetPointerSubv
2016-04-01Rework sockopt translation to match the error translation code already in placeRyan Loebs
2016-03-30Code styleRyan Loebs
2016-03-30Added GetSockOptNameRyan Loebs
Filter out and translate invalid sockopt names.
2016-03-29Derp: win32: typedef int socklen_t;Ryan Loebs
2016-03-29But of course, Windows uses 'int' while Linux uses 'socklen_t'Ryan Loebs
2016-03-29Compiling on Windows nowRyan Loebs
2016-03-29Formatting...Ryan Loebs
2016-03-29Addressing PR commentsRyan Loebs
2016-03-28SOC UpdatesRyan Loebs
-Implement GetSockOpt / SetSockOpt -Fix bug in RecvFrom where sending from localhost does not fill in src_addr/src_addr_len on Linux
2016-03-21soc_u: Get rid of explicit delete and newLioncash
2016-03-11hle: Update service function tablesLioncash
2016-02-12BitField: Make trivially copyable and remove assignment operatorMerryMage
2015-12-24HLE/Sockets: Fixed the buffer offset in recvfrom.Subv
Closes #1277
2015-09-11General: Replace NULL and '0' usages with nullptr where applicableLioncash
2015-07-28Merge pull request #899 from zawata/Winsock-Deprecationbunnei
SOC:U : Fix WinSock function deprecation
2015-07-19SOC:U : Update deprecated function gethostbyname() to getaddrinfo()zawata
2015-07-10Merge pull request #876 from linkmauve/include-cleanupsYuri Kunde Schlesner
Cleanup includes, mostly in common
2015-06-28Core: Cleanup soc:U includes.Emmanuel Gil Peyrot
2015-06-27Services: Use the standard _WIN32 define in soc:U instead of our own ↵Emmanuel Gil Peyrot
EMU_PLATFORM.
2015-06-25Services/SOC: Added command headers to some of the soc commands.Subv
2015-05-29Remove every trailing whitespace from the project (but externals).Emmanuel Gil Peyrot
2015-05-07Common: Remove common.hYuri Kunde Schlesner
2015-02-10Asserts: break/crash program, fit to style guide; log.h->assert.harchshift
Involves making asserts use printf instead of the log functions (log functions are asynchronous and, as such, the log won't be printed in time) As such, the log type argument was removed (printf obviously can't use it, and it's made obsolete by the file and line printing) Also removed some GEKKO cruft.
2015-02-02Service: Clean-up InterfaceYuri Kunde Schlesner
2015-01-11Fix building on MinGWdarkf
2015-01-05Merge pull request #272 from rohit-n/sign-comparebunnei
Silence some -Wsign-compare warnings.
2015-01-02soc_u: Fix a missing formatting argumentLioncash
2015-01-01Silence some -Wsign-compare warnings.Rohit Nirmal
2014-12-31SOC_U: Preliminary implementation of sockets.Subv
Stubbed CreateMemoryBlock Using Berkeley sockets, and Winsock2.2 on Windows. So far ftpony creates the socket and accepts incoming connections SOC_U: Renamed functions to maintain consistency Also prevents possible scope errors / conflicts with the actual Berkeley socket functions SOCU: Close all the opened sockets when cleaning up SOCU
2014-12-25More services & small clean upspurpasmart96
2014-12-20License changepurpasmart96
2014-11-01Added a bunch of servicespurpasmart96