Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | loader: Add more descriptive errors | Zach Hilman | 2018-08-10 | 1 | -1/+1 |
| | | | Full list of new errors and descriptions in core/loader/loader.h | ||||
* | kernel/process: Use accessors instead of class members for referencing segment array | Lioncash | 2018-08-03 | 1 | -3/+3 |
| | | | | | | | Using member variables for referencing the segments array increases the size of the class in memory for little benefit. The same behavior can be achieved through the use of accessors that just return the relevant segment. | ||||
* | core: Make converting constructors explicit where applicable | Lioncash | 2018-07-24 | 1 | -1/+1 |
| | | | | | Avoids unwanted implicit conversions. Thankfully, given the large amount of cleanup in past PRs, only this tiny amount is left over to cover. | ||||
* | Virtual Filesystem 2: Electric Boogaloo (#676) | Zach Hilman | 2018-07-19 | 1 | -17/+7 |
| | | | | | | | | | | * Virtual Filesystem * Fix delete bug and documentate * Review fixes + other stuff * Fix puyo regression | ||||
* | Revert "Virtual Filesystem (#597)" | bunnei | 2018-07-08 | 1 | -7/+17 |
| | | | | This reverts commit 77c684c1140f6bf3fb7d4560d06d2efb1a2ee5e2. | ||||
* | Virtual Filesystem (#597) | Zach Hilman | 2018-07-06 | 1 | -17/+7 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add VfsFile and VfsDirectory classes * Finish abstract Vfs classes * Implement RealVfsFile (computer fs backend) * Finish RealVfsFile and RealVfsDirectory * Finished OffsetVfsFile * More changes * Fix import paths * Major refactor * Remove double const * Use experimental/filesystem or filesystem depending on compiler * Port partition_filesystem * More changes * More Overhaul * FSP_SRV fixes * Fixes and testing * Try to get filesystem to compile * Filesystem on linux * Remove std::filesystem and document/test * Compile fixes * Missing include * Bug fixes * Fixes * Rename v_file and v_dir * clang-format fix * Rename NGLOG_* to LOG_* * Most review changes * Fix TODO * Guess 'main' to be Directory by filename | ||||
* | Update clang format | James Rowe | 2018-07-03 | 1 | -5/+5 |
| | |||||
* | Rename logging macro back to LOG_* | James Rowe | 2018-07-03 | 1 | -8/+8 |
| | |||||
* | loader: Move old logging macros over to new fmt-capable ones | Lioncash | 2018-04-25 | 1 | -13/+13 |
| | |||||
* | memory: Fix stack region. | bunnei | 2018-03-31 | 1 | -1/+1 |
| | |||||
* | kernel: Move stack region outside of application heap. | bunnei | 2018-03-16 | 1 | -1/+1 |
| | |||||
* | core: Move process creation out of global state. | bunnei | 2018-03-14 | 1 | -1/+0 |
| | |||||
* | Kernel: Store the program id in the Process class instead of the CodeSet class. | Subv | 2018-03-02 | 1 | -2/+2 |
| | | | | There may be many CodeSets per Process, so it's wasteful and overcomplicated to store the program id in each of them. | ||||
* | Merge pull request #117 from jroweboy/clang-format | bunnei | 2018-01-21 | 1 | -2/+3 |
|\ | | | | | Clang format as a build target | ||||
| * | Format: Run the new clang format on everything | James Rowe | 2018-01-21 | 1 | -2/+3 |
| | | |||||
* | | loader: Clean up ctors and includes. | bunnei | 2018-01-20 | 1 | -0/+3 |
| | | |||||
* | | loader: Refactor to also pass filepath into IdentifyType. | bunnei | 2018-01-20 | 1 | -1/+1 |
|/ | |||||
* | core: Refactor MakeMagic usage and remove dead code. | bunnei | 2017-10-15 | 1 | -1/+2 |
| | |||||
* | Merge remote-tracking branch 'upstream/master' into nx | bunnei | 2017-10-10 | 1 | -8/+8 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | # Conflicts: # src/core/CMakeLists.txt # src/core/arm/dynarmic/arm_dynarmic.cpp # src/core/arm/dyncom/arm_dyncom.cpp # src/core/hle/kernel/process.cpp # src/core/hle/kernel/thread.cpp # src/core/hle/kernel/thread.h # src/core/hle/kernel/vm_manager.cpp # src/core/loader/3dsx.cpp # src/core/loader/elf.cpp # src/core/loader/ncch.cpp # src/core/memory.cpp # src/core/memory.h # src/core/memory_setup.h | ||||
| * | Loaders: Don't automatically set the current process every time we load an application. | Subv | 2017-09-27 | 1 | -8/+7 |
| | | | | | | | | The loaders will now just create a Kernel::Process, construct it and return it to the caller, which is responsible for setting it as the current process and configuring the global page table. | ||||
| * | memory: Add GetCurrentPageTable/SetCurrentPageTable | MerryMage | 2017-09-24 | 1 | -1/+1 |
| | | | | | | | | Don't expose Memory::current_page_table as a global. | ||||
| * | Kernel/Memory: Give each Process its own page table. | Subv | 2017-09-10 | 1 | -0/+1 |
| | | | | | | | | The loader is in charge of setting the newly created process's page table as the main one during the loading process. | ||||
* | | nso: Refactor and allocate .bss section. | bunnei | 2017-09-30 | 1 | -2/+3 |
| | | |||||
* | | elf: Check if machine is ARM. | bunnei | 2017-09-30 | 1 | -2/+9 |
|/ | |||||
* | Remove ability to load symbol maps | Yuri Kunde Schlesner | 2017-05-08 | 1 | -32/+0 |
| | | | | | This was now mostly unused except by thread creation, which used a symbol of the entrypoint, if available, to name the thread. | ||||
* | Use negative priorities to avoid special-casing the self-include | Yuri Kunde Schlesner | 2016-09-21 | 1 | -1/+1 |
| | |||||
* | Remove empty newlines in #include blocks. | Emmanuel Gil Peyrot | 2016-09-21 | 1 | -3/+1 |
| | | | | | | | This makes clang-format useful on those. Also add a bunch of forgotten transitive includes, which otherwise prevented compilation. | ||||
* | Sources: Run clang-format on everything. | Emmanuel Gil Peyrot | 2016-09-18 | 1 | -104/+127 |
| | |||||
* | elf: Don't cast away const | Lioncash | 2016-01-25 | 1 | -3/+3 |
| | |||||
* | Loader: Fix variable type and remove unused variable | Yuri Kunde Schlesner | 2015-07-14 | 1 | -2/+1 |
| | |||||
* | Loader: Remove unnecessary pointer indirection to IOFile | Yuri Kunde Schlesner | 2015-07-14 | 1 | -4/+4 |
| | |||||
* | Core: Properly configure address space when loading a binary | Yuri Kunde Schlesner | 2015-07-12 | 1 | -15/+66 |
| | | | | | | The code now properly configures the process image to match the loaded binary segments (code, rodata, data) instead of just blindly allocating a large chunk of dummy memory. | ||||
* | CitraQt: Cleanup includes. | Emmanuel Gil Peyrot | 2015-06-28 | 1 | -1/+2 |
| | |||||
* | Core/ResourceLimits: Implemented the basic structure of ResourceLimits. | Subv | 2015-05-15 | 1 | -0/+4 |
| | | | | | | Implemented svcs GetResourceLimit, GetResourceLimitCurrentValues and GetResourceLimitLimitValues. Note that the resource limits do not currently keep track of used objects, since we have no way to distinguish between an object created by the application, and an object created by some HLE module once we're inside Kernel::T::Create. | ||||
* | Memmap: Re-organize memory function in two files | Yuri Kunde Schlesner | 2015-05-15 | 1 | -1/+1 |
| | | | | | | | memory.cpp/h contains definitions related to acessing memory and configuring the address space mem_map.cpp/h contains higher-level definitions related to configuring the address space accoording to the kernel and allocating memory. | ||||
* | Memory: Re-organize and rename memory area address constants | Yuri Kunde Schlesner | 2015-05-09 | 1 | -1/+1 |
| | |||||
* | Process: Rename StaticAddressMapping => AddressMapping | Yuri Kunde Schlesner | 2015-05-09 | 1 | -1/+1 |
| | |||||
* | Process: Support parsing of exheader kernel caps | Yuri Kunde Schlesner | 2015-05-09 | 1 | -0/+1 |
| | |||||
* | Kernel: Introduce skeleton Process class to hold process data | Yuri Kunde Schlesner | 2015-05-09 | 1 | -4/+9 |
| | |||||
* | Common: Remove common.h | Yuri Kunde Schlesner | 2015-05-07 | 1 | -1/+2 |
| | |||||
* | Silence a few warnings. | Rohit Nirmal | 2015-01-30 | 1 | -2/+2 |
| | |||||
* | Loader: Clean up the ELF AppLoader. | Emmanuel Gil Peyrot | 2015-01-15 | 1 | -40/+33 |
| | |||||
* | Loader: Guess filetype from the magic, or fallback to the extension. | Emmanuel Gil Peyrot | 2015-01-15 | 1 | -0/+12 |
| | |||||
* | Loader: Don’t assume the file hasn’t been read before. | Emmanuel Gil Peyrot | 2015-01-15 | 1 | -0/+3 |
| | |||||
* | Loader: Keep a reference to the file and pass it to the correct AppLoader, instead of loading it multiple times. | Emmanuel Gil Peyrot | 2015-01-15 | 1 | -22/+8 |
| | |||||
* | Loader: Never forget to change is_loaded. | Emmanuel Gil Peyrot | 2015-01-15 | 1 | -1/+3 |
| | |||||
* | Loader: Don’t duplicate the docstring into the cpp file. | Emmanuel Gil Peyrot | 2015-01-15 | 1 | -6/+0 |
| | |||||
* | elf: Make DidRelocate const | Lioncash | 2015-01-03 | 1 | -1/+1 |
| | |||||
* | License change | purpasmart96 | 2014-12-21 | 1 | -2/+2 |
| | |||||
* | Convert old logging calls to new logging macros | Yuri Kunde Schlesner | 2014-12-13 | 1 | -8/+8 |
| | |||||
* | Remove trailing spaces in every file but the ones imported from SkyEye, AOSP or generated | Emmanuel Gil Peyrot | 2014-11-19 | 1 | -2/+2 |
| | |||||
* | Common: Rename the File namespace to FileUtil, to match the filename and prevent collisions. | Emmanuel Gil Peyrot | 2014-09-17 | 1 | -1/+1 |
| | |||||
* | ELF: Refactored LoadInto(..) to use memcpy, removed unnecessary code. | bunnei | 2014-06-25 | 1 | -19/+8 |
| | |||||
* | Loader: Refactored use of const. | bunnei | 2014-06-25 | 1 | -2/+2 |
| | |||||
* | Loader: Implemented AppLoader interface for abstracting application loading. | bunnei | 2014-06-25 | 1 | -61/+257 |
| | | | | | | | | | | | | | | | | | | - 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. | ||||
* | Loader: Cleaned up and removed unused code, refactored ELF namespace. | bunnei | 2014-06-17 | 1 | -56/+51 |
| | |||||
* | Elf: Renamed modules to be consistent with new loader naming, fixed tabs -> spaces. | bunnei | 2014-06-17 | 1 | -0/+190 |