Commit Graph

719 Commits (9061cdc9c0f11217f9d937ebdaeec8cbd566a04e)

Author SHA1 Message Date
Tony Wasserka 47a001722d BitField: Add an explicit evaluation method.
Sometimes it can be beneficial to use this in places where an explicit cast needs to happen otherwise. By using the evaluation method, it's not necessary anymore to explicitly write the underlying type in this case.
11 years ago
bunnei 3eb89f3e98 Kernel: Added preliminary support for address arbiters.
AddressArbiter: Added documentation comment, fixed whitespace issue.

AddressArbiter: Fixed incorrect comment, reordered if-statement to be more clear.

SVC: Removed trailing whitespace.
11 years ago
bunnei ba840d3200 Thread: Added functions to resume threads from address arbitration.
Thread: Cleaned up arbitrate address functions.

Thread: Cleaned up ArbitrateAllThreads function.
11 years ago
bunnei 59f2750482 function_wrappers: Fixed incorrect wrapper, added another. 11 years ago
bunnei 7ff92c36ed SharedMemory: Updated MapSharedMemory to use an enum for permissions.
- Also added some safety checks to MapSharedMemory.
11 years ago
bunnei 882dc07929 Memory: Removed deprecated MapBlock_Shared function. 11 years ago
bunnei 7b7a435094 GSP: Fixed to use real shared memory object, various cleanups.
- 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.
11 years ago
bunnei e547128185 Kernel: Added support for shared memory objects.
SharedMemory: Added optional name field for tracking known objects.
11 years ago
bunnei 3013015a0c mem_map: Updated interface to expose template functions to other modules. 11 years ago
bunnei b70c4fb48e NCCH: Updated ExeFS memory allocation to be safer. 11 years ago
bunnei 542700ccb7 Archive: Added Init/Shutdown methods to reset kernel archive state. 11 years ago
bunnei 1099d83455 Marked AppLoader_ELF, AppLoader_NCCH, and Archive_RomFS virtual functions as "override". 11 years ago
bunnei 2d734bb6c5 Marked AppLoader_ELF, AppLoader_NCCH, and Archive_RomFS classes as "final" 11 years ago
bunnei 2c62d92551 Loader: Updated read methods to be const
- Required "file" handle to be made local and explicitly opened/closed as needed
11 years ago
bunnei 1ccdb6a769 Qt: Updated open dialog to include NCCH formats. 11 years ago
bunnei 17a6148f9d FileSys: Added preliminary support for applications reading the RomFS archive.
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.
11 years ago
bunnei 82702fedb8 APT: Added stubbed ReceiveParameter and various cleanups.
APT: More cleanups.

APT: Changed SignalType to be type u32.
11 years ago
Tony Wasserka fd78786828 citra-qt: Rewrite disassembly view. 11 years ago
bunnei d8da707bb9 Loader: Refactored interface such that data is no longer stored by loader.
NCCH: Removed extra qualification ‘Loader::AppLoader_NCCH::’.
11 years ago
bunnei 48e39fc992 FS: Added stubbed code to intercept and decode file system service functions.
FS: Added to CMakeLists.txt
11 years ago
bunnei 8b8c8f4c13 Kernel: Added stubbed code to support creation of kernel Archive objects. 11 years ago
bunnei 0cc3e85685 Core: Removed unused directory_file_system and meta_file_system modules.
Core: Updated CMakeLists.txt to remove directory_file_system and meta_file_system modules.
11 years ago
bunnei 469fe42fad Merge pull request #22 from bunnei/loader-improvements
Refactor loader code and add preliminary NCCH support
11 years ago
bunnei a7f1c54490 Loader: Refactored loading functions to only read data from binary if called.
NCCH: Updated LoadExec to use Memory::WriteBlock function to load binary code.
11 years ago
bunnei 6aebd4ac98 MemMap: Added a WriteBlock function to write a buffer of data to memory. 11 years ago
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