summaryrefslogtreecommitdiff
path: root/src/core/loader/3dsx.cpp
AgeCommit message (Collapse)Author
2017-10-12Remove lots more 3DS-specific code.bunnei
2017-10-09Merge remote-tracking branch 'upstream/master' into nxbunnei
# 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
2017-09-30nso: Refactor and allocate .bss section.bunnei
2017-09-26Loaders: Don't automatically set the current process every time we load an ↵Subv
application. 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-25HLE/Archives: Allow multiple loaded applications to access their SelfNCCH ↵Subv
archive independently. The loaders now register each loaded ROM with the SelfNCCH factory, which keeps the data around for the duration of the emulation session. When opening the SelfNCCH archive, the factory queries the current program's programid and uses that as a key to the map that contains the NCCHData structure (RomFS, Icon, Banner, etc). 3dsx files do not have a programid and will use a default of 0 for this value, thus, only 1 3dsx file with RomFS is loadable at the same time.
2017-09-24memory: Add GetCurrentPageTable/SetCurrentPageTableMerryMage
Don't expose Memory::current_page_table as a global.
2017-09-10Kernel/Memory: Give each Process its own page table.Subv
The loader is in charge of setting the newly created process's page table as the main one during the loading process.
2017-02-13loader: use self NCCH archivewwylele
2017-01-19loader: Add support for 3DSX special relocation types, fixes ↵Thomas Farr
citra-emu/citra#2449 As per devkitPro/3dstools@47bea18
2016-09-21Use negative priorities to avoid special-casing the self-includeYuri Kunde Schlesner
2016-09-21Remove empty newlines in #include blocks.Emmanuel Gil Peyrot
This makes clang-format useful on those. Also add a bunch of forgotten transitive includes, which otherwise prevented compilation.
2016-09-18Sources: Run clang-format on everything.Emmanuel Gil Peyrot
2016-05-21Loader, Frontends: Refactor loader creation and game loadingEmmanuel Gil Peyrot
This allows frontends to keep a single loader and use it multiple times e.g. for code loading and SMDH parsing.
2016-05-07fixup simple type conversions where possibleAlexander Laties
2016-05-04add icon & title to game listwwylele
2016-04-16core: Clean out some unnecessary header includesLioncash
2015-10-09CitraQt, SkyEye, Loader, VideoCore: Remove newlines in LOG_* calls.Emmanuel Gil Peyrot
The LOG_* function itself already appends one.
2015-09-21Implement 3dsx RomFSCruel
2015-07-19Core : Change variable typezawata
and fix various warnings
2015-07-13Loader: Remove unnecessary pointer indirection to IOFileYuri Kunde Schlesner
2015-07-11Core: Properly configure address space when loading a binaryYuri Kunde Schlesner
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-07-11Loader: Clean up 3dsx loader a bit, fixing a potential buffer overrunYuri Kunde Schlesner
2015-07-11Loader: Make 3dsx loader logs a bit less confusingYuri Kunde Schlesner
2015-05-29Remove every trailing whitespace from the project (but externals).Emmanuel Gil Peyrot
2015-05-14Core/ResourceLimits: Implemented the basic structure of ResourceLimits.Subv
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-15Memmap: Re-organize memory function in two filesYuri Kunde Schlesner
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-09Memory: Re-organize and rename memory area address constantsYuri Kunde Schlesner
2015-05-08Process: Rename StaticAddressMapping => AddressMappingYuri Kunde Schlesner
2015-05-08Process: Support parsing of exheader kernel capsYuri Kunde Schlesner
2015-05-08Kernel: Introduce skeleton Process class to hold process dataYuri Kunde Schlesner
2015-05-07Common: Remove common.hYuri Kunde Schlesner
2015-01-15Loader: Clean up the ELF AppLoader.Emmanuel Gil Peyrot
2015-01-15Loader: Clean up the 3DSX AppLoader.Emmanuel Gil Peyrot
2015-01-15Loader: Guess filetype from the magic, or fallback to the extension.Emmanuel Gil Peyrot
2015-01-15Loader: Don’t assume the file hasn’t been read before.Emmanuel Gil Peyrot
2015-01-15Loader: Keep a reference to the file and pass it to the correct AppLoader, ↵Emmanuel Gil Peyrot
instead of loading it multiple times.
2015-01-15Loader: Remove the useless THREEDSXReader class.Emmanuel Gil Peyrot
2015-01-15Loader: Never forget to change is_loaded.Emmanuel Gil Peyrot
2015-01-15Loader: Don’t duplicate the docstring into the cpp file.Emmanuel Gil Peyrot
2015-01-15Loader: Fix indentation, whitespace, and a few other such cosmetic stuff.Emmanuel Gil Peyrot
2014-12-21Merge pull request #291 from purpasmart96/licensebunnei
License change
2014-12-20License changepurpasmart96
2014-12-20Clean up some warningsChin
2014-12-16HLE: Move kernel/archive.* to service/fs/Yuri Kunde Schlesner
2014-12-13Convert old logging calls to new logging macrosYuri Kunde Schlesner
2014-12-08Loader: Add 3DSX supportichfly