Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2018-08-31 | core/core: Replace includes with forward declarations where applicable | Lioncash | 1 | -0/+1 | |
The follow-up to e2457418dae19b889b2ad85255bb95d4cd0e4bff, which replaces most of the includes in the core header with forward declarations. This makes it so that if any of the headers the core header was previously including change, then no one will need to rebuild the bulk of the core, due to core.h being quite a prevalent inclusion. This should make turnaround for changes much faster for developers. | |||||
2018-08-29 | kernel: Eliminate kernel global state | Lioncash | 1 | -2/+5 | |
As means to pave the way for getting rid of global state within core, This eliminates kernel global state by removing all globals. Instead this introduces a KernelCore class which acts as a kernel instance. This instance lives in the System class, which keeps its lifetime contained to the lifetime of the System class. This also forces the kernel types to actually interact with the main kernel instance itself instead of having transient kernel state placed all over several translation units, keeping everything together. It also has a nice consequence of making dependencies much more explicit. This also makes our initialization a tad bit more correct. Previously we were creating a kernel process before the actual kernel was initialized, which doesn't really make much sense. The KernelCore class itself follows the PImpl idiom, which allows keeping all the implementation details sealed away from everything else, which forces the use of the exposed API and allows us to avoid any unnecessary inclusions within the main kernel header. | |||||
2018-08-15 | loader: Remove address mapping remnants from citra | Lioncash | 1 | -1/+0 | |
These mappings are leftovers from citra and don't apply to the Switch. | |||||
2018-08-10 | loader: Add more descriptive errors | Zach Hilman | 1 | -1/+1 | |
Full list of new errors and descriptions in core/loader/loader.h | |||||
2018-08-03 | kernel/process: Use accessors instead of class members for referencing segment array | Lioncash | 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. | |||||
2018-07-24 | core: Make converting constructors explicit where applicable | Lioncash | 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. | |||||
2018-07-19 | Virtual Filesystem 2: Electric Boogaloo (#676) | Zach Hilman | 1 | -17/+7 | |
* Virtual Filesystem * Fix delete bug and documentate * Review fixes + other stuff * Fix puyo regression | |||||
2018-07-08 | Revert "Virtual Filesystem (#597)" | bunnei | 1 | -7/+17 | |
This reverts commit 77c684c1140f6bf3fb7d4560d06d2efb1a2ee5e2. | |||||
2018-07-06 | Virtual Filesystem (#597) | Zach Hilman | 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 | |||||
2018-07-03 | Update clang format | James Rowe | 1 | -5/+5 | |
2018-07-03 | Rename logging macro back to LOG_* | James Rowe | 1 | -8/+8 | |
2018-04-25 | loader: Move old logging macros over to new fmt-capable ones | Lioncash | 1 | -13/+13 | |
2018-03-31 | memory: Fix stack region. | bunnei | 1 | -1/+1 | |
2018-03-16 | kernel: Move stack region outside of application heap. | bunnei | 1 | -1/+1 | |
2018-03-14 | core: Move process creation out of global state. | bunnei | 1 | -1/+0 | |
2018-03-02 | Kernel: Store the program id in the Process class instead of the CodeSet class. | Subv | 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. | |||||
2018-01-21 | Format: Run the new clang format on everything | James Rowe | 1 | -2/+3 | |
2018-01-20 | loader: Clean up ctors and includes. | bunnei | 1 | -0/+3 | |
2018-01-20 | loader: Refactor to also pass filepath into IdentifyType. | bunnei | 1 | -1/+1 | |
2017-10-15 | core: Refactor MakeMagic usage and remove dead code. | bunnei | 1 | -1/+2 | |
2017-09-30 | nso: Refactor and allocate .bss section. | bunnei | 1 | -2/+3 | |
2017-09-30 | elf: Check if machine is ARM. | bunnei | 1 | -2/+9 | |
2017-09-27 | Loaders: Don't automatically set the current process every time we load an application. | Subv | 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. | |||||
2017-09-24 | memory: Add GetCurrentPageTable/SetCurrentPageTable | MerryMage | 1 | -1/+1 | |
Don't expose Memory::current_page_table as a global. | |||||
2017-09-10 | Kernel/Memory: Give each Process its own page table. | Subv | 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. | |||||
2017-05-08 | Remove ability to load symbol maps | Yuri Kunde Schlesner | 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. | |||||
2016-09-21 | Use negative priorities to avoid special-casing the self-include | Yuri Kunde Schlesner | 1 | -1/+1 | |
2016-09-21 | Remove empty newlines in #include blocks. | Emmanuel Gil Peyrot | 1 | -3/+1 | |
This makes clang-format useful on those. Also add a bunch of forgotten transitive includes, which otherwise prevented compilation. | |||||
2016-09-18 | Sources: Run clang-format on everything. | Emmanuel Gil Peyrot | 1 | -104/+127 | |
2016-01-25 | elf: Don't cast away const | Lioncash | 1 | -3/+3 | |
2015-07-14 | Loader: Fix variable type and remove unused variable | Yuri Kunde Schlesner | 1 | -2/+1 | |
2015-07-14 | Loader: Remove unnecessary pointer indirection to IOFile | Yuri Kunde Schlesner | 1 | -4/+4 | |
2015-07-12 | Core: Properly configure address space when loading a binary | Yuri Kunde Schlesner | 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. | |||||
2015-06-28 | CitraQt: Cleanup includes. | Emmanuel Gil Peyrot | 1 | -1/+2 | |
2015-05-15 | Core/ResourceLimits: Implemented the basic structure of ResourceLimits. | Subv | 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. | |||||
2015-05-15 | Memmap: Re-organize memory function in two files | Yuri Kunde Schlesner | 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. | |||||
2015-05-09 | Memory: Re-organize and rename memory area address constants | Yuri Kunde Schlesner | 1 | -1/+1 | |
2015-05-09 | Process: Rename StaticAddressMapping => AddressMapping | Yuri Kunde Schlesner | 1 | -1/+1 | |
2015-05-09 | Process: Support parsing of exheader kernel caps | Yuri Kunde Schlesner | 1 | -0/+1 | |
2015-05-09 | Kernel: Introduce skeleton Process class to hold process data | Yuri Kunde Schlesner | 1 | -4/+9 | |
2015-05-07 | Common: Remove common.h | Yuri Kunde Schlesner | 1 | -1/+2 | |
2015-01-30 | Silence a few warnings. | Rohit Nirmal | 1 | -2/+2 | |
2015-01-15 | Loader: Clean up the ELF AppLoader. | Emmanuel Gil Peyrot | 1 | -40/+33 | |
2015-01-15 | Loader: Guess filetype from the magic, or fallback to the extension. | Emmanuel Gil Peyrot | 1 | -0/+12 | |
2015-01-15 | Loader: Don’t assume the file hasn’t been read before. | Emmanuel Gil Peyrot | 1 | -0/+3 | |
2015-01-15 | Loader: Keep a reference to the file and pass it to the correct AppLoader, instead of loading it multiple times. | Emmanuel Gil Peyrot | 1 | -22/+8 | |
2015-01-15 | Loader: Never forget to change is_loaded. | Emmanuel Gil Peyrot | 1 | -1/+3 | |
2015-01-15 | Loader: Don’t duplicate the docstring into the cpp file. | Emmanuel Gil Peyrot | 1 | -6/+0 | |
2015-01-03 | elf: Make DidRelocate const | Lioncash | 1 | -1/+1 | |
2014-12-21 | License change | purpasmart96 | 1 | -2/+2 | |
2014-12-13 | Convert old logging calls to new logging macros | Yuri Kunde Schlesner | 1 | -8/+8 | |
2014-11-19 | Remove trailing spaces in every file but the ones imported from SkyEye, AOSP or generated | Emmanuel Gil Peyrot | 1 | -2/+2 | |
2014-09-17 | Common: Rename the File namespace to FileUtil, to match the filename and prevent collisions. | Emmanuel Gil Peyrot | 1 | -1/+1 | |
2014-06-25 | ELF: Refactored LoadInto(..) to use memcpy, removed unnecessary code. | bunnei | 1 | -19/+8 | |
2014-06-25 | Loader: Refactored use of const. | bunnei | 1 | -2/+2 | |
2014-06-25 | Loader: Implemented AppLoader interface for abstracting application loading. | bunnei | 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. | |||||
2014-06-17 | Loader: Cleaned up and removed unused code, refactored ELF namespace. | bunnei | 1 | -56/+51 | |
2014-06-17 | Elf: Renamed modules to be consistent with new loader naming, fixed tabs -> spaces. | bunnei | 1 | -0/+190 | |