Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |