summaryrefslogtreecommitdiffstats
path: root/src/core/loader/kip.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* code: dodge PAGE_SIZE #defineKyle Kienapfel2022-08-201-1/+1
| | | | | | | | | | | | | | | | | | | | | Some header files, specifically for OSX and Musl libc define PAGE_SIZE to be a number This is great except in yuzu we're using PAGE_SIZE as a variable Specific example `static constexpr u64 PAGE_SIZE = u64(1) << PAGE_BITS;` PAGE_SIZE PAGE_BITS PAGE_MASK are all similar variables. Simply deleted the underscores, and then added YUZU_ prefix Might be worth noting that there are multiple uses in different classes/namespaces This list may not be exhaustive Core::Memory 12 bits (4096) QueryCacheBase 12 bits ShaderCache 14 bits (16384) TextureCache 20 bits (1048576, or 1MB) Fixes #8779
* general: Convert source file copyright comments over to SPDXMorph2022-04-231-3/+2
| | | | | This formats all copyright comments according to SPDX formatting guidelines. Additionally, this resolves the remaining GPLv2 only licensed files by relicensing them to GPLv2.0-or-later.
* core: loader: kip: Minimal changes to fix KIP loading.bunnei2021-12-181-1/+7
| | | | - Allows us to boot KIP (kernal apps), useful for testing the kernel.
* hle: kernel: Rename Process to KProcess.bunnei2021-05-061-2/+2
|
* loader: Resolve instances of variable shadowingLioncash2021-04-271-6/+6
| | | | | Eliminates variable shadowing cases across all the loaders to bring us closer to enabling variable shadowing as an error in core.
* program_metadata: Set a default resource size when a NPDM is not presentMorph2021-04-231-1/+2
| | | | Sets a default size of 0x1FE00000 bytes (510 MiB) for the system_resource_size when a NPDM is not present.
* hle: kernel: Migrate PageHeap/PageTable to KPageHeap/KPageTable.bunnei2021-02-191-1/+1
|
* core: Eliminate remaining usages of the global system instanceLioncash2020-11-271-3/+0
| | | | | | Removes all remaining usages of the global system instance. After this, migration can begin to migrate to being constructed and managed entirely by the various frontends.
* core/CMakeLists: Make some warnings errorsLioncash2020-10-131-1/+1
| | | | | | | | | Makes our error coverage a little more consistent across the board by applying it to Linux side of things as well. This also makes it more consistent with the warning settings in other libraries in the project. This also updates httplib to 0.7.9, as there are several warning cleanups made that allow us to enable several warnings as errors.
* core/loader: Remove dependencies on the global system instanceLioncash2020-09-161-1/+2
| | | | | | | | | Now all that remains is: 18 instances in file_sys code 14 instances in GDB stub code (this can be tossed wholesale) 4 instances in HLE code 2 instances in settings code.
* loader: elf/kip/nro: Updates for new VMM.bunnei2020-04-171-1/+3
|
* core: memory: Move to Core::Memory namespace.bunnei2020-04-171-1/+1
| | | | - helpful to disambiguate Kernel::Memory namespace.
* core/loaders: Simplify PhysicalMemory usage.Markus Wick2020-01-181-2/+3
| | | | | It is currently a std::vector, however we might want to replace it with a more fancy allocator. So we can't use the C++ iterators any more.
* VM_Manager: Align allocated memory to 256bytesFernando Sahmkow2019-07-191-1/+1
| | | | | | This commit ensures that all backing memory allocated for the Guest CPU is aligned to 256 bytes. This due to how gpu memory works and the heavy constraints it has in the alignment of physical memory.
* kernel_executable: Optimize BLZ decompressionZach Hilman2019-06-071-4/+8
|
* loader: Add AppLoader_KIP for KIP filesZach Hilman2019-06-051-0/+98