Commit Graph

744 Commits (ce8390ac03661ec2b16e48aeaca02ae8c9291ec5)

Author SHA1 Message Date
bunnei cedc28dcc6 ELF: Refactored LoadInto(..) to use memcpy, removed unnecessary code. 11 years ago
bunnei 62b444cd17 Loader: Refactored use of const. 11 years ago
bunnei a8c4648520 NCCH: Added RomFS loading. 11 years ago
bunnei 3da2bc6830 NCCH: Fixes reduce unnecessary logging and load logo/banner/etc. sections correctly.
Loader: Added ErrorNotUsed ReturnStatus type to specify when something is not used.
11 years ago
bunnei 7889cafc76 Loader: Implemented AppLoader interface for abstracting application loading.
- Various cleanups/refactorings to Loader, ELF, and NCCH modules.
- Added AppLoader interface to ELF and NCCH.
- Updated Qt/GLFW frontends to check AppLoader ResultStatus.

NCCH: Removed extra qualification typos.

Loader: Removed unnecessary #include's.

NCCH: Improved readability of memcmp statements.

NCCH: Added missing space.

Elf: Removed unnecessary usage of unique_ptr.

Loader: Removed unnecessary usage of unique_ptr.
11 years ago
bunnei 4e4a028ecd citra_qt: Removed autogenerated files from repo and fixed build issues. 11 years ago
bunnei 79a48082e2 NCCH: Changed decompression to load .code directly into memory rather than an intermediate buffer. 11 years ago
bunnei c144ed5058 Elf: Removed unused macros, changed #include of "common.h" to just "common_types.h". 11 years ago
bunnei 13bdaa6c60 Loader: Cleaned up and removed unused code, refactored ELF namespace. 11 years ago
bunnei 1da361c7ab Elf: Renamed modules to be consistent with new loader naming, fixed tabs -> spaces. 11 years ago
bunnei 3577dd027d Loader: Added support for booting NCCH executables.
NCCH: Fixed typo in printing NCCH filename.
11 years ago
bunnei 0aca202ae9 Loader: Moved elf and loader modules to a "loader" subdirectory. 11 years ago
bunnei 2d7c46c874 Loader: Added stubbed detection of CXI and CCI files. 11 years ago
bunnei 10ae45b5e7 Loader: Removed unused CXI and DAT loading code. 11 years ago
bunnei 004df76795 Merge branch 'threading' of https://github.com/bunnei/citra
Conflicts:
	src/core/hle/function_wrappers.h
	src/core/hle/service/gsp.cpp
11 years ago
bunnei b45a38f557 Kernel: Removed unnecessary "#pragma once". 11 years ago
bunnei f49ac3a2d7 Kernel: Added freeing of kernel objects on emulator shutdown. 11 years ago
bunnei 83a4ad2885 Event: Updated several log messages to be assertions. 11 years ago
bunnei edaefe9fa6 HLE: Moved "PARAM" and "RETURN" macros to function_wrappers.h (this is only module where they are needed). 11 years ago
bunnei 8957622d10 SVC: Renamed all function wrapper templates to Wrap, moved to HLE namespace. 11 years ago
bunnei b62ef4bbd2 Thread: Renamed occurrences of "t" to "thread" to improve readability. 11 years ago
bunnei 5b7cf50a77 Thread: Cleaned up VerifyWait, fixed issue where nullptr msg could unnecessarily be logged. 11 years ago
bunnei 4620e2a741 HLE: Removed usnused EatCycles function. 11 years ago
bunnei 862db811f0 SVC: Cleaned up function wrappers to pass in correct argument types. 11 years ago
bunnei bfdd874b1f Thread: Moved position of * in arguments. 11 years ago
bunnei 12e2a59565 Thread: Updated VerifyWait to be more readable (but functionally the same). 11 years ago
bunnei 4d6c96b7d8 SVC: Moved declaration of "wait" variable in SendSyncRequest for improved readability. 11 years ago
bunnei c95972275e HLE: Updated all uses of NULL to nullptr (to be C++11 compliant) 11 years ago
bunnei 5365ca157d Kernel: Updated various kernel function "name" arguments to be const references. 11 years ago
bunnei d7363322c7 HLE: Updated various handle debug assertions to be more clear. 11 years ago
bunnei 780a443b08 Mutex: Moved ReleaseMutex iterator declaration to be inside while loop. 11 years ago
bunnei 8cac527c94 Kernel: Updated several member functions to be const 11 years ago
bunnei 0deeda54ee Core: Cleaned up SingleStep(), updated default LCD refresh to assume each instruction is ~3 cycles 11 years ago
bunnei 3449aaa350 Core: Changed HW update/thread reschedule to occur more frequently (assume each instruction is ~3 cycles) 11 years ago
bunnei b774b8b04e Thread: Fixed bug with ResetThread where cpu_registers[15] was being incorrectly set 11 years ago
bunnei aae9fcf4a4 Kernel: Made SyncRequest not pure virtual, with a default implementation of error (as this is not required for all kernel objects) 11 years ago
bunnei f5c7c15434 Kernel: Added real support for thread and event blocking
- 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.
11 years ago
Tony Wasserka c34ba38001 GPU debugger: Const correctness and build fix. 11 years ago
bunnei b919158050 Removed definition of MAX_PATH, this is already defined in common_paths.h. 11 years ago
archshift ee4717aaae Preprocessor: #if's out OSX-specific GL changes on other platforms 11 years ago
bunnei 06ef8f001a Common: Removed duplicate "LONG" and "MAX_PATH" definitions. 11 years ago
Tony Wasserka 4c2bff61e5 Pica: Use some template magic to define register structures efficiently. 11 years ago
Tony Wasserka f82410e633 Further refine GPU command list debugging. 11 years ago
Tony Wasserka b0051b2203 Refine command list debugging functionality and its qt interface. 11 years ago
Tony Wasserka 6893732348 citra-qt: Add command list view. 11 years ago
Tony Wasserka 5d62f5d92a GPU debugger: Add functionality to inspect command lists. 11 years ago
Tony Wasserka 50b2b73be4 video core: added PICA definitions file. 11 years ago
Tony Wasserka d4530765ce GPU: Cleanup register definitions. 11 years ago
Tony Wasserka 1dfa392824 Rename LCD to GPU. 11 years ago
Tony Wasserka 87e98ff97b citra-qt: Add GX command history viewer. 11 years ago
Tony Wasserka 31666632ca Add initial graphics debugger interface. 11 years ago
Tony Wasserka 82d3260359 GSP: Define more GX commands. 11 years ago
Tony Wasserka b1c8bad9a6 Pica: Add command list registers. 11 years ago
bunnei a002abf171 qt: updated disassembler to show 2X as many instructions 11 years ago
bunnei 174cc9a0ed hle: added a hokey way to force a thread reschedule during CPU single step mode (as used by the debugger) 11 years ago
bunnei 6cdad8390c arm: fixed a bug where ARM_Interpreter::ExecuteInstructions was actually executing one more instruction than expected 11 years ago
bunnei ce1c561278 kernel: changed current default thread priority back to 0x30 - I think this is more correct 11 years ago
bunnei 9ece9da50d arm: fixed bug in how thread context switch occurs with SkyEye 11 years ago
bunnei 870c6146e7 service: added a error log messages for unimplemented WaitSynchronization 11 years ago
bunnei c330a0a1d6 arm: reverting a change made with cb0663de - this has to have been a typo! 11 years ago
bunnei b78aff8585 svc: added optional name field to Event and Mutex (used for debugging) 11 years ago
bunnei 8c0f02a70c kernel: moved position of * for GetTypeName and GetName 11 years ago
bunnei 2773360f84 coprocessor: reenabled debug log 11 years ago
bunnei 477b0caca4 svc: updated WaitSynchronizationN to properly use first pointer argument 11 years ago
bunnei 4819e9a60f svc: changed DuplicateHandle log message from "error" to "debug" 11 years ago
bunnei 3fb31fbc57 svc: added GetThreadPriority and SetThreadPriority, added (incomplete) DuplicateHandle support 11 years ago
bunnei 10447d1f48 kernel: changed main thread priority to default, updated Kernel::Reschedule to use PrepareReschedule 11 years ago
bunnei e8a17ee6fd arm: added option to prepare CPU core (while mid-instruction) for thread reschedule 11 years ago
bunnei 15c7d81706 svc: cleaned up function_wrappers, updated various SVCs to make use of pointer arguments 11 years ago
Disruption 0be75c13ee Added 'this' reference to num_instructions field so it's properly updated,as before the method was affecting the local method parameter rather than the class field 11 years ago
bunnei 00adbc7817 log: updated MAX_LOGLEVEL to use correct log level enum type 11 years ago
bunnei 5cd922d151 log: updated GenericLog __attribute__ for newly added parameter 11 years ago
bunnei 2f55c9e55b svc: added missing function wrapper for SleepThread 11 years ago
bunnei 7dd18a8df9 gsp: always pass through synchronization barrier for commands 11 years ago
bunnei f2f638492b svc: updated waitSychronization to not overwrite handle on return, added stub for SleepThread (does nothing) 11 years ago
bunnei ba98e25e97 thread: updated Reschedule to sit at a synchronization barrier when no other threads are ready for execution 11 years ago
bunnei f7cececc5c event: added a hackish ability to set an event as "locked" to its current state, cleaned up some comments 11 years ago
bunnei 55325dea4c hle: added stubbed service for ndm_u 11 years ago
bunnei c451ad2835 service: cleaned up log messages 11 years ago
bunnei 2482be13df service: removed PT_A from, as this was just an alias for APT_U 11 years ago
bunnei 007b7edada srv: fix to log unimplemented service (instead of crash) 11 years ago
bunnei d8a2c8c657 mutex: fixed typo in ReleaseMutex 11 years ago
bunnei c404d22036 hle: cleaned up log messages 11 years ago
bunnei b0bad47c0e svc: updated OutputDebugString to use OS_LOG 11 years ago
bunnei 55a540eb02 arm: removed unnecessary code when calling SVC from skyeye 11 years ago
bunnei 6fc62f8c93 log: fixed to not print twice, enabled coloring, added OS print logging as its own type 11 years ago
bunnei 9839f3b6cd core: changed time delay before kernel reschedule to "approximate" a screen refresh 11 years ago
bunnei 6d267142ad svc: changed unimplemented SVC log messages from "debug" messages to "error" messages 11 years ago
bunnei 58af0da792 svc: added svcClearEvent, stubbed function for svcArbitrateAddress, and various fixes
- force kernel reschedule after svcWaitSynchronization
- fixed some bugs with passing in pointer arguments
- cleaned up some comments and log messages
11 years ago
bunnei d51c84dde2 event: added support for ClearEvent, fixed a bug with CreateEvent, fixed some comments 11 years ago
bunnei 545e6919ce service: added additional hack to return success on unimplemented service calls 11 years ago
bunnei b08b3c154f srv: changed a NOTICE_LOG to DEBUG_LOG 11 years ago
bunnei e7202e5b2d svc: added ArbitrationType enumeration 11 years ago
bunnei 4b4a6de1d8 apt: added stubbed function for InquireNotification 11 years ago
bunnei c4b5168b45 hle: properly cast 64-bit function wrapper parameters to (u64) 11 years ago
bunnei 9fd5d6c7d8 hle: removed PARAM64 macro (this was incorrect), made several bug fixes accordingly for decoding U64 function parameters 11 years ago
bunnei 46aef01d04 lcd: moved kFrameTicks to lcd.h for use in other modules 11 years ago
bunnei 70af9d620b service: changed interface to return 0 (no error) when a service method is unimplemented - hack to make apps boot further 11 years ago
bunnei 3972d4ca8b APT_U: added stubbed function for APT_U::Enable, fixed some log messages to be more consistent 11 years ago
bunnei 2ed6652f10 mutex: added preliminary SyncRequest/WaitSynchronization, added some comments/assertions 11 years ago
bunnei 47e781e80a svc: implemented WaitSynchronization1, WaitSynchronizationN, and CreateEvent 11 years ago
bunnei 94b30e8a38 APT_U: added event creation to Initialize method 11 years ago
bunnei ea8627d536 event: fixed typos and updated CMakeLists 11 years ago
bunnei beea6f054a event: added SetEventLocked method to change status an events lock 11 years ago
bunnei fd69fd0325 kernel: added event module to support creation of CTR "Event" objects 11 years ago
bunnei d493d725ac mutex: removed docstring comment that is no longer relevant 11 years ago
bunnei 93cd5a0691 mutex: added additional docstrings 11 years ago
bunnei a432dc8f39 kernel: added WaitSynchronization method to Kernel::Object 11 years ago
bunnei 58a3adcdd2 kernel: updated SyncRequest to take boolean thread wait result as a parameter 11 years ago
bunnei 6e51c56fe4 svc: added some assertions 11 years ago
bunnei 16fea415d0 service: Renamed Sync to SyncRequest 11 years ago
bunnei 3d7693f75f kernel: added enum for known CurrentThread and CurrentProcess handles 11 years ago
bunnei 96b2105524 srv: added a real mutex for GetProcSemaphore (instead of stubbed) 11 years ago
bunnei 9f7ed2d027 svc: changed SendSyncRequest to use Kernel::Object SyncRequest (instead of just service Interface class) 11 years ago
bunnei d73d782ba7 kernel: add a SyncRequest method to KernelObject for use with svcSendSyncRequest 11 years ago
bunnei 15d2ab1b33 svc: added stub for DuplicateHandle SVC call 11 years ago
bunnei 0aa582bf89 service: fixed typo that MSVC did not catch as an error 11 years ago
bunnei 420971a849 core: fixed headers in CMakeLists 11 years ago
bunnei 32c314c992 Merge branch 'threading' 11 years ago
bunnei 1de7e8cbe4 Merge branch 'master' of https://github.com/bunnei/citra 11 years ago
bunnei 51f636b3d4 core: added Kernel::Reschedule() call to check for thread changes, shortened delay time to 100 instructions 11 years ago
bunnei f8a98ab022 svc: added a check to ensure that a service was implemented before attempting to connect to its port 11 years ago
bunnei 7bb66421a0 lcd: added thread wait after (faked) vblank interrupt (would have) occurred 11 years ago
bunnei b99ac2c3d6 thread: renamed "WaitCurThread" to "WaitCurrentThread", removed unused "reason" argument 11 years ago
bunnei 7c0b006076 thread: removed unused SwitchContext/Reschedule reason field, added missing arg parameter to SVC CreateThread 11 years ago
bunnei d26f3d4c1f kernel: refactored function naming to remove "__" prefix 11 years ago
bunnei ac21e8f2db core: moved armcopro.cpp to correct filter folder (arm/interpreter) 11 years ago
bunnei 14bd37c5dc thread: moved ThreadStatus/WaitType to header, added support for arg on CreateThread, added correct CPSR reset 11 years ago
bunnei 9fddba6843 APT_U: added a debug log on calling GetLockHandle 11 years ago
bunnei 481d936d34 arm_interpreter: fixed load context to currently resume a thread 11 years ago
bunnei 6a78be5930 thread: fixed bug where result of __NextThread was not being properly checked when NULL 11 years ago
bunnei 06e3c3d55a svc: added Kernel::Reschedule to svc WaitSynchronization1, updated log messages to include newly created handles 11 years ago
bunnei 706584f007 svc: enabled use of newly created kernel thread handle 11 years ago
bunnei eb537c560a mutex: refactored the interface to code to return a Mutex* handle 11 years ago
bunnei 978e1d4653 mutex: initial commit of HLE module 11 years ago
bunnei 08e6a9bf89 svc: added some comments 11 years ago
bunnei 1c5802c35a kernel: fixed include, in general include "common.h" not "common_types.h" 11 years ago
bunnei 9bf7ce535a service: removed redundant include of common_types.h 11 years ago
bunnei a721a4eb33 arm: removed include of windows.h from armdefs.h to arminit.c (only module that uses it) 11 years ago
bunnei 22eb9a8981 armemu: missed rename of "Syscall" to "SVC" 11 years ago
bunnei 203541da11 thread: added correct lowest thread priority, added a thread priority check, and added some comments 11 years ago
bunnei bed4e920fa thread: exposed ResumeThreadFromWait function for use in other kernel modules 11 years ago
bunnei 75c6d2a8fa thread: moved threading calls to the Kernel namespace 11 years ago
bunnei 0012802456 ARM_Interpreter/ARM_Interface: Fixed member variable naming to be consistent with style guide 11 years ago
bunnei 49dc2ce8ac ARM_Interface: added SaveContext and LoadContext functions for HLE thread switching 11 years ago
bunnei 143bba2045 renamed "syscall" module to "svc" (more accurate naming) 11 years ago
bunnei f654a03f1f thread: whitespace change - fixed * and & placement 11 years ago
bunnei 44336329ed - created a Kernel namespace
- cleaned up Kernel code a bit (moved stuff into namespace, fixed whitespace issues)
- added handle types for all different CTROS handles
11 years ago
bunnei 0886dc70ed 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 code 11 years ago
bunnei f5a119a367 thread: added declaration for __KernelReschedule to be used by syscall module 11 years ago
bunnei 29930ac110 VFP: disable DBG messages because they spam the console with unimportant skyeye junk 11 years ago
bunnei 204c6bfeca Merge pull request #2 from archshift/issue-7-fix
Fixes issues with building Citra on OSX
11 years ago
archshift 5a8ed196e6 common_types: Changed BasicRect back to Rect, in the common namespace
Only Rect is in the namespace for now; the rest of common should be added in the future
11 years ago
archshift 034e3aabc8 Improved clarity and whitespace
Changed QGL version to 3,2 in order to be less restrictive, yet it should still change up to 4,1 on OSX on Qt5.
11 years ago
archshift 403e4bf837 CMakeLists: rename HEADS, improved comments
Changes for clarity of comments, removed redundant compiler flags.
11 years ago
archshift 71b8789803 Indent fixes 11 years ago
bunnei 9592d61037 Merge pull request #13 from archshift/master
Use runtime arguments to specify boot filename.
11 years ago
bunnei 088a2de9a6 renamed "session" to "handle" 11 years ago
bunnei 112904b832 - renamed NewHandle to CreateHandle
- updated CreateHandle/DeleteHandle to use KernelObject's
11 years ago
bunnei 16d55842c5 fix warning 11 years ago
bunnei eab6fd01d7 - updated service(s) to be KernelObject's
- various cleanups
11 years ago
bunnei 725d240bf7 renamed "UID" to "Handle" where appropriate 11 years ago
bunnei 772abad778 - moved Handle/Result definitions to kernel.h
- added ResetType enum
11 years ago
bunnei 8fba88d5d5 - added stub for CreateEvent
- changed some stubbed SVCs to return unique handle names for debugging purposes
11 years ago
bunnei 6a6c7eeccb added stubbed function for WaitSynchronizationN 11 years ago
archshift c396a5ac57 Fixed vfp issues 11 years ago
bunnei fbc04ad0c7 ignore thumbemu 0xDEADCODE debugging catch on MCR 11 years ago
bunnei 09b8e8fb6a changed a comment 11 years ago
bunnei cfea5fdd58 cleanups to SVC CreateThread 11 years ago
bunnei 3fac6dc39e Merge branch 'master' into threading 11 years ago
bunnei 265c770a9d updated how we call ARM core to make things much faster 11 years ago
archshift c1394650ff Updated cmakelists 11 years ago
archshift b8c8d0903e Merge remote-tracking branch 'upstream/master' into issue-7-fix 11 years ago
bunnei 14ae026386 - added enum ThreadProcessorId
- reorganized some kernel thread functions
- added placeholder __KernelWaitThread_Synchronization function
11 years ago
bunnei 43bc2ac724 added MIN, MAX, and CLAMP macros to common_funcs 11 years ago
bunnei 7cdb705059 - replaced KERNELOBJECT_MAX_NAME_LENGTH with KERNEL_MAX_NAME_LENGTH
- added KERNEL_DEFAULT_STACK_SIZE definition (0x4000)
11 years ago
bunnei 39ee75fc8d added stubbed GetProcSemaphore - does nothing but avoids an exception 11 years ago
bunnei 4faed70b40 add kernel.* and thread.* to VS filters 11 years ago
bunnei 540a693eae updated APT_U::GetLockHandle to return a valid handle 11 years ago
bunnei 0b1ba2f37a Merge master into threading to add support for VFP 11 years ago
bunnei 92be5517c4 same fix as last commit - just for vfpsingle.cpp 11 years ago
bunnei 1dc08765a8 another VFP fix for GCC 11 years ago
bunnei 509f63486a fixed VFP DBG log for GCC 11 years ago
bunnei afc9e27fc7 fixed typo in CMakeLists.txt 11 years ago
bunnei 145a91f21f - reenabled MCR and MRC functions now that VFP is attached
- removed HLE::CallMCR function (was pointless)
11 years ago
bunnei a2804bf701 - removed unused stubbed out code
- fixed some compiler issues with xscale_copro when porting code to Windows
- fixed some #include's
11 years ago
bunnei f872807de2 added maverick.cpp to ARM core from skyeye 11 years ago
bunnei f3c9875acb fixed includes 11 years ago
bunnei f5400080bd enabled CP_ACCESS_ALLOWED 11 years ago
bunnei 68408ed9b9 fixed include path 11 years ago
bunnei 7cd7d17954 removed undefined function ARMul_ConsolePrint 11 years ago
bunnei ad49d481a8 added missing armcopro from skyeye 11 years ago
bunnei 9a642caee7 added missing skyeye mmu code 11 years ago
bunnei 56846a4200 fixed armmmu imports 11 years ago
bunnei 3e1eafa244 - moved mmu to arm/interpreter folder
- added initial VFP code from skyeye
11 years ago
bunnei 4fba4f36bf - added SVC stubs for QueryMemory and GetThreadId
- added SVC structs MemoryInfo and PageInfo
11 years ago
bunnei 4910b6f336 added memory mapped region for system mem - sdk demos load a segment here on ELF load 11 years ago
bunnei 3c240abf10 added ability to load AXF files (same as ELF) 11 years ago
bunnei 940330c6e1 completely gutted/refactored threading code to be simpler 11 years ago
bunnei a7cc430aa4 changed "UID" to "Handle" to be a little more consistent with CTR naming 11 years ago
bunnei 367d63691f - added ThreadContext struct
- cleaned up CreateThread svc
11 years ago
bunnei cf2eb8e3d3 added ThreadQueueList class to common (taken from PPSSPP) 11 years ago
bunnei b99a5da65b - added helper function for __KernelCreateThread
- added __KernelSwitchToThread for enabling a thread
- added __KernelRotateThreadReadyQueue
11 years ago
bunnei 9f5588725c changed primary thread priority to 0x30 - this is typical, not 0x31 11 years ago
bunnei 4d7f3c74fd added function stubs for EatCycles and ReSchedule 11 years ago
bunnei 0de78eb3c4 fixed thread reset to not set stack address 11 years ago
bunnei 7d078189da various cleanups / remove unused code 11 years ago
bunnei 3838d46b90 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 point 11 years ago
bunnei b87536e82c changed loader to use __KernelLoadExec 11 years ago
bunnei b5ef630c9c added CreateThread, CreateMutex, and ReleaseMutex SVC stubs (just parameter decoding for now) 11 years ago
bunnei 1583d2b6f3 - added __KernelLoadExec function
- fixed some logging
11 years ago
bunnei ce4d271a53 added option to set CPSR register to arm_interface 11 years ago
bunnei 6b264518a5 added initial kernel/thread modules 11 years ago
bunnei daf7a7880a added kernel logger to common 11 years ago
bunnei bdc54d0d48 Merge pull request #15 from bunnei/hle-services
Various fixes/improvements to HLE of 3DS services, mostly cleans up GSP call decoding
11 years ago
bunnei b39cd3a64c removed unknown fields from GX_CmdBufferHeader 11 years ago
bunnei a6b047ec3b removed incorrect dolphin copyright line 11 years ago
Sethpaien e1fcb2fdfb Update FlipFramebuffer
Less calculations + fix
11 years ago
bunnei a713bd1bad fixed include of common in bit_field.h 11 years ago
bunnei 505d984f16 logger fix for linux 11 years ago
bunnei 4de763f462 removed unnecessary log message 11 years ago
bunnei 72622a1b5a - removed HLE mem "hack" and replaced with kernel mem region
- 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)
11 years ago
bunnei f23e99bb85 added kernel memory to mem_map 11 years ago
bunnei 92bde183dd added GSP to loggers 11 years ago
bunnei e7a0283625 added BitField to common 11 years ago
bunnei de36d82dde - added debug logging to syscall.cpp
- added stubbed HLE syscall functions for svc_GetResourceLimit and svc_GetResourceLimitCurrentValues
11 years ago
bunnei a3a383cb7a added mem_map read for config_mem 11 years ago
bunnei 34dc0a9b07 added config_mem module for HLE of firmware configuration memory settings 11 years ago
bunnei d1472b816f - disable strict alignment on LDRD/STRD
- handle RD in STREX/STREXB
11 years ago
bunnei 9db26df05f - added better SVC logging
- added stubs for GetResourceLimit and GetResourceLimitCurrentValues SVCs
11 years ago
bunnei e3ee3e441b commented out useless debug logs that just spammed console 11 years ago
archshift bd316ca0c0 Fixed indents 11 years ago
archshift 62528320ea Check arg count before attempting to access it. 11 years ago
bunnei f7c6302009 - added CallMCR function to coprocessor HLE module
- moved instruction decoding to coprocessor HLE module
11 years ago
bunnei c1e71ae1ac fixed include in coprocessor.cpp 11 years ago
bunnei f043424915 renamed hle "mrc" module to "coprocessor" 11 years ago
bunnei 4ee72869cc - added some function wrappers for HLE
- added stub for SVC CreateAddressArbiter
- added OutputDebugString SVC
11 years ago
archshift eec40f8f6f Use runtime arguments to specify boot filename. 11 years ago
archshift 7817d6c79a Support for C++11 on OSX 11 years ago
bunnei bb7fcf79fe - added option to load a code.bin file extracted from a CXI file
- updated load launcher.dat function to use ARM11 format hack
11 years ago
bunnei 08fb71108a added symbol map load function to Qt GUI 11 years ago
bunnei 29da6e9ab5 added a module to load symbol map files for debugging 11 years ago
bunnei 924e7b6af8 fixed a bug where ExeFs code was being incorrectly masked 11 years ago
archshift 704075f04a Fixed indents 11 years ago
archshift 948cfe6d37 Reverse debugging changes 11 years ago
archshift dade106aa9 Linux support 11 years ago
archshift fb47258af7 TGA dumps work, courtesy of @bunnei 11 years ago
archshift bdc3c99904 Merge commit upstream/master into issue-7-fix 11 years ago
archshift 3dad4e3b5c Sets OGL version for Qt; will only work with Qt5 11 years ago
archshift c1b770cc0d OpenGL 3+ on OSX with GLFW 11 years ago
archshift a7f3ed003d A bit of Cmake love 11 years ago
bunnei 235dddb3f1 added virtual memory map for ExeFS (where ARM11 code is supposed to be loaded) 11 years ago
bunnei c37390f8e2 reorganized memory regions enum, added regions for ExeFS code 11 years ago
archshift 52377cf0d2 Some more experimentation 11 years ago
archshift 237d079aad Merge commit upstream/master into issue-7-fix 11 years ago
archshift 5a9c2ce5ea IT'S ALIVE! 11 years ago
bunnei d45b14fc66 Merge pull request #5 from cpp3ds/master
Travis CI script
11 years ago
archshift 5749d1eabe Fix complaints about functions that could not be found 11 years ago
archshift 5741f2fb26 Problematic class with no current implementation 11 years ago
archshift b9fc729928 Problematic template functions 11 years ago
archshift 48deb45624 Xcode complains that the class name is redundant. 11 years ago
archshift ff48c8bed3 Rect to BasicRect
Somewhere along the line an OSX header had already taken the name Rect.
11 years ago
bunnei af921daa4c added virtual address conversion for firmware FW0B 11 years ago
bunnei 81cb80997a add missing bswap functions 11 years ago
bunnei 535947a0e1 fix for issue Linux build #9, not sure why this is broken but its unused code I'm just getting rid of it 11 years ago
bunnei 438dba40c1 Merge branch 'hle-interface-updates' 11 years ago
bunnei a48c6b947d removed DISALLOW_COPY_AND_ASSIGN in favor of NonCopyable class 11 years ago
bunnei 451a14f98c fixed weird spacing 11 years ago
bunnei f76a60be05 removed commented out line - this was for an unimplemented MRC call, no longer need to leave this here 11 years ago
bunnei 1142ccba03 fixed renderer to use correct framebuffer location 11 years ago
bunnei a6c925112a hackish but working way to set the framebuffer location to VRAM (used in ARM11 demos tested thus far, e.g. yeti3DS) 11 years ago
bunnei b2a6ad52f4 added helper functions to mem_map to convert physical addresses to virtual addresses 11 years ago
bunnei f0525a1eb4 added code to LCD modules keep track of framebuffer location in FCRAM or VRAM 11 years ago
bunnei f78794961e - changed HW IO map to use virtual addresses
- added hooks to catch LCD IO read/writes
11 years ago
bunnei 9e047e32d4 added simple GSP GPU ReadHWRegs function to support returning the framebuffer address 11 years ago
bunnei a272803dcb added preliminary DataSynchronizationBarrier support with simple DMA copy 11 years ago
bunnei 25d595d869 added (fake) physical addresses for where to put framebuffer in VRAM 11 years ago
bunnei 86a515e5ac added vram to memory_map 11 years ago
Thomas Edvalson a226dc57bf Need to add Xcursor to linker? 11 years ago
bunnei cb0663de51 moved HLE::MRC to its own module, added support for catching data synchronization barrier command 11 years ago
bunnei 6151e26958 added disassembly to unimplemented instruction 11 years ago
bunnei 2672e7d883 removed some cruft 11 years ago
bunnei e08f242141 fixed bug where svc_ControlMemory was not properly getting passed in parameters 11 years ago
Thomas Edvalson c51e4822b1 Fixed CMake's import of GLFW. 11 years ago
Thomas Edvalson 08e1ba746f Resolved undefined Common::g_scm_branch error. 11 years ago
bunnei 890c7261d2 - added preliminary support for svc_MapMemoryBlock
- added shared memory region
- moarrrr cleanups to memory_map
11 years ago
bunnei b7cd4c9e90 added functions to map Heap and Shared memory space 11 years ago
bunnei 66e1f8ab33 added GSP::RegisterInterruptRelayQueue function 11 years ago
bunnei cd0664eb77 - refactored how service functions are called
- added option to create/delete service handles
11 years ago
bunnei 66a98ea686 made qt window title consistent 11 years ago
bunnei 80a040ac77 fixes to scm_rev generation to make it conistent with windows build 11 years ago
ShizZy 121960a2eb updated windows scm_rev code to use new style 11 years ago
bunnei 4405a53cf3 added scm rev generation on Linux/cmake 11 years ago
bunnei 7a136b8a84 fixes to build on linux 11 years ago
ShizZy c479921142 removed duplicate rotl/rotr functions 11 years ago
ShizZy 5c89324809 updated CMakeLists for missing files 11 years ago
Mathieu Vaillancourt 81f6062c85 Re-enable toggling window mode. 11 years ago
Mathieu Vaillancourt 5ad1aa8b68 Add a quick way to load Launcher.dat files 11 years ago
bunnei bf025ed03c fixed order of LogManager and System init 11 years ago
bunnei 7a080551ac fixed GL context acquire (applies to Qt GUI only) 11 years ago