diff options
| author | Léo Lam <leo@innovatetechnologi.es> | 2017-01-05 01:10:03 +0100 |
|---|---|---|
| committer | Léo Lam <leo@innovatetechnologi.es> | 2017-01-05 01:11:52 +0100 |
| commit | a15be890e1603cdaf86a4c4fea67f3880fda4a78 (patch) | |
| tree | ccc7fad1806616c8e303e967afdd153fdbde10ad /Source | |
| parent | 00268443caebd13e1b6ccac6c9539869acabf7d4 (diff) | |
WII_IPC_HLE: Update the "IOS basics" comment
The codebase has changed since it was written, so it needed
a small update.
Diffstat (limited to 'Source')
| -rw-r--r-- | Source/Core/Core/IPC_HLE/WII_IPC_HLE.cpp | 30 |
1 files changed, 13 insertions, 17 deletions
diff --git a/Source/Core/Core/IPC_HLE/WII_IPC_HLE.cpp b/Source/Core/Core/IPC_HLE/WII_IPC_HLE.cpp index a10818c711..b011f51d4e 100644 --- a/Source/Core/Core/IPC_HLE/WII_IPC_HLE.cpp +++ b/Source/Core/Core/IPC_HLE/WII_IPC_HLE.cpp @@ -2,23 +2,19 @@ // Licensed under GPLv2+ // Refer to the license.txt file included. -/* -This is the main Wii IPC file that handles all incoming IPC calls and directs them -to the right function. - -IPC basics (IOS' usage): - -Return values for file handles: All IPC calls will generate a return value to 0x04, -in case of success they are - Open: DeviceID - Close: 0 - Read: Bytes read - Write: Bytes written - Seek: Seek position - Ioctl: 0 (in addition to that there may be messages to the out buffers) - Ioctlv: 0 (in addition to that there may be messages to the out buffers) -They will also generate a true or false return for UpdateInterrupts() in WII_IPC.cpp. -*/ +// This is the main Wii IPC file that handles all incoming IPC requests and directs them +// to the right function. +// +// IPC basics (IOS' usage): +// All IPC request handlers will write a return value to 0x04. +// Open: Device file descriptor or error code +// Close: IPC_SUCCESS +// Read: Bytes read +// Write: Bytes written +// Seek: Seek position +// Ioctl: Depends on the handler +// Ioctlv: Depends on the handler +// Replies may be sent immediately or asynchronously for ioctls and ioctlvs. #include <deque> #include <map> |
