Subv
4703561c9e
Declare empty ServerSession and ClientSession constructors as default.
9 years ago
Subv
811d684274
Threads do not wait for the server endpoint to call AcceptSession before returning from a ConnectToPort or GetServiceHandle call.
9 years ago
Subv
4c4f50dfaf
Fixed the rebase mistakes.
9 years ago
Subv
4f2326c8a9
A bit of a redesign.
Sessions and Ports are now detached from each other.
HLE services are handled by means of a SessionRequestHandler class, Interface now inherits from this class.
The File and Directory classes are no longer kernel objects, but SessionRequestHandlers instead, bound to a ServerSession when requested.
File::OpenLinkFile now creates a new session pair and binds the File instance to it.
9 years ago
Subv
d2305d375f
IPC/HLE: Associate the ClientSessions with their parent port's HLE interface if it exists.
Pass the triggering ServerSession to the HLE command handler to differentiate which session caused the request.
10 years ago
Subv
edcacd7cdd
Kernel/HLE: Service::Interface no longer inherits from any Kernel object, and is now its own standalone class.
Interface is now used by aggregation in ClientPort, to forward service commands to their HLE implementation if needed.
10 years ago
Subv
96df92e98f
fixup! Kernel/IPC: Use Ports and Sessions as the fundamental building block of Inter Process Communication.
10 years ago
Subv
302ef594a6
Kernel/IPC: Use Ports and Sessions as the fundamental building block of 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.
10 years ago
mailwl
662aee1e1d
Set client SDK version to Service APIs
9 years ago
wwylele
1e4a1598fd
FileSys: Implement OtherSaveData
9 years ago
wwylele
e6de484ec3
FS: add missing MediaType
9 years ago
wwylele
37e9404489
FileSys: abstract SD save data archive source
9 years ago
mailwl
9ee8f9297c
Output parameters to log
9 years ago
mailwl
cdce7ca48b
MIC_U: Stub service funcions
9 years ago
pippo2931
a92472e7c9
Bravely Default/Second stuck #1822 ( #2188 )
* Bravely Default/Second stuck #1822
CancelLibraryApplet stub
* Log parameter.
* Taking care of comments
* Sync with 3DBrew
* White space ?
* lower case
9 years ago
Subv
d00d0d61e0
Kernel/Loader: Grab the system mode from the NCCH ExHeader.
3dsx and elf files default to system mode 2 (96MB allocated to the application).
This allows Home Menu to boot without modifications.
Closes #1849
9 years ago
Subv
bb93931096
Kernel/Events: Log an error when trying to create Pulse events and timers.
Related to #1904
9 years ago
Subv
f33e1950b6
APT/Applets: Renamed the members of the SignalType enum.
Names now make sense and match 3dbrew.
9 years ago
wwylele
01964d37fb
FileSys: rename SaveDataCheck archive to NCCH archive
According to the observation from game and 3dbrew "Used for accessing general NCCH data"
9 years ago
wwylele
e41a1ff6da
PTM & CFG: use the correct path and error code according to the new FileSys policy
9 years ago
wwylele
a14bab3b8b
FileSys: add SDMCWriteOnlyArchive
9 years ago
wwylele
4a80f45637
FileSys: add ExtSaveDataArchive
ExtSaveData is more similar to SaveData, so let it be a subclass of SaveData
9 years ago
wwylele
420091d0e5
FileSys: add SaveDataArchive
The error checking of SaveDataArchive is completely different from DiskArchive, so it has to be a new class instead of a subclass of DiskArchive.
9 years ago
wwylele
4fc15d830f
cfg: add config block 0x00090000
9 years ago
mailwl
076afa2614
Style fix
9 years ago
mailwl
6b4d6e03f0
Rename AcConfig, change types u8 to u32
9 years ago
mailwl
3b92e6c3d9
AC_U: Stub functions, used if EULA agreed
9 years ago
wwylele
657bb716f7
FileSys: make Archive interfaces return error code
and make the mode parameter a reference since it is a BitField union
9 years ago
Jan Beich
914ca5ae70
core: some errno values are uncommon on Unix
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},
^
9 years ago
mailwl
715d981403
FRD: fix GetMyFriendKey
9 years ago
Ricardo de Almeida Gonzaga
07fdcf150d
Fix typos
9 years ago
wwylele
9ef5b9604b
NWM: stub Initialize with an error
9 years ago
JamePeng
876bd2daa8
Rework the code of err:f service
9 years ago
JamePeng
97d9804d97
Update the stub code of BOSS
9 years ago
wwylele
a1a4d92f19
fs: clean up log format
9 years ago
wwylele
b2fa64ec75
fs: implement DeleteDirectoryRecursively
9 years ago
wwylele
1dedb87851
move ResetType to kernel.h
10 years ago
wwylele
d1d4b24f76
name objects
10 years ago
wwylele
8b25c12ce8
implement wait tree widget
10 years ago
Yuri Kunde Schlesner
fa5d9d8266
Use negative priorities to avoid special-casing the self-include
9 years ago
Emmanuel Gil Peyrot
1138ec0d49
Remove empty newlines in #include blocks.
This makes clang-format useful on those.
Also add a bunch of forgotten transitive includes, which otherwise
prevented compilation.
9 years ago
Yuri Kunde Schlesner
1e4a5da9f4
Manually tweak source formatting and then re-run clang-format
9 years ago
Emmanuel Gil Peyrot
628ed4376a
Sources: Run clang-format on everything.
9 years ago
bunnei
acdc361fc0
arm: ResetContext shouldn't be part of ARM_Interface.
10 years ago
wwylele
901e7157e3
LDR: Implement CRO
10 years ago
Yuri Kunde Schlesner
a0d0aa24be
Auto-detect original shared_font.bin memory base
This allows a file dumped from either an o3DS or a n3DS (and potentially
even an original unrebased file) to be used.
10 years ago
Lectem
7df4925923
fix #1942 and adds a few IPC functions for descriptors
10 years ago
Henrik Rydgard
58e61fa817
Instead of segfaulting, log an error to remind the user to dump the shared font file
10 years ago
wwylele
eaf9f27128
HLE: implement system time
10 years ago
JamePeng
24ff9f557a
Correct APT::0x00550040 and APT::0x00560000 function
10 years ago