summaryrefslogtreecommitdiffstats
path: root/src/core/hle (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #191 from archshift/deletexyzbunnei2014-11-243-26/+114
|\ | | | | Added DeleteFile and DeleteDirectory functions to FS:USER and the archives.
| * Added DeleteFile and DeleteDirectory functions to FS:USER and the archives.archshift2014-11-233-26/+114
| |
* | Add more services and some fixes, along with more "override"purpasmart962014-11-2125-17/+452
| | | | | | | | in the service's headers
* | Merge pull request #211 from linkmauve/masterbunnei2014-11-1930-86/+86
|\ \ | | | | | | Remove trailing spaces from the entire project
| * | Remove trailing spaces in every file but the ones imported from SkyEye, AOSP or generatedEmmanuel Gil Peyrot2014-11-1930-86/+86
| | |
* | | Merge pull request #208 from lioncash/staticsbunnei2014-11-192-23/+23
|\ \ \ | |/ / |/| | Add static to some variables
| * | Add static to some variablesLioncash2014-11-192-23/+23
| | |
* | | Remove extraneous semicolonsLioncash2014-11-181-1/+1
|/ /
* / core: Mark some hle functions as staticLioncash2014-11-185-46/+46
|/ | | | These functions are not referred to by their linkage name outside of the translation unit, so they can be marked as static.
* Archive: Fixed to not destroy archive handle on close.bunnei2014-11-181-3/+3
|
* Archive: Fixed close archive before freeing.bunnei2014-11-181-1/+1
|
* FS_User: Support FileSye::Path in a more generic way.bunnei2014-11-182-42/+76
| | | | added a todo to kernel archive
* FileSys: Updated backend code to use FileSys::Path instead of string for paths.bunnei2014-11-183-14/+14
|
* Add missing boss:U service, needed according to Nintendo Zone logs.archshift2014-11-173-0/+57
|
* Fix two format strings.Lioncash2014-11-141-1/+1
|
* Merge pull request #183 from archshift/lowpathbunnei2014-11-131-83/+81
|\ | | | | Add support for UTF-16 strings for LowPaths in FS:USER
| * Use std::u16string for conversion between UTF-8 and UTF-16, FS:USER functionsarchshift2014-11-132-138/+40
| |
| * Add support for UTF-16 strings for LowPaths in FS:USERarchshift2014-11-102-86/+182
| |
* | Merge pull request #188 from bunnei/apt-fixesbunnei2014-11-121-19/+90
|\ \ | | | | | | APT_U: Various improvements and bug fixes.
| * | APT_U: Added stub for function AppletUtility.bunnei2014-11-121-1/+29
| | |
| * | APT_U: Set a valid parameter buffer size in GlanceParameter.bunnei2014-11-121-17/+39
| | | | | | | | | | | | - Also Clarified GlanceParameter/ReceiveParameter documentation.
| * | APT_U: Release service lock on initialization.bunnei2014-11-121-0/+4
| | |
| * | APT_U: Fixes for GetLockHandle to boot system titles.bunnei2014-11-121-1/+18
| |/ | | | | | | - Also added comment to GetLockHandle function.
* / Add FRD:U service and functionsarchshift2014-11-113-0/+64
|/
* Merge pull request #163 from archshift/create-directorybunnei2014-11-023-4/+63
|\ | | | | Added CreateDirectory function to service/fs.cpp, and in Archive.
| * Added CreateDirectory function to service/fs.cpp, and in Archive.archshift2014-11-023-4/+63
| |
* | Added ReceiveNotification, PublishToSubscriber unimplemented functions to SRVarchshift2014-11-021-0/+2
|/
* Added stub err:f service.archshift2014-11-023-0/+56
|
* Added a bunch of servicespurpasmart962014-11-0117-0/+581
|
* Merge pull request #162 from SeannyM/warning-fixesbunnei2014-10-302-6/+6
|\ | | | | Fix some warnings
| * Fix some warningsSean2014-10-302-6/+6
| |
* | FS:USER - Implemented IsSdmcDetectedarchshift2014-10-301-1/+17
| |
* | Renamed souce files of services to match port namesGareth Poole2014-10-2911-10/+10
|/
* Merge pull request #141 from archshift/crash-huntbunnei2014-10-281-0/+4
|\ | | | | hid.cpp: Fixed crash when updating pad data while null
| * hid.cpp: Fixed crash when updating pad data while nullarchshift2014-10-141-0/+4
| | | | | | | | Fixes #137
* | Add `override` keyword through the code.Yuri Kunde Schlesner2014-10-2613-46/+46
| | | | | | | | This was automated using `clang-modernize`.
* | ARM: Integrate SkyEye faster "dyncom" interpreter.bunnei2014-10-251-20/+0
| | | | | | | | | | | | | | | | | | | | Fixed typo (make protected member public) Added license header back in. I originally removed this because I mostly rewrote the file, but meh ARM: Fixed a type error in dyncom interpreter. ARM: Updated dyncom to use unique_ptr for internal ARM state.
* | Don’t fail on empty filename in OpenFileDirectly, return the archive handle insteadEmmanuel Gil Peyrot2014-10-251-8/+7
|/
* Merge pull request #128 from purpasmart96/masterbunnei2014-10-081-1/+31
|\ | | | | APT:U Added a stub fuction for "GlanceParameter"
| * APT: Added a stub for the "GlanceParameter" function.purpasmart962014-10-081-1/+31
| |
* | FileSys: split the constructor into an Open method, in order to notify the opener something went wrong.Emmanuel Gil Peyrot2014-10-061-0/+3
| | | | | | | | Kernel: Return an invalid handle to OpenFile when it failed to open.
* | FileSys/Kernel: Implement SetSize service call for File objects.Emmanuel Gil Peyrot2014-10-061-0/+8
|/
* Added some more names to the function tablepurpasmart962014-10-051-0/+2
| | | Added "SetApplicationCpuTimeLimit" and "GetApplicationCpuTimeLimit" to apt.cpp
* added "StoreDataCache" to the function tablepurpasmart962014-09-301-0/+1
| | | seems simple enough
* Use the citra user path for the sdmc directoryarchshift2014-09-211-2/+1
|
* Kernel: Implement the Close command for Archive, File and Directory.Emmanuel Gil Peyrot2014-09-172-0/+43
|
* FS: Implement OpenArchive, OpenDirectory, OpenFile and OpenFileDirectly calls.Emmanuel Gil Peyrot2014-09-171-20/+177
|
* Kernel: Add a Directory object and a getter for it from an Archive object.Emmanuel Gil Peyrot2014-09-173-0/+91
|
* Kernel: Add a File object and a getter for it from an Archive object.Emmanuel Gil Peyrot2014-09-172-0/+118
|
* Core: Get rid of unnecessary switch statement in KernelLioncash2014-09-151-41/+2
|
* Added support for multiple input device types for KeyMap and connected Qt.Kevin Hartman2014-09-122-113/+127
|
* Initial HID PAD work, with GLFW only.Kevin Hartman2014-09-122-24/+197
|
* Created structure for PAD.Kevin Hartman2014-09-122-0/+28
|
* Merge pull request #99 from archshift/ext-checkbunnei2014-09-111-1/+1
|\ | | | | loader.cpp: improved file extension checking, made Upper/LowerStr useful, moved string_util into Common namespace
| * Added string_util to common, small changes in loader.cpparchshift2014-09-091-1/+1
| |
* | core: Prune redundant includesarchshift2014-09-0912-23/+0
|/
* core: Pass string by reference in FetchFromPortName and DeleteServiceLioncash2014-09-062-4/+4
|
* Threading: Fix thread starting to execute first instruction correctly.bunnei2014-08-281-0/+5
|
* srv::Initialize: Return "success" status code.bunnei2014-08-281-0/+4
|
* Pica/citra-qt: Replace command list view and command list debugging code with something more sophisticated.Tony Wasserka2014-08-251-5/+0
|
* GSP: Update framebuffer information when necessary.Tony Wasserka2014-08-252-2/+41
|
* GSP: Implement SetBufferSwap.Tony Wasserka2014-08-252-1/+47
|
* GSP: Add a helper function for convenience.Tony Wasserka2014-08-251-17/+22
|
* Added FS functions to Archive and Archive_RomFSarchshift2014-08-231-3/+31
|
* Core: Use std::array for managing kernel object spaceLioncash2014-08-192-5/+5
| | | | These avoid relying on memset for clearing the arrays.
* Merge pull request #55 from lioncash/stringbunnei2014-08-1916-41/+38
|\ | | | | Core: Alter the kernel string functions to use std::string instead of const char*.
| * Core: Alter the kernel string functions to use std::string instead of const char*.Lioncash2014-08-1816-41/+38
| | | | | | | | Most functions already operate on std::strings. This also removes the need to manually null terminate thread names.
* | SVC: Added support for svc_GetSystemTick.bunnei2014-08-192-19/+48
|/ | | | Changed HLE function return methods to be static inline functions.
* Core: Fix a formatting error in svc.cppLioncash2014-08-171-3/+2
| | | | | entry_point would not be added to the string. Also used StringFromFormat so that the buffer is unnecessary.
* Merge pull request #39 from bunnei/hid-minor-improvementsbunnei2014-08-132-6/+45
|\ | | | | Hid minor improvements
| * HID: Added new function entries from 3dbrew to FunctionTable.bunnei2014-08-131-0/+5
| | | | | | | | HID: Fix typo with DisableGyroscopeLow command.
| * HID: Implemented HID_User::GetIPCHandles service function.bunnei2014-08-081-5/+39
| |
| * SVC: Fixed typo with MapMemoryBlock DEBUG_LOG call.bunnei2014-08-081-1/+1
| |
* | Pica/GPU: Change hardware registers to use physical addresses rather than virtual ones.Tony Wasserka2014-08-121-9/+9
| | | | | | | | | | This cleans up the mess that address reading/writing had become and makes the code a *lot* more sensible. This adds a physical<->virtual address converter to mem_map.h. For further accuracy, we will want to properly extend this to support a wider range of address regions. For now, this makes simply homebrew applications work in a good manner though.
* | GSP: Fix a major regression introduced in ffda035c, due to which no display transfers were triggered at all anymore.Tony Wasserka2014-08-121-4/+13
| |
* | Remove the fancy RegisterSet class introduced in 4c2bff61e.Tony Wasserka2014-08-121-18/+18
|/ | | | | While it was some nice and fancy template usage, it ultimately had many practical issues regarding length of involved expressions under regular usage as well as common code completion tools not being able to handle the structures. Instead, we now use a more conventional approach which is a lot more clean to use.
* Thread: Added more descriptive comment to WaitCurrentThread.bunnei2014-08-072-2/+10
|
* GSP: Cleaned up command buffer decoding.bunnei2014-08-072-61/+69
| | | | | | | | GSP: Cleaned up code and added additional comments. GSP: Removed unnecessary TODO comment. GSP: Changed u32 iterators in TriggerCmdReqQueue to unsigned.
* GSP: Added reinitialization of other state objects.bunnei2014-08-061-0/+3
|
* GSP: Removed dumb GX prefixes to functions/structs in GSP namespace.bunnei2014-08-062-77/+78
| | | | - Various other cleanups.
* GSP: Removed unnecessary GX_FinishCommand function.bunnei2014-08-061-13/+5
|
* GSP: Implements preliminary command synchronization via GPU interrupts.bunnei2014-08-062-18/+109
| | | | Core: Added a comment to explain the logic for the RunLoop iterations.
* AddressArbiter: Removed unnecessary HLE::Reschedule.bunnei2014-08-061-1/+0
|
* AddressArbiter: Fixed bug with break statements missing from case statements.bunnei2014-08-061-0/+2
|
* SRV: Updated GetProcSemaphore to create an event instead of a mutex.bunnei2014-08-061-8/+10
|
* SVC: Removed ArbitrateAddress log message that spams to much.bunnei2014-08-061-2/+0
|
* Kernel: Updated Event and Mutex to specify handle that they are blocking for.bunnei2014-08-062-2/+2
|
* FS: Fix port name (old port name was based on an unaligned memory read).bunnei2014-08-061-1/+1
|
* Fix a few warnings.Tony Wasserka2014-07-231-3/+3
| | | | Templates shouldn't be marked as inline if they aren't defined in the header.
* GSP: Add a few comments.Tony Wasserka2014-07-232-1/+15
|
* GSP: Clean up GX command processing a lot and treat command id as a u8 rather than a u32.Tony Wasserka2014-07-232-37/+79
| | | | Anonymous structs are not standard C++, hence don't use them.
* GPU: Make use of RegisterSet.Tony Wasserka2014-07-231-21/+28
|
* GPU: Emulate memory fills.Tony Wasserka2014-07-232-1/+9
|
* GSP: HLE GXCommandId::SET_DISPLAY_TRANSFER and GXCommandId::SET_TEXTURE_COPY.Tony Wasserka2014-07-231-2/+9
|
* GSP: Implement ReadHWRegs and WriteHWRegs properly.Tony Wasserka2014-07-231-27/+46
|
* Kernel: Added preliminary support for address arbiters.bunnei2014-07-094-9/+134
| | | | | | | | AddressArbiter: Added documentation comment, fixed whitespace issue. AddressArbiter: Fixed incorrect comment, reordered if-statement to be more clear. SVC: Removed trailing whitespace.
* Thread: Added functions to resume threads from address arbitration.bunnei2014-07-092-0/+44
| | | | | | Thread: Cleaned up arbitrate address functions. Thread: Cleaned up ArbitrateAllThreads function.
* function_wrappers: Fixed incorrect wrapper, added another.bunnei2014-07-081-2/+9
|
* SharedMemory: Updated MapSharedMemory to use an enum for permissions.bunnei2014-07-053-16/+36
| | | | - Also added some safety checks to MapSharedMemory.
* GSP: Fixed to use real shared memory object, various cleanups.bunnei2014-07-052-30/+40
| | | | | | | | - Previously, used a hard-coded shared memory handle of 0x10002000 (as used by libctru homebrew) GSP: Added name for shared memory. GSP: Cleaned up assertion message.
* Kernel: Added support for shared memory objects.bunnei2014-07-052-0/+132
| | | | SharedMemory: Added optional name field for tracking known objects.
* Archive: Added Init/Shutdown methods to reset kernel archive state.bunnei2014-07-053-0/+19
|
* FileSys: Added preliminary support for applications reading the RomFS archive.bunnei2014-07-053-13/+135
| | | | | | | | | | Archive: Fixed brace ugliness for neobrain :) FS: Commented out unused local variables to prevent warnings. ...But keeping them here for future use. archive_romfs: Removed unused #include.
* APT: Added stubbed ReceiveParameter and various cleanups.bunnei2014-07-041-71/+93
| | | | | | APT: More cleanups. APT: Changed SignalType to be type u32.
* FS: Added stubbed code to intercept and decode file system service functions.bunnei2014-06-273-0/+154
| | | | FS: Added to CMakeLists.txt
* Kernel: Added stubbed code to support creation of kernel Archive objects.bunnei2014-06-273-0/+85
|
* Merge branch 'threading' of https://github.com/bunnei/citrabunnei2014-06-1424-1124/+1133
|\ | | | | | | | | | | Conflicts: src/core/hle/function_wrappers.h src/core/hle/service/gsp.cpp
| * Kernel: Removed unnecessary "#pragma once".bunnei2014-06-131-2/+0
| |
| * Kernel: Added freeing of kernel objects on emulator shutdown.bunnei2014-06-132-0/+10
| |
| * Event: Updated several log messages to be assertions.bunnei2014-06-131-16/+8
| |
| * HLE: Moved "PARAM" and "RETURN" macros to function_wrappers.h (this is only module where they are needed).bunnei2014-06-132-5/+6
| |
| * SVC: Renamed all function wrapper templates to Wrap, moved to HLE namespace.bunnei2014-06-132-157/+145
| |
| * Thread: Renamed occurrences of "t" to "thread" to improve readability.bunnei2014-06-131-48/+45
| |
| * Thread: Cleaned up VerifyWait, fixed issue where nullptr msg could unnecessarily be logged.bunnei2014-06-131-9/+7
| |
| * HLE: Removed usnused EatCycles function.bunnei2014-06-133-15/+0
| |
| * SVC: Cleaned up function wrappers to pass in correct argument types.bunnei2014-06-132-870/+201
| |
| * Thread: Moved position of * in arguments.bunnei2014-06-131-2/+2
| |
| * Thread: Updated VerifyWait to be more readable (but functionally the same).bunnei2014-06-131-4/+3
| |
| * SVC: Moved declaration of "wait" variable in SendSyncRequest for improved readability.bunnei2014-06-131-1/+1
| |
| * HLE: Updated all uses of NULL to nullptr (to be C++11 compliant)bunnei2014-06-1312-235/+235
| |
| * Kernel: Updated various kernel function "name" arguments to be const references.bunnei2014-06-134-6/+6
| |
| * HLE: Updated various handle debug assertions to be more clear.bunnei2014-06-134-10/+10
| |
| * Mutex: Moved ReleaseMutex iterator declaration to be inside while loop.bunnei2014-06-131-2/+1
| |
| * Kernel: Updated several member functions to be constbunnei2014-06-135-13/+13
| |
| * Thread: Fixed bug with ResetThread where cpu_registers[15] was being incorrectly setbunnei2014-06-131-1/+1
| |
| * Kernel: Made SyncRequest not pure virtual, with a default implementation of error (as this is not required for all kernel objects)bunnei2014-06-133-23/+4
| |
| * Kernel: Added real support for thread and event blockingbunnei2014-06-136-76/+196
| | | | | | | | | | | | | | | | | | | | | | | | | | - SVC: Added ExitThread support - SVC: Added SignalEvent support - Thread: Added WAITTYPE_EVENT for waiting threads for event signals - Thread: Added support for blocking on other threads to finish (e.g. Thread::Join) - Thread: Added debug function for printing current threads ready for execution - Thread: Removed hack/broken thread ready state code from Kernel::Reschedule - Mutex: Moved WaitCurrentThread from SVC to Mutex::WaitSynchronization - Event: Added support for blocking threads on event signalling Kernel: Added missing algorithm #include for use of std::find on non-Windows platforms.
| * hle: added a hokey way to force a thread reschedule during CPU single step mode (as used by the debugger)bunnei2014-06-052-0/+5
| |
| * kernel: changed current default thread priority back to 0x30 - I think this is more correctbunnei2014-06-051-1/+1
| |
| * arm: fixed bug in how thread context switch occurs with SkyEyebunnei2014-06-051-0/+4
| |
| * service: added a error log messages for unimplemented WaitSynchronizationbunnei2014-06-051-0/+1
| |
| * svc: added optional name field to Event and Mutex (used for debugging)bunnei2014-06-036-12/+25
| |
| * kernel: moved position of * for GetTypeName and GetNamebunnei2014-06-031-2/+2
| |
| * coprocessor: reenabled debug logbunnei2014-06-031-1/+1
| |
| * svc: updated WaitSynchronizationN to properly use first pointer argumentbunnei2014-06-022-4/+6
| |
| * svc: changed DuplicateHandle log message from "error" to "debug"bunnei2014-06-021-1/+1
| |
| * svc: added GetThreadPriority and SetThreadPriority, added (incomplete) DuplicateHandle supportbunnei2014-06-023-3/+77
| |
| * kernel: changed main thread priority to default, updated Kernel::Reschedule to use PrepareReschedulebunnei2014-06-026-9/+17
| |
| * svc: cleaned up function_wrappers, updated various SVCs to make use of pointer argumentsbunnei2014-06-022-31/+40
| |
| * svc: added missing function wrapper for SleepThreadbunnei2014-06-011-0/+4
| |
| * gsp: always pass through synchronization barrier for commandsbunnei2014-06-011-1/+16
| |
| * svc: updated waitSychronization to not overwrite handle on return, added stub for SleepThread (does nothing)bunnei2014-06-011-2/+21
| |
| * thread: updated Reschedule to sit at a synchronization barrier when no other threads are ready for executionbunnei2014-06-011-0/+18
| |
| * event: added a hackish ability to set an event as "locked" to its current state, cleaned up some commentsbunnei2014-06-012-4/+32
| |
| * hle: added stubbed service for ndm_ubunnei2014-05-302-0/+65
| |
| * service: cleaned up log messagesbunnei2014-05-301-2/+2
| |
| * service: removed PT_A from, as this was just an alias for APT_Ubunnei2014-05-301-2/+0
| |
| * srv: fix to log unimplemented service (instead of crash)bunnei2014-05-301-6/+2
| |
| * mutex: fixed typo in ReleaseMutexbunnei2014-05-301-1/+3
| |
| * hle: cleaned up log messagesbunnei2014-05-307-42/+47
| |
| * svc: updated OutputDebugString to use OS_LOGbunnei2014-05-301-1/+1
| |
| * svc: changed unimplemented SVC log messages from "debug" messages to "error" messagesbunnei2014-05-301-8/+8
| |
| * svc: added svcClearEvent, stubbed function for svcArbitrateAddress, and various fixesbunnei2014-05-302-22/+38
| | | | | | | | | | | | - force kernel reschedule after svcWaitSynchronization - fixed some bugs with passing in pointer arguments - cleaned up some comments and log messages
| * event: added support for ClearEvent, fixed a bug with CreateEvent, fixed some commentsbunnei2014-05-302-9/+14
| |
| * service: added additional hack to return success on unimplemented service callsbunnei2014-05-301-2/+10
| |
| * srv: changed a NOTICE_LOG to DEBUG_LOGbunnei2014-05-301-1/+1
| |
| * svc: added ArbitrationType enumerationbunnei2014-05-301-0/+9
| |
| * apt: added stubbed function for InquireNotificationbunnei2014-05-291-78/+86
| |
| * hle: properly cast 64-bit function wrapper parameters to (u64)bunnei2014-05-291-2/+2
| |
| * hle: removed PARAM64 macro (this was incorrect), made several bug fixes accordingly for decoding U64 function parametersbunnei2014-05-292-3/+2
| |
| * service: changed interface to return 0 (no error) when a service method is unimplemented - hack to make apps boot furtherbunnei2014-05-291-2/+2
| |
| * APT_U: added stubbed function for APT_U::Enable, fixed some log messages to be more consistentbunnei2014-05-281-3/+10
| |
| * mutex: added preliminary SyncRequest/WaitSynchronization, added some comments/assertionsbunnei2014-05-281-0/+6
| |
| * svc: implemented WaitSynchronization1, WaitSynchronizationN, and CreateEventbunnei2014-05-281-14/+54
| |
| * APT_U: added event creation to Initialize methodbunnei2014-05-281-1/+11
| |
| * event: fixed typos and updated CMakeListsbunnei2014-05-281-1/+1
| |
| * event: added SetEventLocked method to change status an events lockbunnei2014-05-282-0/+18
| |
| * kernel: added event module to support creation of CTR "Event" objectsbunnei2014-05-282-0/+119
| |
| * mutex: removed docstring comment that is no longer relevantbunnei2014-05-271-1/+0
| |
| * mutex: added additional docstringsbunnei2014-05-271-0/+2
| |
| * kernel: added WaitSynchronization method to Kernel::Objectbunnei2014-05-274-0/+39
| |
| * kernel: updated SyncRequest to take boolean thread wait result as a parameterbunnei2014-05-275-10/+33
| |
| * svc: added some assertionsbunnei2014-05-271-6/+4
| |
| * service: Renamed Sync to SyncRequestbunnei2014-05-271-1/+1
| |
| * kernel: added enum for known CurrentThread and CurrentProcess handlesbunnei2014-05-271-0/+5
| |
| * srv: added a real mutex for GetProcSemaphore (instead of stubbed)bunnei2014-05-271-3/+10
| |
| * svc: changed SendSyncRequest to use Kernel::Object SyncRequest (instead of just service Interface class)bunnei2014-05-271-2/+2
| |
| * kernel: add a SyncRequest method to KernelObject for use with svcSendSyncRequestbunnei2014-05-274-6/+11
| |
| * svc: added stub for DuplicateHandle SVC callbunnei2014-05-271-1/+8
| |
* | GPU debugger: Add functionality to inspect command lists.Tony Wasserka2014-06-121-0/+4
| |
* | GPU: Cleanup register definitions.Tony Wasserka2014-06-121-3/+3
| |
* | Rename LCD to GPU.Tony Wasserka2014-06-121-8/+8
| |
* | Add initial graphics debugger interface.Tony Wasserka2014-06-121-0/+6
| |
* | GSP: Define more GX commands.Tony Wasserka2014-06-122-14/+54
| |
* | service: fixed typo that MSVC did not catch as an errorbunnei2014-05-231-1/+1
| |
* | Merge branch 'threading'bunnei2014-05-2321-131/+1124
|\|
| * svc: added a check to ensure that a service was implemented before attempting to connect to its portbunnei2014-05-231-1/+5
| |
| * thread: renamed "WaitCurThread" to "WaitCurrentThread", removed unused "reason" argumentbunnei2014-05-233-6/+6
| |
| * thread: removed unused SwitchContext/Reschedule reason field, added missing arg parameter to SVC CreateThreadbunnei2014-05-233-12/+9
| |
| * kernel: refactored function naming to remove "__" prefixbunnei2014-05-235-62/+72
| |
| * thread: moved ThreadStatus/WaitType to header, added support for arg on CreateThread, added correct CPSR resetbunnei2014-05-232-35/+40
| |
| * APT_U: added a debug log on calling GetLockHandlebunnei2014-05-231-0/+1
| |
| * thread: fixed bug where result of __NextThread was not being properly checked when NULLbunnei2014-05-221-1/+1
| |
| * svc: added Kernel::Reschedule to svc WaitSynchronization1, updated log messages to include newly created handlesbunnei2014-05-221-4/+7
| |
| * svc: enabled use of newly created kernel thread handlebunnei2014-05-211-5/+5
| |
| * mutex: refactored the interface to code to return a Mutex* handlebunnei2014-05-214-5/+16
| |
| * mutex: initial commit of HLE modulebunnei2014-05-214-10/+157
| |
| * svc: added some commentsbunnei2014-05-211-0/+7
| |
| * kernel: fixed include, in general include "common.h" not "common_types.h"bunnei2014-05-211-1/+1
| |
| * service: removed redundant include of common_types.hbunnei2014-05-211-1/+0
| |
| * thread: added correct lowest thread priority, added a thread priority check, and added some commentsbunnei2014-05-212-6/+10
| |
| * thread: exposed ResumeThreadFromWait function for use in other kernel modulesbunnei2014-05-212-8/+11
| |
| * thread: moved threading calls to the Kernel namespacebunnei2014-05-214-103/+117
| |
| * ARM_Interface: added SaveContext and LoadContext functions for HLE thread switchingbunnei2014-05-211-36/+2
| |
| * renamed "syscall" module to "svc" (more accurate naming)bunnei2014-05-216-17/+19
| |
| * thread: whitespace change - fixed * and & placementbunnei2014-05-212-27/+27
| |
| * - created a Kernel namespacebunnei2014-05-216-75/+87
| | | | | | | | | | - cleaned up Kernel code a bit (moved stuff into namespace, fixed whitespace issues) - added handle types for all different CTROS handles
| * apt: changed stubbed handle to be something other than 0xDEADBEEF (used as a magic value in other places) so that I can track how it propagates through the app codebunnei2014-05-201-1/+1
| |
| * thread: added declaration for __KernelReschedule to be used by syscall modulebunnei2014-05-201-0/+3
| |
| * renamed "session" to "handle"bunnei2014-05-191-3/+3
| |
| * - renamed NewHandle to CreateHandlebunnei2014-05-192-8/+8
| | | | | | | | - updated CreateHandle/DeleteHandle to use KernelObject's
| * fix warningbunnei2014-05-191-1/+1
| |
| * - updated service(s) to be KernelObject'sbunnei2014-05-197-59/+31
| | | | | | | | - various cleanups
| * renamed "UID" to "Handle" where appropriatebunnei2014-05-194-24/+22
| |
| * - moved Handle/Result definitions to kernel.hbunnei2014-05-196-14/+19
| | | | | | | | - added ResetType enum
| * - added stub for CreateEventbunnei2014-05-181-8/+22
| | | | | | | | - changed some stubbed SVCs to return unique handle names for debugging purposes
| * added stubbed function for WaitSynchronizationNbunnei2014-05-182-4/+19
| |
| * changed a commentbunnei2014-05-172-2/+2
| |
| * cleanups to SVC CreateThreadbunnei2014-05-171-8/+15
| |
| * - added enum ThreadProcessorIdbunnei2014-05-172-53/+107
| | | | | | | | | | - reorganized some kernel thread functions - added placeholder __KernelWaitThread_Synchronization function
| * - replaced KERNELOBJECT_MAX_NAME_LENGTH with KERNEL_MAX_NAME_LENGTHbunnei2014-05-173-8/+12
| | | | | | | | - added KERNEL_DEFAULT_STACK_SIZE definition (0x4000)
| * added stubbed GetProcSemaphore - does nothing but avoids an exceptionbunnei2014-05-171-1/+7
| |
| * updated APT_U::GetLockHandle to return a valid handlebunnei2014-05-171-1/+5
| |
| * Merge master into threading to add support for VFPbunnei2014-05-172-21/+2
| |\
| * | - added SVC stubs for QueryMemory and GetThreadIdbunnei2014-05-163-2/+30
| | | | | | | | | | | | - added SVC structs MemoryInfo and PageInfo
| * | completely gutted/refactored threading code to be simplerbunnei2014-05-162-658/+230
| | |
| * | changed "UID" to "Handle" to be a little more consistent with CTR namingbunnei2014-05-162-18/+21
| | |
| * | - added ThreadContext structbunnei2014-05-162-8/+26
| | | | | | | | | | | | - cleaned up CreateThread svc
| * | - added helper function for __KernelCreateThreadbunnei2014-05-152-4/+76
| | | | | | | | | | | | | | | - added __KernelSwitchToThread for enabling a thread - added __KernelRotateThreadReadyQueue
| * | changed primary thread priority to 0x30 - this is typical, not 0x31bunnei2014-05-151-1/+2
| | |
| * | added function stubs for EatCycles and ReSchedulebunnei2014-05-152-0/+15
| | |
| * | fixed thread reset to not set stack addressbunnei2014-05-141-1/+1
| | |
| * | various cleanups / remove unused codebunnei2014-05-142-65/+29
| | |
| * | added a bunch of threading code, recycled from PPSSPP, with lots of hacks in for 3DS... doesn't really do much yet. Just a jumping off pointbunnei2014-05-142-70/+543
| | |
| * | added CreateThread, CreateMutex, and ReleaseMutex SVC stubs (just parameter decoding for now)bunnei2014-05-142-7/+38
| | |
| * | - added __KernelLoadExec functionbunnei2014-05-142-13/+35
| | | | | | | | | | | | - fixed some logging
| * | added initial kernel/thread modulesbunnei2014-05-104-0/+527
| | |
* | | Merge remote-tracking branch 'upstream/master' into issue-7-fixarchshift2014-05-1713-282/+403
|\ \ \ | | |/ | |/|
| * | - reenabled MCR and MRC functions now that VFP is attachedbunnei2014-05-172-21/+2
| |/ | | | | | | - removed HLE::CallMCR function (was pointless)
| * removed unknown fields from GX_CmdBufferHeaderbunnei2014-05-081-5/+0
| |
| * removed unnecessary log messagebunnei2014-05-081-1/+1
| |
| * - removed HLE mem "hack" and replaced with kernel mem regionbunnei2014-05-087-105/+89
| | | | | | | | | | - added a helper function for getting command buffer for services - fixed bug where GSP DMA was incorrectly being done in DataSynchronizationBarrier (instead of gsp_TriggerCmdReqQueue)
| * - added debug logging to syscall.cppbunnei2014-05-072-135/+173
| | | | | | | | - added stubbed HLE syscall functions for svc_GetResourceLimit and svc_GetResourceLimitCurrentValues
| * added config_mem module for HLE of firmware configuration memory settingsbunnei2014-05-072-0/+91
| |
| * - added CallMCR function to coprocessor HLE modulebunnei2014-05-022-7/+20
| | | | | | | | - moved instruction decoding to coprocessor HLE module
| * fixed include in coprocessor.cppbunnei2014-05-021-1/+1
| |
| * renamed hle "mrc" module to "coprocessor"bunnei2014-05-022-0/+0
| |
| * - added some function wrappers for HLEbunnei2014-05-022-10/+29
| | | | | | | | | | - added stub for SVC CreateAddressArbiter - added OutputDebugString SVC
* | Problematic template functionsarchshift2014-04-281-15/+0
|/
* removed DISALLOW_COPY_AND_ASSIGN in favor of NonCopyable classbunnei2014-04-283-9/+0
|
* fixed weird spacingbunnei2014-04-281-1/+1
|
* hackish but working way to set the framebuffer location to VRAM (used in ARM11 demos tested thus far, e.g. yeti3DS)bunnei2014-04-271-3/+9
|
* added simple GSP GPU ReadHWRegs function to support returning the framebuffer addressbunnei2014-04-261-1/+37
|
* added preliminary DataSynchronizationBarrier support with simple DMA copybunnei2014-04-261-7/+39
|
* moved HLE::MRC to its own module, added support for catching data synchronization barrier commandbunnei2014-04-254-10/+52
|
* fixed bug where svc_ControlMemory was not properly getting passed in parametersbunnei2014-04-251-2/+2
|
* - added preliminary support for svc_MapMemoryBlockbunnei2014-04-251-4/+34
| | | | | - added shared memory region - moarrrr cleanups to memory_map
* added GSP::RegisterInterruptRelayQueue functionbunnei2014-04-251-31/+40
|
* - refactored how service functions are calledbunnei2014-04-255-19/+39
| | | | - added option to create/delete service handles
* renamed hw_lcd module to just lcdbunnei2014-04-181-2/+0
|
* added GSP heap memory allocationbunnei2014-04-181-1/+25
|
* added a new function wrapperbunnei2014-04-171-0/+5
|
* fixed bug with printing std::string in log messagesbunnei2014-04-171-2/+2
|
* added class stub for HID:User servicebunnei2014-04-173-0/+72
|
* updated service commentsbunnei2014-04-176-5/+17
|
* - fixed tabs in function_wrappers.hbunnei2014-04-174-395/+413
| | | | | - fixed log message wording in hle.cpp - added syscall stubs for CloseHandle and WaitSynchronization1
* - added stubbed out GSP::Gpu service interfacebunnei2014-04-167-7/+103
| | | | - various cleanups/refactors to HLE services
* removed no longer used function headerbunnei2014-04-161-2/+0
|
* restructured hle:services completely to use function lookup tablesbunnei2014-04-165-137/+215
|
* fixed naming for APT_Ubunnei2014-04-163-9/+9
|
* - extracted srv: calls from service.cpp and put in its own modulebunnei2014-04-164-106/+105
| | | | | - added function tables for service calls - lots of refactoring
* added a stub for GetLockHandlebunnei2014-04-143-9/+44
|
* added framework for APT service (application and title launching service)bunnei2014-04-135-5/+118
|
* renamed class Interface_SRV to SRVbunnei2014-04-131-6/+6
|
* added some very initial command parsing for SRV Syncbunnei2014-04-131-5/+31
|
* added a GetPointer function for reading from HLE command bufferbunnei2014-04-132-0/+14
|
* added OS memory read/write for thread command bufferbunnei2014-04-132-3/+55
|
* cleanups to service HLEbunnei2014-04-132-8/+8
|
* - added HLE to connect to "srv:" servicebunnei2014-04-135-130/+328
| | | | | | - added a manager for keeping track of services/ports - added a memory mapped region for memory accessed by HLE - added HLE for GetThreadCommandBuffer function
* - renamed hle_syscall to just syscallbunnei2014-04-125-101/+145
| | | | - added service.h as an initial service interface
* replace tabs with spacesbunnei2014-04-121-6/+6
|
* moved hle.cpp into hle folder (due to mistake earlier)bunnei2014-04-121-0/+57
|
* added remaining known syscall functions to Syscall_Tablebunnei2014-04-111-0/+80
|
* base code to call a syscall from ARM11 appcorebunnei2014-04-113-7/+56
|
* changed some naming/misc cleanupsbunnei2014-04-113-18/+17
|
* - removed syscall classes (will just use HLEFunction)bunnei2014-04-113-15/+17
| | | | | - added hle.cpp and module registration - removed unused code
* added initial modules for setting up SysCall HLEbunnei2014-04-114-0/+825