Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge pull request #5148 from comex/xx-unused-fields | bunnei | 2020-12-07 | 1 | -2/+2 |
|\ | | | | | core: Mark unused fields as [[maybe_unused]] | ||||
| * | core: Mark unused fields as [[maybe_unused]] | comex | 2020-12-07 | 1 | -2/+2 |
| | | |||||
* | | video_core: Resolve more variable shadowing scenarios pt.3 | Lioncash | 2020-12-05 | 1 | -3/+3 |
|/ | | | | | Cleans out the rest of the occurrences of variable shadowing and makes any further occurrences of shadowing compiler errors. | ||||
* | core: arm: Implement InvalidateCacheRange for CPU cache invalidation. | bunnei | 2020-11-29 | 1 | -0/+5 |
| | |||||
* | Revert "core: Fix clang build" | bunnei | 2020-10-21 | 5 | -27/+20 |
| | |||||
* | core: Fix clang build | Lioncash | 2020-10-18 | 5 | -20/+27 |
| | | | | | | | Recent changes to the build system that made more warnings be flagged as errors caused building via clang to break. Fixes #4795 | ||||
* | Merge pull request #4492 from lioncash/linkage | bunnei | 2020-08-15 | 2 | -15/+11 |
|\ | | | | | system_control: Make functions internally linked where applicable | ||||
| * | system_control: Make functions internally linked where applicable | Lioncash | 2020-08-05 | 2 | -15/+11 |
| | | | | | | | | | | These functions are only ever used internally as implementation details for GenerateRandomRange(), so these can be given internal linkage. | ||||
* | | General: Tidy up clang-format warnings part 2 | Lioncash | 2020-08-13 | 1 | -10/+12 |
| | | |||||
* | | kernel: Remove unused variables | Lioncash | 2020-08-05 | 1 | -1/+0 |
|/ | | | | Resolves a few compiler warnings. | ||||
* | Merge pull request #4327 from lioncash/desig2 | Rodrigo Locatti | 2020-07-16 | 2 | -58/+38 |
|\ | | | | | address_space_info: Make use of designated initializers | ||||
| * | address_space_info: Use type alias to simplify code | Lioncash | 2020-07-13 | 1 | -14/+13 |
| | | | | | | | | | | We can define an alias for the index arrays and then just reuse it to make the code nicer to read. | ||||
| * | address_space_info: Make use of designated initializers | Lioncash | 2020-07-13 | 2 | -46/+27 |
| | | | | | | | | | | We can alter the structure so that we can use designated initializers in the array, eliminating the comments that indicate their field names. | ||||
* | | memory_layout: Remove unused data member | Lioncash | 2020-07-13 | 1 | -2/+0 |
|/ | | | | | This isn't used, so it can be removed entirely, shrinking the structure size by 8 bytes. | ||||
* | memory_manager: Remove useless assertion | David Marcec | 2020-06-25 | 1 | -1/+0 |
| | | | | num_pages is an std::size_t. It will always be >= 0 | ||||
* | memory_manager: Explicitly specifcy std::min<size_t> | MerryMage | 2020-06-18 | 1 | -2/+2 |
| | |||||
* | Merge pull request #3881 from lioncash/mem-warning | bunnei | 2020-05-05 | 11 | -23/+11 |
|\ | | | | | kernel/memory: Resolve several compiler warnings | ||||
| * | kernel/memory: Remove #pragma once within cpp file | Lioncash | 2020-05-03 | 1 | -2/+0 |
| | | | | | | | | This isn't necessary in a cpp file and will cause warnings on clang. | ||||
| * | kernel/memory: Remove unused includes | Lioncash | 2020-05-03 | 7 | -8/+1 |
| | | | | | | | | | | Prevents header churn and needing to recompile these files if these headers are ever changed in the future. | ||||
| * | kernel/memory: Remove unused variables in memory_block_manager | Lioncash | 2020-05-03 | 1 | -3/+0 |
| | | | | | | | | Prevents unused variable warnings. | ||||
| * | kernel/memory: Make use of std::array consistently in address_space_info | Lioncash | 2020-05-03 | 1 | -6/+6 |
| | | | | | | | | | | This allows tuning standard library implementations to enable or disable range checks at runtime, which is nicer for debugging. | ||||
| * | kernel/memory: Resolve -Wshadow warnings | Lioncash | 2020-05-03 | 1 | -4/+4 |
| | | | | | | | | Prevents variable name clashing. | ||||
* | | kernel/memory: Amend potential encoding warnings | Lioncash | 2020-05-03 | 6 | -12/+12 |
|/ | | | | | | | While èis generally representable in some language encodings, in some it isn't and will result in compilation warnings occurring. To remain friendly with other language's codepages on Windows, we normalize it to an ASCII e. | ||||
* | page_table: Remove unused captures | Lioncash | 2020-04-23 | 1 | -2/+2 |
| | | | | | | Any time the lambda function is called, the permission being used in the capture would be passed in as an argument to the lambda, so the capture is unnecessary. | ||||
* | kernel: memory: Improve implementation of device shared memory. (#3707) | bunnei | 2020-04-23 | 5 | -3/+105 |
| | | | | | | | * kernel: memory: Improve implementation of device shared memory. * fixup! kernel: memory: Improve implementation of device shared memory. * fixup! kernel: memory: Improve implementation of device shared memory. | ||||
* | memory/slab_heap: Make use of static_cast over reinterpret_cast | Lioncash | 2020-04-18 | 1 | -2/+2 |
| | | | | | Casting from void* with static_cast is permitted by the standard, so we can just make use of that instead. | ||||
* | core: hle: Address various feedback & code cleanup. | bunnei | 2020-04-17 | 6 | -232/+135 |
| | | | | - Should be no functional changes. | ||||
* | memory: Add copyright notice for Atmosphere where applicable. | bunnei | 2020-04-17 | 6 | -0/+18 |
| | |||||
* | kernel: memory: page_table: Simplify GetPhysicalAddr impl. | bunnei | 2020-04-17 | 2 | -5/+3 |
| | |||||
* | core: system: Rename GetDeviceManager -> DeviceManager. | bunnei | 2020-04-17 | 1 | -1/+1 |
| | | | | - More consistent with other system components. | ||||
* | kernel: memory: Add PageTable class, to manage process address space. | bunnei | 2020-04-17 | 2 | -0/+1508 |
| | |||||
* | kernel: memory: Add MemoryLayout class, to build physical memory layout. | bunnei | 2020-04-17 | 1 | -0/+73 |
| | |||||
* | kernel: memory: Add MemoryManager class, to manage page heaps. | bunnei | 2020-04-17 | 2 | -0/+274 |
| | |||||
* | kernel: memory: Add MemoryBlockManager class, to manage memory blocks. | bunnei | 2020-04-17 | 2 | -0/+254 |
| | |||||
* | kernel: memory: Add PageHeap class, to manage a heap of pages. | bunnei | 2020-04-17 | 2 | -0/+481 |
| | |||||
* | kernel: memory: Add PageLinkedList class, to manage a list of pages. | bunnei | 2020-04-17 | 1 | -0/+93 |
| | |||||
* | kernel: memory: Add system_control code, which will be used for ASLR support. | bunnei | 2020-04-17 | 2 | -0/+59 |
| | |||||
* | kernel: memory: Add MemoryBlock class, for managing memory blocks and their state. | bunnei | 2020-04-17 | 1 | -0/+315 |
| | |||||
* | kernel: memory: Add memory_types.h, for things that are commonly used in memory code. | bunnei | 2020-04-17 | 1 | -0/+18 |
| | |||||
* | kernel: memory: Add SlabHeap class, for managing memory heaps. | bunnei | 2020-04-17 | 1 | -0/+161 |
| | | | | - This will be used for TLS pages, among other things. | ||||
* | kernel: memory: Add AddressSpaceInfo class, for managing the memory address space. | bunnei | 2020-04-17 | 2 | -0/+164 |